fgfgd
Some checks failed
/ non-lab (push) Failing after 1m11s

This commit is contained in:
Chris Cowley 2024-09-02 16:30:54 +02:00
parent df95b251e4
commit a10e42d448

View file

@ -21,15 +21,19 @@ jobs:
/tmp/install-opentofu.sh --install-method deb
rm -f /tmp/install-opentofu.sh
#- uses: https://code.lab.cowley.tech/homelab/forgejo-opentofu-runner@main
- name: Setup Kubernetes client
run: |
export KUBE_CONFIG_PATH="/tmp/kubeconfig"
export B2_APPLICATION_KEY_ID=${{ secrets.B2_APPLICATION_KEY_ID }}
export B2_APPLICATION_KEY=${{ secrets.B2_APPLICATION_KEY }}
echo ${{ secrets.KUBE_CONFIG_BASE64 }} | base64 -d > ${KUBE_CONFIG_PATH}
# - name: Setup Kubernetes client
# run: |
# export KUBE_CONFIG_PATH="/tmp/kubeconfig"
# echo ${{ secrets.KUBE_CONFIG_BASE64 }} | base64 -d > ${KUBE_CONFIG_PATH}
# export B2_APPLICATION_KEY_ID=${{ secrets.B2_APPLICATION_KEY_ID }}
# export B2_APPLICATION_KEY=${{ secrets.B2_APPLICATION_KEY }}
- name: Tofu init
working-directory: ${{ github.workspace }}/non-lab
run: |
export KUBE_CONFIG_PATH="/tmp/kubeconfig"
echo ${{ secrets.KUBE_CONFIG_BASE64 }} | base64 -d > ${KUBE_CONFIG_PATH}
export B2_APPLICATION_KEY_ID=${{ secrets.B2_APPLICATION_KEY_ID }}
export B2_APPLICATION_KEY=${{ secrets.B2_APPLICATION_KEY }}
tofu init
- name: Tofu Plan
working-directory: ${{ github.workspace }}/non-lab