Skip to content

Commit

Permalink
Merge branch 'main' into helm-tagging3
Browse files Browse the repository at this point in the history
  • Loading branch information
P0NDER0SA authored Jan 9, 2025
2 parents 0c72f97 + 94c440c commit d2904f8
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 4 deletions.
27 changes: 27 additions & 0 deletions .github/actions/call-manifests-update-docker-tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Call Manifests Update Docker Tag

on:
workflow_dispatch:

jobs:
update-docker-tag-in-manifests:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set Docker Tag
run: echo "DOCKER_TAG=${GITHUB_SHA::7}" >> $GITHUB_ENV
env:
GITHUB_SHA: ${{ github.sha }}

- name: Trigger repository_dispatch
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.MANIFESTS_WORKFLOW_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/cds-snc/notification-manifests/dispatches \
-d '{"event_type":"update-docker-image","client_payload":{"component":"API","docker_tag":"${{ env.DOCKER_TAG }}"}}'
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Werkzeug = "3.0.4"
MarkupSafe = "2.1.5"
# REVIEW: v2 is using sha512 instead of sha1 by default (in v1)
itsdangerous = "2.2.0"
notifications-utils = { git = "https://github.com/cds-snc/notifier-utils.git", branch = "task/pre-3.12-recipient-csv-annual-limit-validation-MERGE_IN_TO_MAIN"}
notifications-utils = { git = "https://github.com/cds-snc/notifier-utils.git", tag = "53.1.0" }

# rsa = "4.9 # awscli 1.22.38 depends on rsa<4.8
typing-extensions = "4.12.2"
Expand Down

0 comments on commit d2904f8

Please sign in to comment.