From 93000ab7aca02c6c215d27d696efa51496ecf256 Mon Sep 17 00:00:00 2001 From: Ramin Esfandiari Date: Mon, 11 Nov 2024 08:21:45 +0100 Subject: [PATCH] Aktiverer deployment til dev-gcp. --- .github/workflows/build.yaml | 44 ++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index cf81244bb8..1eda2d9be7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -72,28 +72,28 @@ jobs: image_version: ${{ needs.build-app.outputs.build-version }} -# deploy-dev: -# name: Deploy dev -# permissions: -# id-token: write -# contents: write -# # Multiline if condition with pipe must be defined without using ${{ }} around the expressions -# # bruker always() for å tvinge if'en til å kjøre selv om verdikjedetest feiler pga needs - dette fordi noen av verdikjede suitene er ikke påkrevd for deploy -# if: | -# github.ref_name == 'master' -# && always() -# && needs.verdikjede-tester.outputs.pleiepenger == 'success' -# && needs.verdikjede-tester.outputs.livetssluttfase == 'success' -# && needs.verdikjede-tester.outputs.annet == 'success' -# && needs.verdikjede-tester.outputs.frontend == 'success' -# needs: [build-app, verdikjede-tester] -# uses: navikt/sif-gha-workflows/.github/workflows/maven-deploy.yml@main -# with: -# gar: true -# image: ${{ needs.build-app.outputs.build-version }} -# cluster: dev-gcp -# naiserator_file: deploy/dev-gcp.yml -# secrets: inherit + deploy-dev: + name: Deploy dev + permissions: + id-token: write + contents: write + # Multiline if condition with pipe must be defined without using ${{ }} around the expressions + # bruker always() for å tvinge if'en til å kjøre selv om verdikjedetest feiler pga needs - dette fordi noen av verdikjede suitene er ikke påkrevd for deploy + if: | + github.ref_name == 'master' + && always() + && needs.verdikjede-tester.outputs.pleiepenger == 'success' + && needs.verdikjede-tester.outputs.livetssluttfase == 'success' + && needs.verdikjede-tester.outputs.annet == 'success' + && needs.verdikjede-tester.outputs.frontend == 'success' + needs: [build-app, verdikjede-tester] + uses: navikt/sif-gha-workflows/.github/workflows/maven-deploy.yml@main + with: + gar: true + image: ${{ needs.build-app.outputs.build-version }} + cluster: dev-gcp + naiserator_file: deploy/dev-gcp.yml + secrets: inherit # check-change-compat-typescript-client: # name: Change and compatibility check typescript client