From f6c18c6955756207d75447c46b568cbcf5ab8205 Mon Sep 17 00:00:00 2001 From: Chris Cowley <1736762+chriscowley@users.noreply.github.com> Date: Mon, 2 Sep 2024 11:41:21 +0200 Subject: [PATCH] hmm --- .forgejo/workflows/non-lab.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/non-lab.yml b/.forgejo/workflows/non-lab.yml index 21f7f78..44288ab 100644 --- a/.forgejo/workflows/non-lab.yml +++ b/.forgejo/workflows/non-lab.yml @@ -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}