-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix canary execution during prod release (#3575)
The new canary secrets weren't being propagated from the root prod release workflow into the CI workflow, so the canary was failing. This PR propagates those secrets, and also makes it possible to run the full CI workflow in a dry-run release so that it's possible to test in the future. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
- Loading branch information
Showing
4 changed files
with
56 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# This workflow performs a scheduled dry-run for smithy-rs release. | ||
# When run, it only produces release artifacts, but will not cut a release tag in GitHub or publish to crates.io. | ||
|
||
name: Scheduled smithy-rs dry-run release | ||
run-name: ${{ github.workflow }} | ||
on: | ||
schedule: | ||
# Runs 00:00 UTC every day | ||
- cron: 0 0 * * * | ||
|
||
jobs: | ||
smithy-rs-scheduled-dry-run-release: | ||
name: Scheduled dry-run release | ||
uses: ./.github/workflows/release.yml | ||
with: | ||
commit_sha: main | ||
dry_run: true | ||
skip_ci: true | ||
secrets: | ||
RELEASE_AUTOMATION_BOT_PAT: ${{ secrets.RELEASE_AUTOMATION_BOT_PAT }} | ||
RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN: ${{ secrets.RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN }} | ||
CANARY_GITHUB_ACTIONS_ROLE_ARN: ${{ secrets.CANARY_GITHUB_ACTIONS_ROLE_ARN }} | ||
CANARY_STACK_CDK_OUTPUTS_BUCKET_NAME: ${{ secrets.CANARY_STACK_CDK_OUTPUTS_BUCKET_NAME }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters