Skip to content

Commit

Permalink
feat: add more presubmit pipelines on 7.5 (#3058)
Browse files Browse the repository at this point in the history
add more presubmit pipelines on 7.5
  • Loading branch information
purelind authored Aug 7, 2024
1 parent ba59b92 commit d8a7ca4
Show file tree
Hide file tree
Showing 37 changed files with 2,758 additions and 0 deletions.
37 changes: 37 additions & 0 deletions jobs/pingcap/tidb/release-7.5/pull_common_test.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html
pipelineJob('pingcap/tidb/release-7.5/pull_common_test') {
logRotator {
daysToKeep(30)
}
parameters {
stringParam("BUILD_ID")
stringParam("PROW_JOB_ID")
stringParam("JOB_SPEC", "", "Prow job spec struct data")
}
properties {
// priority(0) // 0 fast than 1
githubProjectUrl("https://github.com/pingcap/tidb")
}

definition {
cpsScm {
lightweight(true)
scriptPath('pipelines/pingcap/tidb/release-7.5/pull_common_test.groovy')
scm {
git{
remote {
url('https://github.com/PingCAP-QE/ci.git')
}
branch('main')
extensions {
cloneOptions {
depth(1)
shallow(true)
timeout(5)
}
}
}
}
}
}
}
37 changes: 37 additions & 0 deletions jobs/pingcap/tidb/release-7.5/pull_e2e_test.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html
pipelineJob('pingcap/tidb/release-7.5/pull_e2e_test') {
logRotator {
daysToKeep(30)
}
parameters {
stringParam("BUILD_ID")
stringParam("PROW_JOB_ID")
stringParam("JOB_SPEC", "", "Prow job spec struct data")
}
properties {
// priority(0) // 0 fast than 1
githubProjectUrl("https://github.com/pingcap/tidb")
}

definition {
cpsScm {
lightweight(true)
scriptPath('pipelines/pingcap/tidb/release-7.5/pull_e2e_test.groovy')
scm {
git{
remote {
url('https://github.com/PingCAP-QE/ci.git')
}
branch('main')
extensions {
cloneOptions {
depth(1)
shallow(true)
timeout(5)
}
}
}
}
}
}
}
37 changes: 37 additions & 0 deletions jobs/pingcap/tidb/release-7.5/pull_integration_common_test.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html
pipelineJob('pingcap/tidb/release-7.5/pull_integration_common_test') {
logRotator {
daysToKeep(30)
}
parameters {
stringParam("BUILD_ID")
stringParam("PROW_JOB_ID")
stringParam("JOB_SPEC", "", "Prow job spec struct data")
}
properties {
// priority(0) // 0 fast than 1
githubProjectUrl("https://github.com/pingcap/tidb")
}

definition {
cpsScm {
lightweight(true)
scriptPath('pipelines/pingcap/tidb/release-7.5/pull_integration_common_test.groovy')
scm {
git{
remote {
url('https://github.com/PingCAP-QE/ci.git')
}
branch('main')
extensions {
cloneOptions {
depth(1)
shallow(true)
timeout(5)
}
}
}
}
}
}
}
37 changes: 37 additions & 0 deletions jobs/pingcap/tidb/release-7.5/pull_integration_copr_test.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html
pipelineJob('pingcap/tidb/release-7.5/pull_integration_copr_test') {
logRotator {
daysToKeep(30)
}
parameters {
stringParam("BUILD_ID")
stringParam("PROW_JOB_ID")
stringParam("JOB_SPEC", "", "Prow job spec struct data")
}
properties {
// priority(0) // 0 fast than 1
githubProjectUrl("https://github.com/pingcap/tidb")
}

definition {
cpsScm {
lightweight(true)
scriptPath('pipelines/pingcap/tidb/release-7.5/pull_integration_copr_test.groovy')
scm {
git{
remote {
url('https://github.com/PingCAP-QE/ci.git')
}
branch('main')
extensions {
cloneOptions {
depth(1)
shallow(true)
timeout(5)
}
}
}
}
}
}
}
37 changes: 37 additions & 0 deletions jobs/pingcap/tidb/release-7.5/pull_integration_ddl_test.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html
pipelineJob('pingcap/tidb/release-7.5/pull_integration_ddl_test') {
logRotator {
daysToKeep(30)
}
parameters {
stringParam("BUILD_ID")
stringParam("PROW_JOB_ID")
stringParam("JOB_SPEC", "", "Prow job spec struct data")
}
properties {
// priority(0) // 0 fast than 1
githubProjectUrl("https://github.com/pingcap/tidb")
}

definition {
cpsScm {
lightweight(true)
scriptPath('pipelines/pingcap/tidb/release-7.5/pull_integration_ddl_test.groovy')
scm {
git{
remote {
url('https://github.com/PingCAP-QE/ci.git')
}
branch('main')
extensions {
cloneOptions {
depth(1)
shallow(true)
timeout(5)
}
}
}
}
}
}
}
37 changes: 37 additions & 0 deletions jobs/pingcap/tidb/release-7.5/pull_integration_jdbc_test.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html
pipelineJob('pingcap/tidb/release-7.5/pull_integration_jdbc_test') {
logRotator {
daysToKeep(30)
}
parameters {
stringParam("BUILD_ID")
stringParam("PROW_JOB_ID")
stringParam("JOB_SPEC", "", "Prow job spec struct data")
}
properties {
// priority(0) // 0 fast than 1
githubProjectUrl("https://github.com/pingcap/tidb")
}

definition {
cpsScm {
lightweight(true)
scriptPath('pipelines/pingcap/tidb/release-7.5/pull_integration_jdbc_test.groovy')
scm {
git{
remote {
url('https://github.com/PingCAP-QE/ci.git')
}
branch('main')
extensions {
cloneOptions {
depth(1)
shallow(true)
timeout(5)
}
}
}
}
}
}
}
37 changes: 37 additions & 0 deletions jobs/pingcap/tidb/release-7.5/pull_integration_mysql_test.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html
pipelineJob('pingcap/tidb/release-7.5/pull_integration_mysql_test') {
logRotator {
daysToKeep(30)
}
parameters {
stringParam("BUILD_ID")
stringParam("PROW_JOB_ID")
stringParam("JOB_SPEC", "", "Prow job spec struct data")
}
properties {
// priority(0) // 0 fast than 1
githubProjectUrl("https://github.com/pingcap/tidb")
}

definition {
cpsScm {
lightweight(true)
scriptPath('pipelines/pingcap/tidb/release-7.5/pull_integration_mysql_test.groovy')
scm {
git{
remote {
url('https://github.com/PingCAP-QE/ci.git')
}
branch('main')
extensions {
cloneOptions {
depth(1)
shallow(true)
timeout(5)
}
}
}
}
}
}
}
37 changes: 37 additions & 0 deletions jobs/pingcap/tidb/release-7.5/pull_integration_nodejs_test.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html
pipelineJob('pingcap/tidb/release-7.5/pull_integration_nodejs_test') {
logRotator {
daysToKeep(30)
}
parameters {
stringParam("BUILD_ID")
stringParam("PROW_JOB_ID")
stringParam("JOB_SPEC", "", "Prow job spec struct data")
}
properties {
// priority(0) // 0 fast than 1
githubProjectUrl("https://github.com/pingcap/tidb")
}

definition {
cpsScm {
lightweight(true)
scriptPath('pipelines/pingcap/tidb/release-7.5/pull_integration_nodejs_test.groovy')
scm {
git{
remote {
url('https://github.com/PingCAP-QE/ci.git')
}
branch('main')
extensions {
cloneOptions {
depth(1)
shallow(true)
timeout(5)
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html
pipelineJob('pingcap/tidb/release-7.5/pull_integration_python_orm_test') {
logRotator {
daysToKeep(30)
}
parameters {
stringParam("BUILD_ID")
stringParam("PROW_JOB_ID")
stringParam("JOB_SPEC", "", "Prow job spec struct data")
}
properties {
// priority(0) // 0 fast than 1
githubProjectUrl("https://github.com/pingcap/tidb")
}

definition {
cpsScm {
lightweight(true)
scriptPath('pipelines/pingcap/tidb/release-7.5/pull_integration_python_orm_test.groovy')
scm {
git{
remote {
url('https://github.com/PingCAP-QE/ci.git')
}
branch('main')
extensions {
cloneOptions {
depth(1)
shallow(true)
timeout(5)
}
}
}
}
}
}
}
37 changes: 37 additions & 0 deletions jobs/pingcap/tidb/release-7.5/pull_mysql_client_test.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// REF: https://<your-jenkins-server>/plugin/job-dsl/api-viewer/index.html
pipelineJob('pingcap/tidb/release-7.5/pull_mysql_client_test') {
logRotator {
daysToKeep(30)
}
parameters {
stringParam("BUILD_ID")
stringParam("PROW_JOB_ID")
stringParam("JOB_SPEC", "", "Prow job spec struct data")
}
properties {
// priority(0) // 0 fast than 1
githubProjectUrl("https://github.com/pingcap/tidb")
}

definition {
cpsScm {
lightweight(true)
scriptPath('pipelines/pingcap/tidb/release-7.5/pull_mysql_client_test.groovy')
scm {
git{
remote {
url('https://github.com/PingCAP-QE/ci.git')
}
branch('main')
extensions {
cloneOptions {
depth(1)
shallow(true)
timeout(5)
}
}
}
}
}
}
}
Loading

0 comments on commit d8a7ca4

Please sign in to comment.