parent
df95b251e4
commit
a10e42d448
1 changed files with 10 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue