Skip to content

Commit

Permalink
feat: switch to use new pipeline trigger by prow in branch 8.1 (#3116)
Browse files Browse the repository at this point in the history
Swtich to use new pipeline trigger by prow in tikv & tiflash branch
release-8.1
  • Loading branch information
purelind authored Sep 10, 2024
1 parent a57e3a0 commit 47fa00a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 16 deletions.
1 change: 1 addition & 0 deletions jenkins/jobs/ci/tiflash/ghpr_build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ pipelineJob('tiflash-ghpr-build') {
orgslist('pingcap')
blackListTargetBranches {
ghprbBranch { branch('master') }
ghprbBranch { branch('release-8.1') }
ghprbBranch { branch('release-8.2') }
ghprbBranch { branch('release-8.3') }
}
Expand Down
1 change: 1 addition & 0 deletions jenkins/jobs/ci/tiflash/ghpr_integration_test.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ pipelineJob('tiflash-ghpr-integration-tests') {
orgslist('pingcap')
blackListTargetBranches {
ghprbBranch { branch('master') }
ghprbBranch { branch('release-8.1') }
ghprbBranch { branch('release-8.2') }
ghprbBranch { branch('release-8.3') }
}
Expand Down
1 change: 1 addition & 0 deletions jenkins/jobs/ci/tiflash/ghpr_unit_test.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ pipelineJob('tiflash-ghpr-unit-tests') {
orgslist('pingcap')
blackListTargetBranches {
ghprbBranch { branch('master') }
ghprbBranch { branch('release-8.1') }
ghprbBranch { branch('release-8.2') }
ghprbBranch { branch('release-8.3') }
}
Expand Down
1 change: 1 addition & 0 deletions jenkins/jobs/ci/tikv/tikv/ghpr_test.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pipelineJob('tikv_ghpr_test') {
orgslist('pingcap tikv')
blackListTargetBranches {
ghprbBranch { branch('master') }
ghprbBranch { branch('release-8.1') }
ghprbBranch { branch('release-8.2') }
ghprbBranch { branch('release-8.3') }
}
Expand Down
18 changes: 8 additions & 10 deletions prow-jobs/pingcap/tiflash/release-8.1-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,20 @@ presubmits:
- name: pingcap/tiflash/release-8.1/pull_unit_test
agent: jenkins
decorate: false # need add this.
# skip_if_only_changed: *skip_if_only_changed
always_run: false
context: wip/pull-unit-test
skip_report: true
optional: true
skip_if_only_changed: *skip_if_only_changed
context: pull-unit-test
skip_report: false
optional: false
trigger: "(?m)^/test (?:.*? )?(pull-unit-test)(?: .*?)?$"
rerun_command: "/test pull-unit-test"
branches: *branches
- name: pingcap/tiflash/release-8.1/pull_integration_test
agent: jenkins
decorate: false # need add this.
# skip_if_only_changed: *skip_if_only_changed
always_run: false
context: wip/pull-integration-test
skip_report: true
optional: true
skip_if_only_changed: *skip_if_only_changed
context: pull-integration-test
skip_report: false
optional: false
trigger: "(?m)^/test (?:.*? )?(pull-integration-test)(?: .*?)?$"
rerun_command: "/test pull-integration-test"
branches: *branches
12 changes: 6 additions & 6 deletions prow-jobs/tikv/tikv/release-8.1-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ presubmits:
- name: tikv/tikv/release-8.1/pull_unit_test
agent: jenkins
decorate: false # need add this.
always_run: false # update here after test passed
optional: true # update here after test passed
skip_report: true # update here after test passed
context: wip/pull-unit-test
trigger: "(?m)^/debug (?:.*? )?pull-unit-test(?: .*?)?$"
rerun_command: "/debug pull-unit-test"
always_run: true
optional: false
skip_report: false
context: pull-unit-test
trigger: "(?m)^/test (?:.*? )?pull-unit-test(?: .*?)?$"
rerun_command: "/test pull-unit-test"
branches: *branches
- name: tikv/tikv/release-8.1/pull_integration_test
agent: jenkins
Expand Down

0 comments on commit 47fa00a

Please sign in to comment.