Skip to content

Commit

Permalink
added pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Tope Emmanuel committed Sep 18, 2023
1 parent 7a99e80 commit da87c3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,12 +349,14 @@ jobs:
steps:
- name: Set matrix environments (Push to master)
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push'
run: |
echo "MATRIX_ENVIRONMENTS={\"environment\":[\"Development\" , \"Staging\",\"Production\"]}" >> $GITHUB_ENV
echo "MATRIX_AKS_ENVIRONMENTS={\"environment\":[\"development\"]}" >> $GITHUB_ENV
- name: Set matrix environments ( Review)
# if: github.event_name == 'pull_request' && github.ref != 'refs/heads/master'
if: github.event_name == 'pull_request'
run: |
echo "MATRIX_ENVIRONMENTS={\"environment\":[\"Review\"]}" >> $GITHUB_ENV
echo "MATRIX_AKS_ENVIRONMENTS={\"environment\":[\"review\"]}" >> $GITHUB_ENV
Expand Down Expand Up @@ -631,7 +633,7 @@ jobs:
owasp:
name: 'OWASP Test'
runs-on: ubuntu-latest
needs: [ deployments_aks ]
needs: [ deployments ]
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions terraform/aks/config/review.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"enable_monitoring": false,
"deploy_redis": false,
"deploy_postgres": false,
"key_vault_name": "s189t01-gse-dv-app-kv",
"key_vault_name": "s189t01-gse-rv-app-kv",
"infra_key_vault_name": "s189t01-gse-rv-inf-kv",
"key_vault_resource_group": "s189t01-gse-dv-rg",
"key_vault_resource_group": "s189t01-gse-rv-rg",
"review_db_dbname": "review-db-name",
"review_db_hostname": "review-db-host",
"review_db_username": "review-db-username",
Expand Down

0 comments on commit da87c3f

Please sign in to comment.