Skip to content

Commit c8570b3

Browse files
committed
Add two cluster tests to nightly runs
1 parent 7f2ee81 commit c8570b3

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/nightly-tests.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Long Running Nightly Tests
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
workflow_dispatch:
6+
7+
# Get target and source branch from different variables depending on how it was triggered
8+
env:
9+
TARGET_BRANCH: '${{ github.event.inputs.target-branch || github.base_ref }}'
10+
SOURCE_BRANCH: '${{ github.event.inputs.source-branch || github.head_ref }}'
11+
12+
jobs:
13+
integration-tests:
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
jankyJobName:
18+
- enterprise2-backup-utils-cluster-binary-backup
19+
- enterprise2-backup-utils-cluster-migration
20+
steps:
21+
- uses: actions/checkout@v3
22+
with:
23+
fetch-depth: 1
24+
- name: Queue ${{ matrix.jankyJobName }} build
25+
uses: ./.github/actions/proxy-janky-build
26+
id: proxy-janky-build
27+
with:
28+
janky-token: '${{ secrets.API_AUTH_TOKEN }}'
29+
job-name: '${{ matrix.jankyJobName }}'
30+
branch-name: '${{ github.ref_name }}'
31+
force : "true"
32+
# enterprise2 target branch is same as target branch for PR (either master or enterprise-[0-9]*.[0-9]*-release)
33+
envVars: "JANKY_ENV_BACKUP_UTILS_BRANCH=${{ github.ref_name }},JANKY_ENV_ENTERPRISE2_BRANCH=${{ github.ref_name }}"

0 commit comments

Comments
 (0)