Merge pull request #3230 from Opetushallitus/tor-2262-ib-kali #2289
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: Test, build and deploy master | |
on: | |
push: | |
branches: | |
- master | |
env: | |
DOCKER_BUILDKIT: 1 | |
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | |
TZ: Europe/Helsinki | |
jobs: | |
tests: | |
name: "👀 Tests" | |
uses: ./.github/workflows/all_tests.yml | |
publish_image: | |
name: Publish Koski Docker Image and package | |
needs: [tests] | |
uses: ./.github/workflows/publish_image.yml | |
with: | |
commithash: ${{ github.sha }} | |
secrets: inherit | |
deploy_dev: | |
name: Deploy to dev environment | |
needs: [publish_image] | |
uses: ./.github/workflows/deploy_koski.yml | |
with: | |
environment: dev | |
commithash: ${{ github.sha }} | |
secrets: inherit | |
deploy_qa: | |
name: Deploy to qa environment | |
needs: [deploy_dev] | |
uses: ./.github/workflows/deploy_koski.yml | |
with: | |
environment: qa | |
commithash: ${{ github.sha }} | |
secrets: inherit | |
deploy_prod: | |
name: Deploy to prod environment | |
needs: [ deploy_qa ] | |
uses: ./.github/workflows/deploy_koski.yml | |
with: | |
environment: prod | |
commithash: ${{ github.sha }} | |
secrets: inherit |