Skip to content

Commit

Permalink
IS-1921: Deploy v2 (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersrognstad authored Feb 16, 2024
1 parent 0f83a86 commit 78b0e09
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ jobs:
apply-alerts:
name: Apply alerts to cluster
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: deploy to prod
uses: nais/deploy/actions/deploy@v1
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: .nais/alerts.yaml
15 changes: 7 additions & 8 deletions .github/workflows/kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- '.github/workflows/kafka.yaml'
- '.nais/kafka/**'

permissions:
id-token: write

jobs:
deploy-kafka-dev:
name: Deploy Kafka topic to NAIS dev-gcp
Expand All @@ -16,17 +19,15 @@ jobs:
- uses: actions/checkout@v4

- name: Deploy behandler-dialogmelding-bestilling dev
uses: nais/deploy/actions/deploy@v1
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: .nais/kafka/behandler-dialogmelding-bestilling.yaml
VARS: .nais/kafka/dev.json

- name: Deploy behandler-dialogmelding-status dev
uses: nais/deploy/actions/deploy@v1
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: .nais/kafka/behandler-dialogmelding-status.yaml
VARS: .nais/kafka/dev.json
Expand All @@ -39,17 +40,15 @@ jobs:
- uses: actions/checkout@v4

- name: Deploy behandler-dialogmelding-bestilling prod
uses: nais/deploy/actions/deploy@v1
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: .nais/kafka/behandler-dialogmelding-bestilling.yaml
VARS: .nais/kafka/prod.json

- name: Deploy behandler-dialogmelding-status prod
uses: nais/deploy/actions/deploy@v1
uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: .nais/kafka/behandler-dialogmelding-status.yaml
VARS: .nais/kafka/prod.json

0 comments on commit 78b0e09

Please sign in to comment.