Skip to content

Commit

Permalink
activated weekly acceptance tests for 1-2-x
Browse files Browse the repository at this point in the history
- making this trigger nightly until after 1.2.0 GA
- leaving 0.49.x active until after 1.2.0 GA
  • Loading branch information
wilkermichael committed Jun 8, 2023
1 parent e35eaa3 commit 1692351
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/weekly-acceptance-1-2-x.yml
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 }}" }'

0 comments on commit 1692351

Please sign in to comment.