This commit is contained in:
parent
a325ba8f78
commit
6e729575ec
1 changed files with 9 additions and 6 deletions
|
@ -13,20 +13,23 @@ jobs:
|
||||||
with:
|
with:
|
||||||
sparse-checkout: |
|
sparse-checkout: |
|
||||||
non-lab
|
non-lab
|
||||||
- name: Setup OpenTofu
|
# - name: Setup OpenTofu
|
||||||
run: |
|
# run: |
|
||||||
curl -fsSl https://get.opentofu.org/install-opentofu.sh -o /tmp/install-opentofu.sh
|
# curl -fsSl https://get.opentofu.org/install-opentofu.sh -o /tmp/install-opentofu.sh
|
||||||
chmod +x /tmp/install-opentofu.sh
|
# chmod +x /tmp/install-opentofu.sh
|
||||||
/tmp/install-opentofu.sh --install-method deb
|
# /tmp/install-opentofu.sh --install-method deb
|
||||||
rm -f /tmp/install-opentofu.sh
|
# rm -f /tmp/install-opentofu.sh
|
||||||
- name: Setup Kubernetes client
|
- name: Setup Kubernetes client
|
||||||
|
uses: https://code.lab.cowley.tech/homelab/forgejo-opentofu-runner@main
|
||||||
run: |
|
run: |
|
||||||
export B2_APPLICATION_KEY=${{ secrets.B2_APPLICATION_KEY }}
|
export B2_APPLICATION_KEY=${{ secrets.B2_APPLICATION_KEY }}
|
||||||
echo ${{ env.B2_APPLICATION_KEY_ID}}
|
echo ${{ env.B2_APPLICATION_KEY_ID}}
|
||||||
- name: Tofu init
|
- name: Tofu init
|
||||||
|
uses: https://code.lab.cowley.tech/homelab/forgejo-opentofu-runner@main
|
||||||
working-directory: ${{ github.workspace }}/non-lab
|
working-directory: ${{ github.workspace }}/non-lab
|
||||||
run: |
|
run: |
|
||||||
export KUBE_CONFIG_PATH="/tmp/kubeconfig"
|
export KUBE_CONFIG_PATH="/tmp/kubeconfig"
|
||||||
echo ${{ secrets.KUBE_CONFIG_BASE64 }} | base64 -d > ${KUBE_CONFIG_PATH}
|
echo ${{ secrets.KUBE_CONFIG_BASE64 }} | base64 -d > ${KUBE_CONFIG_PATH}
|
||||||
tofu init
|
tofu init
|
||||||
- run: echo ${B2_APPLICATION_KEY_ID}
|
- run: echo ${B2_APPLICATION_KEY_ID}
|
||||||
|
uses: https://code.lab.cowley.tech/homelab/forgejo-opentofu-runner@main
|
||||||
|
|
Loading…
Add table
Reference in a new issue