Skip to content

Commit

Permalink
feat: adding tools environment as an option for deployment (#1198)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Feb 13, 2024
1 parent 31c4299 commit 115c851
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: "Deployment environment - test --> vault secrets"
required: true
type: choice
options: ["test"]
options: ["test","tools"]
default: "test"


Expand All @@ -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)
Expand All @@ -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"

0 comments on commit 115c851

Please sign in to comment.