From 687c1db0f9441a35cd81aa64bbe7d3af62e3d95e Mon Sep 17 00:00:00 2001 From: Sarah Alsmiller Date: Wed, 18 Sep 2024 16:21:16 +0000 Subject: [PATCH 1/2] backport of commit 74b7ef0c1c1492e230c4b2eb1b8f10aa7b4abdcd --- .github/workflows/weekly-acceptance-1-6-x.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/weekly-acceptance-1-6-x.yml diff --git a/.github/workflows/weekly-acceptance-1-6-x.yml b/.github/workflows/weekly-acceptance-1-6-x.yml new file mode 100644 index 0000000000..a55e19c505 --- /dev/null +++ b/.github/workflows/weekly-acceptance-1-6-x.yml @@ -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-5-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 }}" }' From 4cdc3d1ce75989f6f1b0dc6ccab8261cfea5749e Mon Sep 17 00:00:00 2001 From: sarahalsmiller <100602640+sarahalsmiller@users.noreply.github.com> Date: Wed, 18 Sep 2024 16:26:35 +0000 Subject: [PATCH 2/2] backport of commit 2e6af32d6c787af30028a71376bb2e90d4a6c4b3 --- .github/workflows/weekly-acceptance-1-6-x.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weekly-acceptance-1-6-x.yml b/.github/workflows/weekly-acceptance-1-6-x.yml index a55e19c505..cb75d883f4 100644 --- a/.github/workflows/weekly-acceptance-1-6-x.yml +++ b/.github/workflows/weekly-acceptance-1-6-x.yml @@ -1,7 +1,7 @@ # 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-5-x +name: weekly-acceptance-1-6-x on: schedule: # * is a special character in YAML so you have to quote this string