ci: add nodeSelector and tolerations for dedicated prod env node (#917) #2739
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build, test and deploy | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- v*.*.* | |
workflow_run: | |
workflows: [Release] | |
types: | |
- completed | |
pull_request: | |
types: [opened, reopened, synchronize, labeled] | |
workflow_dispatch: | |
# Cancel previous runs of the same workflow and PR number or branch/tag | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
call-workflow: | |
uses: dhis2-sre/gha-workflows/.github/workflows/im-build-test-deploy.yaml@master | |
with: | |
PROCESS_NAME: im-manager | |
POD_NAME: im-manager | |
secrets: | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
SOPS_KMS_ARN: ${{ secrets.SOPS_KMS_ARN }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
KUBECONFIG: ${{ secrets.KUBECONFIG }} | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |