Skip to content

Commit

Permalink
Merge pull request #43 from opencrvs/testing-infra-2
Browse files Browse the repository at this point in the history
Remove QA_ENV true from staging env
  • Loading branch information
euanmillar authored Feb 14, 2024
2 parents 12cdc94 + 0b80b6a commit 3b1280a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 53 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
secret: ${{ github.TOKEN }}
approvers: euanmillar,rikukissa
minimum-approvals: 1
issue-title: 'Deploy (Prod): core: ${{ github.event.inputs.core-image-tag }} country config: ${{ github.event.inputs.countryconfig-image-tag }}'
issue-body: 'Please approve or deny the deployment of core: ${{ github.event.inputs.core-image-tag }} country config: ${{ github.event.inputs.countryconfig-image-tag }} to production'
issue-title: 'Deploy (${{ github.event.inputs.environment }}): core: ${{ github.event.inputs.core-image-tag }} country config: ${{ github.event.inputs.countryconfig-image-tag }}'
issue-body: 'Please approve or deny the deployment of core: ${{ github.event.inputs.core-image-tag }} country config: ${{ github.event.inputs.countryconfig-image-tag }} to ${{ github.event.inputs.environment }}'
exclude-workflow-initiator-as-approver: false
- name: Clone core
uses: actions/checkout@v3
Expand Down
48 changes: 0 additions & 48 deletions .github/workflows/generate-demo-data.yml

This file was deleted.

3 changes: 0 additions & 3 deletions infrastructure/docker-compose.staging-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ services:

metrics:
environment:
- QA_ENV=true
- NODE_ENV=production
- SENTRY_DSN=${SENTRY_DSN}
- MONGO_URL=mongodb://metrics:${METRICS_MONGODB_PASSWORD}@mongo1/metrics?replicaSet=rs0
Expand All @@ -48,15 +47,13 @@ services:

auth:
environment:
- QA_ENV=true
- NODE_ENV=production
- SENTRY_DSN=${SENTRY_DSN}
deploy:
replicas: 1

user-mgnt:
environment:
- QA_ENV=true
- NODE_ENV=production
- SENTRY_DSN=${SENTRY_DSN}
- MONGO_URL=mongodb://user-mgnt:${USER_MGNT_MONGODB_PASSWORD}@mongo1/user-mgnt?replicaSet=rs0
Expand Down

0 comments on commit 3b1280a

Please sign in to comment.