From 434770ea758128fa6d929098bcd11582ea07fa76 Mon Sep 17 00:00:00 2001 From: ximon18 <3304436+ximon18@users.noreply.github.com> Date: Mon, 11 Nov 2019 13:39:12 +0100 Subject: [PATCH] GitHub Actions: FIX: don't cause accidental Droplet resize Missing TF_VAR_size env var in test run step causes Terraform to trigger a Digital Ocean Droplet resize. --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3dfe258b..190a8676 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,6 +4,9 @@ on: [push, pull_request, issue_comment] jobs: krill_e2e_test: + env: + TF_VAR_size: s-8vcpu-32gb + name: deploy_and_test runs-on: ubuntu-18.04 steps: @@ -56,7 +59,6 @@ jobs: # pass those using -var on the command line. TF_VAR_do_token: ${{ secrets.DO_TOKEN }} TF_VAR_run_tests: false - TF_VAR_size: s-8vcpu-32gb - name: Run tests working-directory: ../rpki-deploy/terraform/krill-e2e-test/run_on_do