Skip to content

Commit

Permalink
Backport of Init 1.6 weekly tests into release/1.6.x (#4337)
Browse files Browse the repository at this point in the history
* backport of commit 74b7ef0

* backport of commit 2e6af32

---------

Co-authored-by: Sarah Alsmiller <[email protected]>
Co-authored-by: sarahalsmiller <[email protected]>
  • Loading branch information
3 people authored Sep 19, 2024
1 parent db75370 commit 0def2f7
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/weekly-acceptance-1-6-x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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-6-x
on:
schedule:
# * is a special character in YAML so you have to quote this string
# Run weekly on Friday at 3AM UTC/11PM EST/8PM PST
- cron: '0 3 * * 6'

# these should be the only settings that you will ever need to change
env:
BRANCH: "release/1.6.x"
CONTEXT: "weekly"

jobs:
cloud:
name: cloud
runs-on: ubuntu-latest
steps:
- uses: benc-uk/workflow-dispatch@25b02cc069be46d637e8fe2f1e8484008e9e9609 # v1.2.3
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 0def2f7

Please sign in to comment.