Skip to content

Commit

Permalink
Aktiverer deployment til dev-gcp.
Browse files Browse the repository at this point in the history
  • Loading branch information
ramrock93 committed Nov 11, 2024
1 parent c64ec9e commit 93000ab
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93000ab

Please sign in to comment.