parent
7291552ff3
commit
f6c18c6955
1 changed files with 12 additions and 2 deletions
|
@ -14,7 +14,17 @@ jobs:
|
|||
sparse-checkout: |
|
||||
non-lab
|
||||
- name: Setup OpenTofu
|
||||
run: curl -fsSl https://get.opentofu.org/install-opentofu.sh -o /tmp/install-opentofu.sh; chmod +x /tmp/install-opentofu.sh; /tmp/install-opentofu.sh --install-method deb; rm -f /tmp/install-opentofu.sh
|
||||
run: |
|
||||
curl -fsSl https://get.opentofu.org/install-opentofu.sh -o /tmp/install-opentofu.sh
|
||||
chmod +x /tmp/install-opentofu.sh
|
||||
/tmp/install-opentofu.sh --install-method deb
|
||||
rm -f /tmp/install-opentofu.sh
|
||||
- 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=${{ secrets.B2_APPLICATION_KEY }}
|
||||
- name: Tofu init
|
||||
working-directory: ${{ github.workspace }}/non-lab
|
||||
run: pwd; tofu init; ls -la
|
||||
run: tofu init
|
||||
- run: echo ${B2_APPLICATION_KEY_ID}
|
||||
|
|
Loading…
Add table
Reference in a new issue