Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: switch to use new pipeline trigger by prow in branch 7.5 #3135

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-7.5') }
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-7.5') }
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-7.5') }
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-7.5') }
ghprbBranch { branch('release-8.1') }
ghprbBranch { branch('release-8.2') }
ghprbBranch { branch('release-8.3') }
Expand Down
26 changes: 12 additions & 14 deletions prow-jobs/pingcap/tiflash/release-7.5-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,20 @@ presubmits:
- name: pingcap/tiflash/release-7.5/pull_unit_test
agent: jenkins
decorate: false # need add this.
always_run: false
# skip_if_only_changed: *skip_if_only_changed
context: wip/pull-unit-test
skip_report: true # need change this after test pass.
optional: true # need change this after test pass.
trigger: "(?m)^/debug (?:.*? )?(pull-unit-test)(?: .*?)?$"
rerun_command: "/debug pull-unit-test"
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-7.5/pull_integration_test
agent: jenkins
decorate: false # need add this.
always_run: false
# skip_if_only_changed: *skip_if_only_changed
context: wip/pull-integration-test
skip_report: true # need change this after test pass.
optional: true # need change this after test pass.
trigger: "(?m)^/debug (?:.*? )?(pull-integration-test)(?: .*?)?$"
rerun_command: "/debug pull-integration-test"
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-7.5-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ presubmits:
- name: tikv/tikv/release-7.5/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-7.5/pull_integration_test
agent: jenkins
Expand Down