Skip to content

Commit

Permalink
Oppdater github workflow (#265)
Browse files Browse the repository at this point in the history
* Oppdater github workflow

* Oppdater github workflow
  • Loading branch information
ugur93 authored Oct 31, 2023
1 parent cb4a328 commit 56bc8e0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy_feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ env:

jobs:
build-deploy:
name: "Build and deploy to feature"
name: "Build and deploy"
permissions:
contents: "read"
id-token: "write"
uses: navikt/bidrag-workflow/.github/workflows/deploy_feature.yaml@main
uses: navikt/bidrag-workflow/.github/workflows/deploy.yaml@main
secrets: inherit

run_cucumber_tests:
runs-on: ubuntu-latest
name: Run cucumber tests
needs: build-deploy
if: ${{ always() && needs.build-deploy.outputs.deploy_suksess == 'true' }}

env:
INGRESS_CUCUMBER: https://bidrag-cucumber-cloud-feature.ekstern.dev.nav.no
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,20 @@ env:

jobs:
build-deploy:
name: "Build and deploy to main"
name: "Build and deploy"
permissions:
contents: "read"
id-token: "write"
uses: navikt/bidrag-workflow/.github/workflows/deploy_main.yaml@main
uses: navikt/bidrag-workflow/.github/workflows/deploy.yaml@main
secrets: inherit
with:
nais_variabler_filnavn: main.yaml

run_cucumber_tests:
runs-on: ubuntu-latest
name: Run cucumber tests
needs: build-deploy
if: ${{ always() && needs.build-deploy.outputs.deploy_suksess == 'true' }}

env:
INGRESS_CUCUMBER: https://bidrag-cucumber-cloud.ekstern.dev.nav.no
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
permissions:
contents: "write"
id-token: "write"
uses: navikt/bidrag-workflow/.github/workflows/release.yaml@main
uses: navikt/bidrag-workflow/.github/workflows/deploy_prod.yaml@main
secrets: inherit

0 comments on commit 56bc8e0

Please sign in to comment.