Skip to content

Commit c5e145e

Browse files
committed
Deployer til dev-gcp.
Legger til write permissions for id-token i kafka.yaml.
1 parent 14f330d commit c5e145e

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

.github/workflows/build.yaml

+14-14
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,20 @@ jobs:
7272
image_version: ${{ needs.build-app.outputs.build-version }}
7373

7474

75-
# deploy-dev:
76-
# name: Deploy dev
77-
# permissions:
78-
# id-token: write
79-
# contents: write
80-
# if: github.ref_name == 'master'
81-
# needs: [build-app]
82-
# uses: navikt/sif-gha-workflows/.github/workflows/maven-deploy.yml@main
83-
# with:
84-
# gar: true
85-
# image: ${{ needs.build-app.outputs.build-version }}
86-
# cluster: dev-gcp
87-
# naiserator_file: deploy/dev-gcp.yml
88-
# secrets: inherit
75+
deploy-dev:
76+
name: Deploy dev
77+
permissions:
78+
id-token: write
79+
contents: write
80+
if: github.ref_name == 'master'
81+
needs: [build-app]
82+
uses: navikt/sif-gha-workflows/.github/workflows/maven-deploy.yml@main
83+
with:
84+
gar: true
85+
image: ${{ needs.build-app.outputs.build-version }}
86+
cluster: dev-gcp
87+
naiserator_file: deploy/dev-gcp.yml
88+
secrets: inherit
8989

9090
# check-change-compat-typescript-client:
9191
# name: Change and compatibility check typescript client

.github/workflows/kafka.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88

99
jobs:
1010
deploy-kafka-topics-dev:
11-
# permissions:
12-
# id-token: write
11+
permissions:
12+
id-token: write
1313
name: Deploy to Aiven Dev
1414
if: startsWith(github.ref, 'refs/heads/master')
1515
runs-on: ubuntu-latest
@@ -32,8 +32,8 @@ jobs:
3232
RESOURCE: deploy/kafka/ung-vedtakhendelse-dev.yml
3333

3434
deploy-kafka-topics-prod:
35-
# permissions:
36-
# id-token: write
35+
permissions:
36+
id-token: write
3737
name: Deploy to Aiven Prod
3838
if: startsWith(github.ref, 'refs/heads/master') # If the branch is master
3939
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)