diff --git a/jobs/pingcap/tiflow/latest/periodics_cdc_integration_kafka_test.groovy b/jobs/pingcap/tiflow/latest/periodics_cdc_integration_kafka_test.groovy deleted file mode 100644 index 90dd73f4d1..0000000000 --- a/jobs/pingcap/tiflow/latest/periodics_cdc_integration_kafka_test.groovy +++ /dev/null @@ -1,38 +0,0 @@ -// REF: https:///plugin/job-dsl/api-viewer/index.html -// For trunk and latest branches. -pipelineJob('pingcap/tiflow/periodics_cdc_integration_kafka_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 { - githubProjectUrl("https://github.com/pingcap/tiflow") - } - - definition { - cpsScm { - lightweight(true) - scriptPath("pipelines/pingcap/tiflow/latest/periodics_cdc_integration_kafka_test.groovy") - scm { - git{ - remote { - url('https://github.com/PingCAP-QE/ci.git') - } - branch('main') - extensions { - cloneOptions { - depth(1) - shallow(true) - timeout(5) - } - } - } - } - } - } -} diff --git a/jobs/pingcap/tiflow/latest/periodics_cdc_integration_mysql_test.groovy b/jobs/pingcap/tiflow/latest/periodics_cdc_integration_mysql_test.groovy deleted file mode 100644 index 5db0347b66..0000000000 --- a/jobs/pingcap/tiflow/latest/periodics_cdc_integration_mysql_test.groovy +++ /dev/null @@ -1,38 +0,0 @@ -// REF: https:///plugin/job-dsl/api-viewer/index.html -// For trunk and latest branches. -pipelineJob('pingcap/tiflow/periodics_cdc_integration_mysql_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 { - githubProjectUrl("https://github.com/pingcap/tiflow") - } - - definition { - cpsScm { - lightweight(true) - scriptPath("pipelines/pingcap/tiflow/latest/periodics_cdc_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) - } - } - } - } - } - } -} diff --git a/pipelines/pingcap/tiflow/latest/periodics_cdc_integration_kafka_test.groovy b/pipelines/pingcap/tiflow/latest/periodics_cdc_integration_kafka_test.groovy deleted file mode 100644 index 075685e749..0000000000 --- a/pipelines/pingcap/tiflow/latest/periodics_cdc_integration_kafka_test.groovy +++ /dev/null @@ -1,170 +0,0 @@ -// REF: https://www.jenkins.io/doc/book/pipeline/syntax/#declarative-pipeline -// Keep small than 400 lines: https://issues.jenkins.io/browse/JENKINS-37984 -// should triggerd for master branches -@Library('tipipeline') _ - -final K8S_NAMESPACE = "jenkins-tiflow" -final GIT_FULL_REPO_NAME = 'pingcap/tiflow' -final GIT_CREDENTIALS_ID = 'github-sre-bot-ssh' -final POD_TEMPLATE_FILE = 'pipelines/pingcap/tiflow/latest/pod-periodics_cdc_integration_kafka_test.yaml' -final TARGET_BRANCH = "master" - -pipeline { - agent { - kubernetes { - namespace K8S_NAMESPACE - yamlFile POD_TEMPLATE_FILE - defaultContainer 'golang' - } - } - environment { - FILE_SERVER_URL = 'http://fileserver.pingcap.net' - } - options { - timeout(time: 65, unit: 'MINUTES') - // parallelsAlwaysFailFast() - } - stages { - stage('Debug info') { - steps { - sh label: 'Debug info', script: """ - printenv - echo "-------------------------" - go env - echo "-------------------------" - echo "debug command: kubectl -n ${K8S_NAMESPACE} exec -ti ${NODE_NAME} bash" - """ - container(name: 'net-tool') { - sh 'dig github.com' - } - } - } - stage('Checkout') { - options { timeout(time: 10, unit: 'MINUTES') } - steps { - dir("tiflow") { - cache(path: "./", includes: '**/*', key: "git/pingcap/tiflow/rev-${TARGET_BRANCH}", restoreKeys: ['git/pingcap/tiflow/rev-']) { - retry(2) { - script { - component.checkoutWithMergeBase('https://github.com/pingcap/tiflow.git', 'tiflow', TARGET_BRANCH, "", trunkBranch=TARGET_BRANCH, timeout=5, credentialsId="") - } - } - } - } - } - } - stage("prepare") { - steps { - dir("third_party_download") { - script { - retry(2) { - sh label: "download third_party", script: """ - export TIDB_BRANCH="master" - export PD_BRANCH="master" - export TIKV_BRANCH="master" - export TIFLASH_BRANCH="master" - cd ../tiflow && ./scripts/download-integration-test-binaries.sh master && ls -alh ./bin - make check_third_party_binary - cd - && mkdir -p bin && mv ../tiflow/bin/* ./bin/ - ls -alh ./bin - ./bin/tidb-server -V - ./bin/pd-server -V - ./bin/tikv-server -V - ./bin/tiflash --version - """ - } - } - } - dir("tiflow") { - sh label: "prepare", script: """ - ls -alh ./bin - [ -f ./bin/cdc ] || make cdc - [ -f ./bin/cdc_kafka_consumer ] || make kafka_consumer - [ -f ./bin/cdc_storage_consumer ] || make storage_consumer - [ -f ./bin/cdc.test ] || make integration_test_build - ls -alh ./bin - ./bin/cdc version - """ - cache(path: "./", includes: '**/*', key: "ws/${BUILD_TAG}/tiflow-cdc") { - sh label: "prepare", script: """ - cp -r ../third_party_download/bin/* ./bin/ - ls -alh ./bin - """ - } - } - } - } - - stage('Tests') { - matrix { - axes { - axis { - name 'TEST_GROUP' - values 'G00', 'G01', 'G02', 'G03', 'G04', 'G05', 'G06', 'G07', 'G08', - 'G09', 'G10', 'G11', 'G12', 'G13', 'G14', 'G15', 'G16', 'G17' - } - } - agent{ - kubernetes { - namespace K8S_NAMESPACE - yamlFile POD_TEMPLATE_FILE - defaultContainer 'golang' - } - } - stages { - stage("Test") { - steps { - dir('tiflow') { - cache(path: "./", includes: '**/*', key: "ws/${BUILD_TAG}/tiflow-cdc") { - timeout(time: 45, unit: 'MINUTES') { - sh label: "${TEST_GROUP}", script: """ - rm -rf /tmp/tidb_cdc_test && mkdir -p /tmp/tidb_cdc_test - chmod +x ./tests/integration_tests/run_group.sh - ./tests/integration_tests/run_group.sh kafka ${TEST_GROUP} - """ - } - } - } - } - post { - failure { - sh label: "collect logs", script: """ - ls /tmp/tidb_cdc_test/ - tar -cvzf log-${TEST_GROUP}.tar.gz \$(find /tmp/tidb_cdc_test/ -type f -name "*.log") - ls -alh log-${TEST_GROUP}.tar.gz - """ - - archiveArtifacts artifacts: "log-${TEST_GROUP}.tar.gz", fingerprint: true - } - } - } - } - } - } - } - - post { - always { - script { - def status = currentBuild.result ?: 'SUCCESS' - def title = "CDC Kafka Integration Test: ${status}" - def content = "CDC Kafka Integration Test: ${status}\\n" + - "Branch: ${TARGET_BRANCH}\\n" + - "Build URL: ${BUILD_URL}\\n" + - "Job Page: https://prow.tidb.net/?repo=pingcap%2Ftiflow&type=periodic\\n" - - withCredentials([string(credentialsId: 'cdc-feishu-webhook-url', variable: 'WEBHOOK_URL')]) { - sh """ - curl -X POST ${WEBHOOK_URL} -H 'Content-Type: application/json' \ - -d '{ - "msg_type": "text", - "content": { - "text": "$content" - } - }' - """ - } - } - } - } -} diff --git a/pipelines/pingcap/tiflow/latest/periodics_cdc_integration_mysql_test.groovy b/pipelines/pingcap/tiflow/latest/periodics_cdc_integration_mysql_test.groovy deleted file mode 100644 index 1db2c65021..0000000000 --- a/pipelines/pingcap/tiflow/latest/periodics_cdc_integration_mysql_test.groovy +++ /dev/null @@ -1,170 +0,0 @@ -// REF: https://www.jenkins.io/doc/book/pipeline/syntax/#declarative-pipeline -// Keep small than 400 lines: https://issues.jenkins.io/browse/JENKINS-37984 -// should triggerd for master branches -@Library('tipipeline') _ - -final K8S_NAMESPACE = "jenkins-tiflow" -final GIT_FULL_REPO_NAME = 'pingcap/tiflow' -final GIT_CREDENTIALS_ID = 'github-sre-bot-ssh' -final POD_TEMPLATE_FILE = 'pipelines/pingcap/tiflow/latest/pod-periodics_cdc_integration_mysql_test.yaml' -final TARGET_BRANCH = "master" - -pipeline { - agent { - kubernetes { - namespace K8S_NAMESPACE - yamlFile POD_TEMPLATE_FILE - defaultContainer 'golang' - } - } - environment { - FILE_SERVER_URL = 'http://fileserver.pingcap.net' - } - options { - timeout(time: 65, unit: 'MINUTES') - // parallelsAlwaysFailFast() - } - stages { - stage('Debug info') { - steps { - sh label: 'Debug info', script: """ - printenv - echo "-------------------------" - go env - echo "-------------------------" - echo "debug command: kubectl -n ${K8S_NAMESPACE} exec -ti ${NODE_NAME} bash" - """ - container(name: 'net-tool') { - sh 'dig github.com' - } - } - } - stage('Checkout') { - options { timeout(time: 10, unit: 'MINUTES') } - steps { - dir("tiflow") { - cache(path: "./", includes: '**/*', key: "git/pingcap/tiflow/rev-${TARGET_BRANCH}", restoreKeys: ['git/pingcap/tiflow/rev-']) { - retry(2) { - script { - component.checkoutWithMergeBase('https://github.com/pingcap/tiflow.git', 'tiflow', TARGET_BRANCH, "", trunkBranch=TARGET_BRANCH, timeout=5, credentialsId="") - } - } - } - } - } - } - stage("prepare") { - steps { - dir("third_party_download") { - script { - retry(2) { - sh label: "download third_party", script: """ - export TIDB_BRANCH="master" - export PD_BRANCH="master" - export TIKV_BRANCH="master" - export TIFLASH_BRANCH="master" - cd ../tiflow && ./scripts/download-integration-test-binaries.sh master && ls -alh ./bin - make check_third_party_binary - cd - && mkdir -p bin && mv ../tiflow/bin/* ./bin/ - ls -alh ./bin - ./bin/tidb-server -V - ./bin/pd-server -V - ./bin/tikv-server -V - ./bin/tiflash --version - """ - } - } - } - dir("tiflow") { - sh label: "prepare", script: """ - ls -alh ./bin - [ -f ./bin/cdc ] || make cdc - [ -f ./bin/cdc_kafka_consumer ] || make kafka_consumer - [ -f ./bin/cdc_storage_consumer ] || make storage_consumer - [ -f ./bin/cdc.test ] || make integration_test_build - ls -alh ./bin - ./bin/cdc version - """ - cache(path: "./", includes: '**/*', key: "ws/${BUILD_TAG}/tiflow-cdc") { - sh label: "prepare", script: """ - cp -r ../third_party_download/bin/* ./bin/ - ls -alh ./bin - """ - } - } - } - } - - stage('Tests') { - matrix { - axes { - axis { - name 'TEST_GROUP' - values 'G00', 'G01', 'G02', 'G03', 'G04', 'G05', 'G06', 'G07', 'G08', 'G09', 'G10', 'G11', 'G12', 'G13', - 'G14', 'G15', 'G16', 'G17', 'G18', 'G19', 'G20', 'G21' - } - } - agent{ - kubernetes { - namespace K8S_NAMESPACE - yamlFile POD_TEMPLATE_FILE - defaultContainer 'golang' - } - } - stages { - stage("Test") { - steps { - dir('tiflow') { - cache(path: "./", includes: '**/*', key: "ws/${BUILD_TAG}/tiflow-cdc") { - timeout(time: 45, unit: 'MINUTES') { - sh label: "${TEST_GROUP}", script: """ - rm -rf /tmp/tidb_cdc_test && mkdir -p /tmp/tidb_cdc_test - chmod +x ./tests/integration_tests/run_group.sh - ./tests/integration_tests/run_group.sh mysql ${TEST_GROUP} - """ - } - } - } - } - post { - failure { - sh label: "collect logs", script: """ - ls /tmp/tidb_cdc_test/ - tar -cvzf log-${TEST_GROUP}.tar.gz \$(find /tmp/tidb_cdc_test/ -type f -name "*.log") - ls -alh log-${TEST_GROUP}.tar.gz - """ - - archiveArtifacts artifacts: "log-${TEST_GROUP}.tar.gz", fingerprint: true - } - } - } - } - } - } - } - - post { - always { - script { - def status = currentBuild.result ?: 'SUCCESS' - def title = "CDC MySQL Integration Test: ${status}" - def content = "CDC MySQL Integration Test: ${status}\\n" + - "Branch: ${TARGET_BRANCH}\\n" + - "Build URL: ${BUILD_URL}\\n" + - "Job Page: https://prow.tidb.net/?repo=pingcap%2Ftiflow&type=periodic\\n" - - withCredentials([string(credentialsId: 'cdc-feishu-webhook-url', variable: 'WEBHOOK_URL')]) { - sh """ - curl -X POST ${WEBHOOK_URL} -H 'Content-Type: application/json' \ - -d '{ - "msg_type": "text", - "content": { - "text": "$content" - } - }' - """ - } - } - } - } -} diff --git a/pipelines/pingcap/tiflow/latest/pod-periodics_cdc_integration_kafka_test.yaml b/pipelines/pingcap/tiflow/latest/pod-periodics_cdc_integration_kafka_test.yaml deleted file mode 100644 index d330ef9688..0000000000 --- a/pipelines/pingcap/tiflow/latest/pod-periodics_cdc_integration_kafka_test.yaml +++ /dev/null @@ -1,182 +0,0 @@ -apiVersion: v1 -kind: Pod -spec: - securityContext: - fsGroup: 1000 - containers: - - image: wurstmeister/zookeeper - imagePullPolicy: IfNotPresent - name: zookeeper - resources: - requests: - cpu: 2000m - memory: 4Gi - limits: - cpu: 2000m - memory: 4Gi - tty: true - volumeMounts: - - mountPath: /tmp - name: volume-0 - - args: - - cat - image: hub.pingcap.net/jenkins/rocky8_golang-1.25:tini - imagePullPolicy: Always - name: golang - resources: - requests: - cpu: "12" - memory: 32Gi - limits: - cpu: "12" - memory: 32Gi - tty: true - volumeMounts: - - mountPath: /tmp - name: volume-0 - - env: - - name: KAFKA_CREATE_TOPICS - value: big-message-test:1:1 - - name: KAFKA_BROKER_ID - value: "1" - - name: KAFKA_SSL_KEYSTORE_PASSWORD - value: test1234 - - name: KAFKA_ZOOKEEPER_CONNECT - value: localhost:2181 - - name: KAFKA_MESSAGE_MAX_BYTES - value: "11534336" - - name: KAFKA_REPLICA_FETCH_MAX_BYTES - value: "11534336" - - name: KAFKA_ADVERTISED_LISTENERS - value: SSL://127.0.0.1:9093,PLAINTEXT://127.0.0.1:9092 - - name: ZK - value: zk - - name: KAFKA_SSL_KEYSTORE_LOCATION - value: /tmp/kafka.server.keystore.jks - - name: KAFKA_SSL_KEY_PASSWORD - value: test1234 - - name: KAFKA_SSL_TRUSTSTORE_PASSWORD - value: test1234 - - name: KAFKA_LISTENERS - value: SSL://127.0.0.1:9093,PLAINTEXT://127.0.0.1:9092 - - name: KAFKA_SSL_TRUSTSTORE_LOCATION - value: /tmp/kafka.server.truststore.jks - - name: RACK_COMMAND - value: curl -sfL https://github.com/pingcap/tiflow/raw/6e62afcfecc4e3965d8818784327d4bf2600d9fa/tests/_certificates/kafka.server.keystore.jks -o /tmp/kafka.server.keystore.jks && curl -sfL https://github.com/pingcap/tiflow/raw/6e62afcfecc4e3965d8818784327d4bf2600d9fa/tests/_certificates/kafka.server.truststore.jks -o /tmp/kafka.server.truststore.jks - image: wurstmeister/kafka:2.12-2.4.1 - imagePullPolicy: IfNotPresent - name: kafka - resources: - requests: - cpu: 2000m - memory: 6Gi - limits: - cpu: 2000m - memory: 6Gi - tty: true - volumeMounts: - - mountPath: /tmp - name: volume-0 - readinessProbe: - exec: - command: - - /bin/sh - - -c - - | - nc -z localhost 2181 && \ - nc -z localhost 9092 && \ - echo dump | nc localhost 2181 | grep brokers | grep -F -w "/brokers/ids/1" - initialDelaySeconds: 10 - periodSeconds: 5 - timeoutSeconds: 2 - failureThreshold: 30 - - env: - - name: KAFKA_SERVER - value: 127.0.0.1:9092 - - name: ZOOKEEPER_SERVER - value: 127.0.0.1:2181 - - name: DOWNSTREAM_DB_HOST - value: 127.0.0.1 - - name: USE_FLAT_MESSAGE - value: "true" - - name: DOWNSTREAM_DB_PORT - value: "3306" - - name: DB_NAME - value: test - image: rustinliu/ticdc-canal-json-adapter:latest - imagePullPolicy: IfNotPresent - name: canal-adapter - # TODO: add resource limit - # can't add resource limit now, because canal-adapter will OOM - # issue: https://github.com/PingCAP-QE/ci/issues/1893 - resources: - requests: - cpu: 200m - memory: 4Gi - tty: true - volumeMounts: - - mountPath: /tmp - name: volume-0 - - name: net-tool - image: hub.pingcap.net/jenkins/network-multitool - tty: true - resources: - limits: - memory: 128Mi - cpu: 100m - - name: report - image: hub.pingcap.net/jenkins/python3-requests:latest - tty: true - resources: - requests: - cpu: 200m - memory: 4Gi - - name: mysql - image: quay.io/debezium/example-mysql:2.4 - imagePullPolicy: IfNotPresent - env: - - name: MYSQL_ROOT_PASSWORD - value: "" - - name: MYSQL_USER - value: mysqluser - - name: MYSQL_PASSWORD - value: mysqlpw - - name: MYSQL_ALLOW_EMPTY_PASSWORD - value: "yes" - - name: MYSQL_TCP_PORT - value: "3310" - resources: - requests: - cpu: 200m - memory: 4Gi - - name: connect - image: quay.io/debezium/connect:2.4 - env: - - name: BOOTSTRAP_SERVERS - value: "127.0.0.1:9092" - - name: GROUP_ID - value: "1" - - name: CONFIG_STORAGE_TOPIC - value: "my_connect_configs" - - name: OFFSET_STORAGE_TOPIC - value: "my_connect_offsets" - - name: STATUS_STORAGE_TOPIC - value: "my_connect_statuses" - - name: LANG - value: "C.UTF-8" - resources: - requests: - cpu: 200m - memory: 4Gi - volumes: - - emptyDir: {} - name: volume-0 - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: kubernetes.io/arch - operator: In - values: - - amd64 diff --git a/pipelines/pingcap/tiflow/latest/pod-periodics_cdc_integration_mysql_test.yaml b/pipelines/pingcap/tiflow/latest/pod-periodics_cdc_integration_mysql_test.yaml deleted file mode 100644 index 306287ba3b..0000000000 --- a/pipelines/pingcap/tiflow/latest/pod-periodics_cdc_integration_mysql_test.yaml +++ /dev/null @@ -1,39 +0,0 @@ -apiVersion: v1 -kind: Pod -spec: - securityContext: - fsGroup: 1000 - containers: - - name: golang - image: "hub.pingcap.net/jenkins/centos7_golang-1.23:latest" - tty: true - resources: - requests: - memory: 12Gi - cpu: "4" - limits: - memory: 32Gi - cpu: "6" - - name: net-tool - image: hub.pingcap.net/jenkins/network-multitool - tty: true - resources: - limits: - memory: 128Mi - cpu: 100m - - name: report - image: hub.pingcap.net/jenkins/python3-requests:latest - tty: true - resources: - limits: - memory: 256Mi - cpu: 100m - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: kubernetes.io/arch - operator: In - values: - - amd64 diff --git a/prow-jobs/kustomization.yaml b/prow-jobs/kustomization.yaml index 4d2cb05311..ca7ccc1c16 100644 --- a/prow-jobs/kustomization.yaml +++ b/prow-jobs/kustomization.yaml @@ -51,7 +51,6 @@ configMapGenerator: - pingcap_tidb_release-6.4-presubmits.yaml=pingcap/tidb/release-6.4-presubmits.yaml - pingcap_tidb_release-6.5-20241101-v6.5.7-presubits.yaml=pingcap/tidb/release-6.5-20241101-v6.5.7-presubits.yaml - pingcap_tidb_release-6.5-fips-presubmits.yaml=pingcap/tidb/release-6.5-fips-presubmits.yaml - - pingcap_tidb_release-6.5-periodics.yaml=pingcap/tidb/release-6.5-periodics.yaml - pingcap_tidb_release-6.5-presubmits.yaml=pingcap/tidb/release-6.5-presubmits.yaml - pingcap_tidb_release-6.5-with-kv-timeout-feature-presubmits.yaml=pingcap/tidb/release-6.5-with-kv-timeout-feature-presubmits.yaml - pingcap_tidb_release-6.6-presubmits.yaml=pingcap/tidb/release-6.6-presubmits.yaml @@ -87,7 +86,6 @@ configMapGenerator: - pingcap_tiflash_release-8.5-presubmits.yaml=pingcap/tiflash/release-8.5-presubmits.yaml - pingcap_tiflash_release-9.0-beta-presubmits.yaml=pingcap/tiflash/release-9.0-beta-presubmits.yaml - pingcap_tiflow_common-postsubmits.yaml=pingcap/tiflow/common-postsubmits.yaml - - pingcap_tiflow_latest-periodics.yaml=pingcap/tiflow/latest-periodics.yaml - pingcap_tiflow_latest-postsubmits.yaml=pingcap/tiflow/latest-postsubmits.yaml - pingcap_tiflow_latest-presubmits-wip.yaml=pingcap/tiflow/latest-presubmits-wip.yaml - pingcap_tiflow_latest-presubmits.yaml=pingcap/tiflow/latest-presubmits.yaml @@ -113,7 +111,6 @@ configMapGenerator: - pingcap_tiflow_release-9.0-beta-presubmits.yaml=pingcap/tiflow/release-9.0-beta-presubmits.yaml - pingcap_tiproxy_latest-postsubmits.yaml=pingcap/tiproxy/latest-postsubmits.yaml - pingcap_tiproxy_latest-presubmits.yaml=pingcap/tiproxy/latest-presubmits.yaml - - ti-community-infra_configs_periodics.yaml=ti-community-infra/configs/periodics.yaml - ti-community-infra_configs_postsubmits.yaml=ti-community-infra/configs/postsubmits.yaml - ti-community-infra_configs_presubmits.yaml=ti-community-infra/configs/presubmits.yaml - ti-community-infra_periodics.yaml=ti-community-infra/periodics.yaml diff --git a/prow-jobs/pingcap/monitoring/periodics.yaml b/prow-jobs/pingcap/monitoring/periodics.yaml index d845af2bad..3485a60f5f 100644 --- a/prow-jobs/pingcap/monitoring/periodics.yaml +++ b/prow-jobs/pingcap/monitoring/periodics.yaml @@ -244,34 +244,3 @@ periodics: - name: github-token secret: secretName: github-token - - name: periodic-update-pingcap-monitoring-lts-6.5 - decorate: true # need add this. - cron: "5 6 * * *" # @daily - skip_report: true - extra_refs: # Periodic job doesn't clone any repo by default, needs to be added explicitly - - org: pingcap - repo: monitoring - base_ref: release-6.5 - skip_submodules: true - clone_depth: 1 - spec: - containers: - - name: check - image: golang:1.19.13 - command: [bash, -ce] - env: - - name: TARGET - value: release-6.5 - resources: - limits: - memory: 4Gi - cpu: "1" - volumeMounts: - - name: github-token - mountPath: /etc/github - readOnly: true - args: *args - volumes: - - name: github-token - secret: - secretName: github-token diff --git a/prow-jobs/pingcap/tidb/release-6.5-periodics.yaml b/prow-jobs/pingcap/tidb/release-6.5-periodics.yaml deleted file mode 100644 index 10053a458d..0000000000 --- a/prow-jobs/pingcap/tidb/release-6.5-periodics.yaml +++ /dev/null @@ -1,10 +0,0 @@ -# struct ref: https://pkg.go.dev/k8s.io/test-infra/prow/config#Periodic -periodics: - - name: pingcap/tidb/release-6.5/periodics_br_integration_test - agent: jenkins - decorate: false # need add this. - cron: "0 */12 * * *" # every 12 hour - extra_refs: # Periodic job doesn't clone any repo by default, needs to be added explicitly - - org: pingcap - repo: tidb - base_ref: release-6.5 diff --git a/prow-jobs/pingcap/tiflow/latest-periodics.yaml b/prow-jobs/pingcap/tiflow/latest-periodics.yaml deleted file mode 100644 index 1635a03609..0000000000 --- a/prow-jobs/pingcap/tiflow/latest-periodics.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# struct ref: https://pkg.go.dev/k8s.io/test-infra/prow/config#Periodic -periodics: - - name: pingcap/tiflow/periodics_cdc_integration_kafka_test - agent: jenkins - decorate: false # need add this. - cron: "0 */12 * * *" # every 12 hour - extra_refs: # Periodic job doesn't clone any repo by default, needs to be added explicitly - - org: pingcap - repo: tiflow - base_ref: master - - name: pingcap/tiflow/periodics_cdc_integration_mysql_test - agent: jenkins - decorate: false # need add this. - cron: "0 */12 * * *" # every 12 hour - extra_refs: # Periodic job doesn't clone any repo by default, needs to be added explicitly - - org: pingcap - repo: tiflow - base_ref: master diff --git a/prow-jobs/ti-community-infra/configs/periodics.yaml b/prow-jobs/ti-community-infra/configs/periodics.yaml deleted file mode 100644 index b241911636..0000000000 --- a/prow-jobs/ti-community-infra/configs/periodics.yaml +++ /dev/null @@ -1,27 +0,0 @@ -periodics: - - name: periodic-configs-autobump - # Run at minute 5 past every hour from 13 through 20 on every Saturday (At UTC+8 timezone). - cron: "05 5-12 * * 6" - always_run: true - decorate: true - extra_refs: - # Check out the repo containing the config and deployment files for your Prow instance. - - org: ti-community-infra - repo: configs - base_ref: main - max_concurrency: 1 - spec: - containers: - - image: ticommunityinfra/generic-autobumper:v20221227-9bc8171e1d - command: - - /ko-app/generic-autobumper - args: - - --config=prow/autobump-config/configs-prow-component-autobump-config.yaml - volumeMounts: - - name: github-token - mountPath: /etc/github - readOnly: true - volumes: - - name: github-token - secret: - secretName: github-token