Skip to content

chore(ci): incorporate SSM update workflow into release pipeline #6914

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/release-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -383,3 +383,15 @@ jobs:
script: |
const post_release = require('.github/scripts/post_release.js')
await post_release({github, context, core})

update_ssm:
needs: [seal, release, publish_layer]
permissions:
id-token: write
contents: read
uses: ./.github/workflows/update_ssm.yml
with:
environment: "Prod"
write_latest: true
package_version: ${{ needs.seal.outputs.RELEASE_VERSION }}
layer_version: ${{ inputs.layer_documentation_version }}
26 changes: 25 additions & 1 deletion .github/workflows/update_ssm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: SSM Parameters
run-name: SSM Parameters - Python

# SSM Parameters update
#
Expand Down Expand Up @@ -41,6 +40,31 @@ on:
type: string
required: true

workflow_call:
inputs:
environment:
description: Environment to deploy to, one of `Prod` or `Beta`
type: string
required: true

write_latest:
description: Write to the latest path
type: boolean
required: false
default: true

package_version:
description: Semantic Version of published layer
type: string
required: true

layer_version:
description: Layer version
type: string
required: true

run-name: SSM Parameters - Python - Layer version ${{ inputs.layer_version }} - v${{ inputs.package_version }}

permissions:
contents: read

Expand Down