Skip to content

Commit

Permalink
Merge 1692351 into backport/activate-1-2-x-weekly-acceptance/reasonab…
Browse files Browse the repository at this point in the history
…ly-model-labrador
  • Loading branch information
hc-github-team-consul-core authored Jun 8, 2023
2 parents bae5406 + 1692351 commit e3db409
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 e3db409

Please sign in to comment.