Skip to content

Commit

Permalink
Leser secrets fra miljø (#10)
Browse files Browse the repository at this point in the history
* Aktiverer deployment til dev-gcp.

* Fjerner sjekk for verdikjede-tester.

* Venter ikke på verdikjede-tester

* Disabler deploy til dev-gcp.
  • Loading branch information
ramrock93 authored Nov 11, 2024
1 parent 45dd598 commit 3ee7007
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,8 @@ jobs:
# 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]
# if: github.ref_name == 'master'
# needs: [build-app]
# uses: navikt/sif-gha-workflows/.github/workflows/maven-deploy.yml@main
# with:
# gar: true
Expand Down
2 changes: 2 additions & 0 deletions deploy/dev-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ spec:
databases:
- name: ung-sak
envVarPrefix: DB
envFrom:
- secret: ung-sak-secrets
env:
- name: TZ
value: "Europe/Oslo"
Expand Down
2 changes: 2 additions & 0 deletions deploy/prod-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ spec:
databases:
- name: ung-sak
envVarPrefix: DB
envFrom:
- secret: ung-sak-secrets
env:
- name: TZ
value: "Europe/Oslo"
Expand Down

0 comments on commit 3ee7007

Please sign in to comment.