-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tiflash&tikv): split release 8.5 jobs for tiflash and tikv (#3197)
split release 8.5 jobs for tiflash and tikv. --------- Signed-off-by: purelind <purelind@gmail.com>
- Loading branch information
Showing
23 changed files
with
2,524 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
folder('pingcap/tiflash/release-8.5') { | ||
description("Folder for pipelines of pingcap/tiflash repo for v8.5") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html | ||
// For release-8.5 branches. | ||
pipelineJob('pingcap/tiflash/release-8.5/merged_build') { | ||
logRotator { | ||
daysToKeep(30) | ||
} | ||
parameters { | ||
// Ref: https://docs.prow.k8s.io/docs/jobs/#job-environment-variables | ||
stringParam("BUILD_ID") | ||
stringParam("PROW_JOB_ID") | ||
stringParam("JOB_SPEC") | ||
} | ||
properties { | ||
// priority(0) // 0 fast than 1 | ||
githubProjectUrl("https://github.com/pingcap/tiflash") | ||
} | ||
|
||
definition { | ||
cpsScm { | ||
lightweight(true) | ||
scriptPath("pipelines/pingcap/tiflash/release-8.5/merged_build.groovy") | ||
scm { | ||
git{ | ||
remote { | ||
url('https://github.com/PingCAP-QE/ci.git') | ||
} | ||
branch('main') | ||
extensions { | ||
cloneOptions { | ||
depth(1) | ||
shallow(true) | ||
timeout(5) | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html | ||
// For release-8.5 branches. | ||
pipelineJob('pingcap/tiflash/release-8.5/merged_unit_test') { | ||
logRotator { | ||
daysToKeep(30) | ||
} | ||
parameters { | ||
// Ref: https://docs.prow.k8s.io/docs/jobs/#job-environment-variables | ||
stringParam("BUILD_ID") | ||
stringParam("PROW_JOB_ID") | ||
stringParam("JOB_SPEC") | ||
} | ||
properties { | ||
// priority(0) // 0 fast than 1 | ||
githubProjectUrl("https://github.com/pingcap/tiflash") | ||
} | ||
|
||
definition { | ||
cpsScm { | ||
lightweight(true) | ||
scriptPath("pipelines/pingcap/tiflash/release-8.5/merged_unit_test.groovy") | ||
scm { | ||
git{ | ||
remote { | ||
url('https://github.com/PingCAP-QE/ci.git') | ||
} | ||
branch('main') | ||
extensions { | ||
cloneOptions { | ||
depth(1) | ||
shallow(true) | ||
timeout(5) | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
jobs/pingcap/tiflash/release-8.5/pull_integration_test.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html | ||
// For release-8.5 branches. | ||
pipelineJob('pingcap/tiflash/release-8.5/pull_integration_test') { | ||
logRotator { | ||
daysToKeep(30) | ||
} | ||
parameters { | ||
// Ref: https://docs.prow.k8s.io/docs/jobs/#job-environment-variables | ||
stringParam("BUILD_ID") | ||
stringParam("PROW_JOB_ID") | ||
stringParam("JOB_SPEC") | ||
} | ||
properties { | ||
// priority(0) // 0 fast than 1 | ||
githubProjectUrl("https://github.com/pingcap/tiflash") | ||
} | ||
|
||
definition { | ||
cpsScm { | ||
lightweight(true) | ||
scriptPath("pipelines/pingcap/tiflash/release-8.5/pull_integration_test.groovy") | ||
scm { | ||
git{ | ||
remote { | ||
url('https://github.com/PingCAP-QE/ci.git') | ||
} | ||
branch('main') | ||
extensions { | ||
cloneOptions { | ||
depth(1) | ||
shallow(true) | ||
timeout(5) | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html | ||
// For release-8.5 branches. | ||
pipelineJob('pingcap/tiflash/release-8.5/pull_unit_test') { | ||
logRotator { | ||
daysToKeep(30) | ||
} | ||
parameters { | ||
// Ref: https://docs.prow.k8s.io/docs/jobs/#job-environment-variables | ||
stringParam("BUILD_ID") | ||
stringParam("PROW_JOB_ID") | ||
stringParam("JOB_SPEC") | ||
} | ||
properties { | ||
// priority(0) // 0 fast than 1 | ||
githubProjectUrl("https://github.com/pingcap/tiflash") | ||
} | ||
|
||
definition { | ||
cpsScm { | ||
lightweight(true) | ||
scriptPath("pipelines/pingcap/tiflash/release-8.5/pull_unit_test.groovy") | ||
scm { | ||
git{ | ||
remote { | ||
url('https://github.com/PingCAP-QE/ci.git') | ||
} | ||
branch('main') | ||
extensions { | ||
cloneOptions { | ||
depth(1) | ||
shallow(true) | ||
timeout(5) | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
folder('tikv/tikv/release-8.5') { | ||
description("Folder for pipelines of tikv/tikv repo for v8.5") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html | ||
final folder = 'tikv/tikv/release-8.5' | ||
final jobName = 'pull_unit_test' | ||
|
||
pipelineJob("${folder}/${jobName}") { | ||
logRotator { | ||
daysToKeep(30) | ||
} | ||
parameters { | ||
// Ref: https://docs.prow.k8s.io/docs/jobs/#job-environment-variables | ||
stringParam("BUILD_ID") | ||
stringParam("PROW_JOB_ID") | ||
stringParam("JOB_SPEC", "", "Prow job spec struct data") | ||
} | ||
properties { | ||
buildFailureAnalyzer(false) // disable failure analyze | ||
githubProjectUrl("https://github.com/tikv/tikv") | ||
} | ||
|
||
definition { | ||
cpsScm { | ||
lightweight(true) | ||
scriptPath("pipelines/${folder}/${jobName}.groovy") | ||
scm { | ||
git{ | ||
remote { | ||
url('https://github.com/PingCAP-QE/ci.git') | ||
} | ||
branch('main') | ||
extensions { | ||
cloneOptions { | ||
depth(1) | ||
shallow(true) | ||
timeout(5) | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.