-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
activated weekly acceptance tests for 1-2-x (#2315)
- making this trigger nightly until after 1.2.0 GA - leaving 0.49.x active until after 1.2.0 GA
- Loading branch information
1 parent
1ed3306
commit e36beef
Showing
1 changed file
with
30 additions
and
0 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,30 @@ | ||
# Dispatch to the consul-k8s-workflows with a weekly cron | ||
# | ||
# A separate file is needed for each release because the cron schedules are different for each release. | ||
name: weekly-acceptance-1-2-x | ||
on: | ||
schedule: | ||
# * is a special character in YAML so you have to quote this string | ||
# Run weekly on Wednesday at 3AM UTC/11PM EST/8PM PST | ||
# - cron: '0 3 * * 3' | ||
- cron: '0 0 * * *' # Temporarily nightly until 1.2.0 GA | ||
|
||
|
||
# these should be the only settings that you will ever need to change | ||
env: | ||
BRANCH: "release/1.2.x" | ||
CONTEXT: "weekly" | ||
|
||
jobs: | ||
cloud: | ||
name: cloud | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: benc-uk/workflow-dispatch@798e70c97009500150087d30d9f11c5444830385 # v1.2.2 | ||
name: cloud | ||
with: | ||
workflow: cloud.yml | ||
repo: hashicorp/consul-k8s-workflows | ||
ref: main | ||
token: ${{ secrets.ELEVATED_GITHUB_TOKEN }} | ||
inputs: '{ "context":"${{ env.CONTEXT }}", "repository":"${{ github.repository }}", "branch":"${{ env.BRANCH }}", "sha":"${{ github.sha }}", "token":"${{ secrets.ELEVATED_GITHUB_TOKEN }}" }' |