Skip to content

Commit cc03510

Browse files
authored
Merge pull request #344 from canonical/IAM-1782-fix-promote-action
ci: use charm-deploy workflow
2 parents aa6ebd5 + 345669d commit cc03510

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/promote.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- promote-charm
6666
- revision
6767
if: ${{ (github.event.inputs.destination-channel == 'latest/edge') }}
68-
uses: ./.github/workflows/_deploy.yaml
68+
uses: canonical/identity-team/.github/workflows/charm-deploy.yaml@2a4ae518f9c792dcdf14d05f8d86e3d72e160d96 # v1.9.0
6969
secrets:
7070
CLIENT_ID: ${{ secrets.JIMM_DEV_CLIENT_ID }}
7171
CLIENT_SECRET: ${{ secrets.JIMM_DEV_CLIENT_SECRET }}
@@ -74,6 +74,7 @@ jobs:
7474
model: dev-iam
7575
revision: ${{ needs.revision.outputs.revision }}
7676
channel: ${{ github.event.inputs.destination-channel }}
77+
application: login-ui
7778

7879
stg-deploy:
7980
concurrency:
@@ -83,7 +84,7 @@ jobs:
8384
- promote-charm
8485
- revision
8586
if: ${{ (github.event.inputs.destination-channel == 'latest/stable') }}
86-
uses: ./.github/workflows/_deploy.yaml
87+
uses: canonical/identity-team/.github/workflows/charm-deploy.yaml@2a4ae518f9c792dcdf14d05f8d86e3d72e160d96 # v1.9.0
8788
secrets:
8889
CLIENT_ID: ${{ secrets.JIMM_STG_CLIENT_ID }}
8990
CLIENT_SECRET: ${{ secrets.JIMM_STG_CLIENT_SECRET }}
@@ -92,3 +93,4 @@ jobs:
9293
model: stg-iam
9394
revision: ${{ needs.revision.outputs.revision }}
9495
channel: ${{ github.event.inputs.destination-channel }}
96+
application: login-ui

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
cosl
22
ops>=2.0.0
3-
lightkube
4-
lightkube-models
3+
lightkube==0.17.2
4+
lightkube-models<1.34
55
jsonschema
66
pydantic~=2.12.0
77
tenacity~=9.1.2
88
yarl
99
dacite
10-
jinja2
10+
jinja2

0 commit comments

Comments
 (0)