Skip to content

Commit

Permalink
Switch Mabl workspace (#437)
Browse files Browse the repository at this point in the history
* Remove nais deploy key

This repository is trusted by nais so we don't
need the key anymore.

* Give GHA id-token permission

* Use ssb.no domain name
  • Loading branch information
mmwinther authored Nov 12, 2024
1 parent d01edb1 commit af06d3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,13 @@ jobs:
name: Deploy to NAIS
runs-on: ubuntu-latest
needs: docker-build
permissions:
contents: "read"
id-token: "write"
steps:
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v2
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: test
RESOURCE: .nais/test-pr.yaml
VAR: image=${{ needs.docker-build.outputs.image-tag }},pr-number=${{github.event.number}}
Expand All @@ -102,6 +104,6 @@ jobs:
with:
application-id: ${{ secrets.DATADOC_MABL_APPLICATION_ID }}
environment-id: ${{ secrets.DATADOC_MABL_ENVIRONMENT_ID }}
uri: https://datadoc-pr-${{github.event.number}}.external.test.ssb.cloud.nais.io
uri: https://datadoc-pr-${{github.event.number}}.test.ssb.no
mabl-branch: ${{ github.head_ref }}
plan-labels: Datadoc
2 changes: 1 addition & 1 deletion .nais/test-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
enabled: false

ingresses:
- https://datadoc-pr-{{ pr-number }}.external.test.ssb.cloud.nais.io
- https://datadoc-pr-{{ pr-number }}.test.ssb.no

filesFrom:
- configmap: integration-test-dataset
Expand Down

0 comments on commit af06d3d

Please sign in to comment.