From 115c851bb447532b7f799ac0e2a2f2b220139a51 Mon Sep 17 00:00:00 2001 From: cberg-aot <93226309+cberg-aot@users.noreply.github.com> Date: Tue, 13 Feb 2024 14:24:19 -0800 Subject: [PATCH] feat: adding tools environment as an option for deployment (#1198) --- .github/workflows/demo.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index aedeea3d1..6edfa05d7 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -7,7 +7,7 @@ on: description: "Deployment environment - test --> vault secrets" required: true type: choice - options: ["test"] + options: ["test","tools"] default: "test" @@ -18,13 +18,13 @@ concurrency: jobs: uninstall-demo: name: Uninstall (demo) - environment: test + environment: ${{inputs.environment}} runs-on: ubuntu-22.04 steps: - name: uninstall run: | - oc login --token=${{ secrets.oc_token }} --server=${{ vars.oc_server }} - oc project ${{ vars.OC_NAMESPACE }} # Safeguard! + oc login --token=${{ secrets.oc_token }} --server=${{ secrets.oc_server }} + oc project ${{ secrets.OC_NAMESPACE }} # Safeguard! helm uninstall onroutebc-demo || true deploy-demo: name: Deploys (demo) @@ -33,8 +33,8 @@ jobs: secrets: inherit with: autoscaling: false - environment: ${{inputs.environment}} #test env -> test database - tag: ${{inputs.environment}} + environment: ${{inputs.environment}} + tag: "test" release: "demo" vault_role: "nonprod" vault_zone: "staging"