File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change 37
37
janky-token : ' ${{ secrets.API_AUTH_TOKEN }}'
38
38
job-name : ' ${{ matrix.jankyJobName }}'
39
39
branch-name : ' ${{ env.SOURCE_BRANCH }}'
40
- force : " true"
40
+ # enterprise2 target branch is same as target branch for PR (either master or enterprise-[0-9]*.[0-9]*-release)
41
+ envVars : " JANKY_ENV_BACKUP_UTILS_BRANCH=${{ env.SOURCE_BRANCH }},JANKY_ENV_ENTERPRISE2_BRANCH=${{ env.TARGET_BRANCH }}"
42
+
43
+ # Cluster integration tests are optional based on label and PR titles
44
+ cluster-integration-tests :
45
+ runs-on : ubuntu-latest
46
+ strategy :
47
+ matrix :
48
+ jankyJobName :
49
+ - enterprise2-backup-utils-cluster-binary-backup
50
+ - enterprise2-backup-utils-cluster-migration
51
+ steps :
52
+ - uses : actions/checkout@v3
53
+ with :
54
+ fetch-depth : 1
55
+ - name : Queue ${{ matrix.jankyJobName }} build
56
+ if : |
57
+ github.event_name == 'workflow_dispatch' ||
58
+ contains(github.event.pull_request.title, '[cluster]') ||
59
+ contains(github.event.pull_request.labels.*.name, 'cluster')
60
+ uses : ./.github/actions/proxy-janky-build
61
+ id : proxy-janky-build
62
+ with :
63
+ janky-token : ' ${{ secrets.API_AUTH_TOKEN }}'
64
+ job-name : ' ${{ matrix.jankyJobName }}'
65
+ branch-name : ' ${{ env.SOURCE_BRANCH }}'
41
66
# enterprise2 target branch is same as target branch for PR (either master or enterprise-[0-9]*.[0-9]*-release)
42
67
envVars : " JANKY_ENV_BACKUP_UTILS_BRANCH=${{ env.SOURCE_BRANCH }},JANKY_ENV_ENTERPRISE2_BRANCH=${{ env.TARGET_BRANCH }}"
You can’t perform that action at this time.
0 commit comments