Skip to content

Commit

Permalink
Add dev to test promoter (#102)
Browse files Browse the repository at this point in the history
* Add dev to test bumper

* rename bump -> promote and use matrikkelbygning-dev namespace

* only set cluster, not env, due to updated workflow

* remove unused env vars
  • Loading branch information
anderssonw authored Oct 1, 2024
1 parent cc4e97f commit 0efdd0f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
image_tag: ${{ needs.build.outputs.image_tag }}
image_digest: ${{ needs.build.outputs.image_digest }}
env: dev
namespace: matrikkelbygning-main
namespace: matrikkelbygning-dev
cluster: atkv3

run-pharos:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/promote-dev-to-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Promote Version in Dev to Test
on:
workflow_dispatch:

permissions:
contents: write

jobs:
deploy:
name: Bump Version
uses: kartverket/bygning-github-workflows/.github/workflows/promote-app.yaml@main
permissions:
id-token: write
with:
application_name: bygning-backend
namespace_from: matrikkelbygning-dev
namespace_to: matrikkelbygning-test
cluster_from: atkv3-dev
cluster_to: atkv3-dev

0 comments on commit 0efdd0f

Please sign in to comment.