Skip to content
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
29 changes: 15 additions & 14 deletions pipelines/pingcap/tiflash/latest/merged_build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pipeline {
}
}
environment {
FILE_SERVER_URL = 'http://fileserver.pingcap.net'
OCI_ARTIFACT_HOST = 'us-docker.pkg.dev/pingcap-testing-account/hub'
}
options {
timeout(time: 120, unit: 'MINUTES')
Expand Down Expand Up @@ -270,19 +270,20 @@ pipeline {
}
stage("License check") {
steps {
dir("${WORKSPACE}/tiflash") {
// TODO: add license-eye to docker image
sh label: "license header check", script: """
echo "license check"
if [[ -f .github/licenserc.yml ]]; then
wget -q -O license-eye http://fileserver.pingcap.net/download/cicd/ci-tools/license-eye_v0.4.0
chmod +x license-eye
./license-eye -c .github/licenserc.yml header check
else
echo "skip license check"
exit 0
fi
"""
container('utils') {
dir("${WORKSPACE}/tiflash") {
// TODO: add license-eye to docker image
sh label: "license header check", script: """
echo "license check"
if [[ -f .github/licenserc.yml ]]; then
${WORKSPACE}/scripts/artifacts/download_pingcap_oci_artifact.sh --license-eye=v0.4.0
./license-eye -c .github/licenserc.yml header check
else
echo "skip license check"
exit 0
fi
"""
}
}
}
}
Expand Down
29 changes: 15 additions & 14 deletions pipelines/pingcap/tiflash/latest/merged_build_next_gen.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pipeline {
}
}
environment {
FILE_SERVER_URL = 'http://fileserver.pingcap.net'
OCI_ARTIFACT_HOST = 'us-docker.pkg.dev/pingcap-testing-account/hub'
}
options {
timeout(time: 120, unit: 'MINUTES')
Expand Down Expand Up @@ -273,19 +273,20 @@ pipeline {
}
stage("License check") {
steps {
dir("${WORKSPACE}/tiflash") {
// TODO: add license-eye to docker image
sh label: "license header check", script: """
echo "license check"
if [[ -f .github/licenserc.yml ]]; then
wget -q -O license-eye http://fileserver.pingcap.net/download/cicd/ci-tools/license-eye_v0.4.0
chmod +x license-eye
./license-eye -c .github/licenserc.yml header check
else
echo "skip license check"
exit 0
fi
"""
container('utils') {
dir("${WORKSPACE}/tiflash") {
// TODO: add license-eye to docker image
sh label: "license header check", script: """
echo "license check"
if [[ -f .github/licenserc.yml ]]; then
${WORKSPACE}/scripts/artifacts/download_pingcap_oci_artifact.sh --license-eye=v0.4.0
./license-eye -c .github/licenserc.yml header check
else
echo "skip license check"
exit 0
fi
"""
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion pipelines/pingcap/tiflash/latest/merged_unit_test.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pipeline {
}
}
environment {
FILE_SERVER_URL = 'http://fileserver.pingcap.net'
OCI_ARTIFACT_HOST = 'us-docker.pkg.dev/pingcap-testing-account/hub'
}
options {
timeout(time: 120, unit: 'MINUTES')
Expand Down
10 changes: 10 additions & 0 deletions pipelines/pingcap/tiflash/latest/pod-merged_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@ spec:
limits:
memory: 128Mi
cpu: 100m
- name: utils
image: ghcr.io/pingcap-qe/cd/utils/release:v2025.10.12-7-gfdd779c
args: ["sleep", "infinity"]
resources:
requests:
cpu: "100m"
memory: "256Mi"
limits:
cpu: "1"
memory: "4Gi"
volumes:
- name: "volume-0"
nfs:
Expand Down
10 changes: 10 additions & 0 deletions pipelines/pingcap/tiflash/latest/pod-pull_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@ spec:
limits:
memory: 128Mi
cpu: 100m
- name: utils
image: ghcr.io/pingcap-qe/cd/utils/release:v2025.10.12-7-gfdd779c
args: ["sleep", "infinity"]
resources:
requests:
cpu: "100m"
memory: "256Mi"
limits:
cpu: "1"
memory: "4Gi"
volumes:
- name: "volume-0"
nfs:
Expand Down
29 changes: 15 additions & 14 deletions pipelines/pingcap/tiflash/latest/pull_integration_next_gen.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pipeline {
}
}
environment {
FILE_SERVER_URL = 'http://fileserver.pingcap.net'
OCI_ARTIFACT_HOST = 'us-docker.pkg.dev/pingcap-testing-account/hub'
}
options {
timeout(time: 120, unit: 'MINUTES')
Expand Down Expand Up @@ -140,19 +140,20 @@ pipeline {
expression { !build_cache_ready }
}
steps {
dir("${WORKSPACE}/tiflash") {
// TODO: add license-eye to docker image
sh label: "license header check", script: """
echo "license check"
if [[ -f .github/licenserc.yml ]]; then
wget -q -O license-eye http://fileserver.pingcap.net/download/cicd/ci-tools/license-eye_v0.4.0
chmod +x license-eye
./license-eye -c .github/licenserc.yml header check
else
echo "skip license check"
exit 0
fi
"""
container('utils') {
dir("${WORKSPACE}/tiflash") {
// TODO: add license-eye to docker image
sh label: "license header check", script: """
echo "license check"
if [[ -f .github/licenserc.yml ]]; then
${WORKSPACE}/scripts/artifacts/download_pingcap_oci_artifact.sh --license-eye=v0.4.0
./license-eye -c .github/licenserc.yml header check
else
echo "skip license check"
exit 0
fi
"""
}
}
}
}
Expand Down
29 changes: 15 additions & 14 deletions pipelines/pingcap/tiflash/latest/pull_integration_test.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pipeline {
}
}
environment {
FILE_SERVER_URL = 'http://fileserver.pingcap.net'
OCI_ARTIFACT_HOST = 'us-docker.pkg.dev/pingcap-testing-account/hub'
}
options {
timeout(time: 120, unit: 'MINUTES')
Expand Down Expand Up @@ -136,19 +136,20 @@ pipeline {
expression { !build_cache_ready }
}
steps {
dir("${WORKSPACE}/tiflash") {
// TODO: add license-eye to docker image
sh label: "license header check", script: """
echo "license check"
if [[ -f .github/licenserc.yml ]]; then
wget -q -O license-eye http://fileserver.pingcap.net/download/cicd/ci-tools/license-eye_v0.4.0
chmod +x license-eye
./license-eye -c .github/licenserc.yml header check
else
echo "skip license check"
exit 0
fi
"""
container('utils') {
dir("${WORKSPACE}/tiflash") {
// TODO: add license-eye to docker image
sh label: "license header check", script: """
echo "license check"
if [[ -f .github/licenserc.yml ]]; then
${WORKSPACE}/scripts/artifacts/download_pingcap_oci_artifact.sh --license-eye=v0.4.0
./license-eye -c .github/licenserc.yml header check
else
echo "skip license check"
exit 0
fi
"""
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion pipelines/pingcap/tiflash/latest/pull_unit_next_gen.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pipeline {
}
}
environment {
FILE_SERVER_URL = 'http://fileserver.pingcap.net'
OCI_ARTIFACT_HOST = 'us-docker.pkg.dev/pingcap-testing-account/hub'
}
options {
timeout(time: 90, unit: 'MINUTES')
Expand Down
2 changes: 1 addition & 1 deletion pipelines/pingcap/tiflash/latest/pull_unit_test.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pipeline {
}
}
environment {
FILE_SERVER_URL = 'http://fileserver.pingcap.net'
OCI_ARTIFACT_HOST = 'us-docker.pkg.dev/pingcap-testing-account/hub'
}
options {
timeout(time: 90, unit: 'MINUTES')
Expand Down
10 changes: 10 additions & 0 deletions pipelines/pingcap/tiflash/release-6.1/pod-pull_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ spec:
limits:
memory: 128Mi
cpu: 100m
- name: utils
image: ghcr.io/pingcap-qe/cd/utils/release:v2025.10.12-7-gfdd779c
args: ["sleep", "infinity"]
resources:
requests:
cpu: "100m"
memory: "256Mi"
limits:
cpu: "1"
memory: "4Gi"
volumes:
- name: "volume-0"
nfs:
Expand Down
29 changes: 15 additions & 14 deletions pipelines/pingcap/tiflash/release-6.1/pull_integration_test.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pipeline {
}
}
environment {
FILE_SERVER_URL = 'http://fileserver.pingcap.net'
OCI_ARTIFACT_HOST = 'us-docker.pkg.dev/pingcap-testing-account/hub'
}
options {
timeout(time: 120, unit: 'MINUTES')
Expand Down Expand Up @@ -255,19 +255,20 @@ pipeline {
}
stage("License check") {
steps {
dir("${WORKSPACE}/tiflash") {
// TODO: add license-eye to docker image
sh label: "license header check", script: """
echo "license check"
if [[ -f .github/licenserc.yml ]]; then
wget -q -O license-eye http://fileserver.pingcap.net/download/cicd/ci-tools/license-eye_v0.4.0
chmod +x license-eye
./license-eye -c .github/licenserc.yml header check
else
echo "skip license check"
exit 0
fi
"""
container('utils') {
dir("${WORKSPACE}/tiflash") {
// TODO: add license-eye to docker image
sh label: "license header check", script: """
echo "license check"
if [[ -f .github/licenserc.yml ]]; then
${WORKSPACE}/scripts/artifacts/download_pingcap_oci_artifact.sh --license-eye=v0.4.0
./license-eye -c .github/licenserc.yml header check
else
echo "skip license check"
exit 0
fi
"""
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pipeline {
}
}
environment {
FILE_SERVER_URL = 'http://fileserver.pingcap.net'
OCI_ARTIFACT_HOST = 'us-docker.pkg.dev/pingcap-testing-account/hub'
}
options {
timeout(time: 90, unit: 'MINUTES')
Expand Down
10 changes: 10 additions & 0 deletions pipelines/pingcap/tiflash/release-6.5/pod-pull_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ spec:
limits:
memory: 128Mi
cpu: 100m
- name: utils
image: ghcr.io/pingcap-qe/cd/utils/release:v2025.10.12-7-gfdd779c
args: ["sleep", "infinity"]
resources:
requests:
cpu: "100m"
memory: "256Mi"
limits:
cpu: "1"
memory: "4Gi"
volumes:
- name: "volume-0"
nfs:
Expand Down
29 changes: 15 additions & 14 deletions pipelines/pingcap/tiflash/release-6.5/pull_integration_test.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pipeline {
}
}
environment {
FILE_SERVER_URL = 'http://fileserver.pingcap.net'
OCI_ARTIFACT_HOST = 'us-docker.pkg.dev/pingcap-testing-account/hub'
}
options {
timeout(time: 120, unit: 'MINUTES')
Expand Down Expand Up @@ -255,19 +255,20 @@ pipeline {
}
stage("License check") {
steps {
dir("${WORKSPACE}/tiflash") {
// TODO: add license-eye to docker image
sh label: "license header check", script: """
echo "license check"
if [[ -f .github/licenserc.yml ]]; then
wget -q -O license-eye http://fileserver.pingcap.net/download/cicd/ci-tools/license-eye_v0.4.0
chmod +x license-eye
./license-eye -c .github/licenserc.yml header check
else
echo "skip license check"
exit 0
fi
"""
container('utils') {
dir("${WORKSPACE}/tiflash") {
// TODO: add license-eye to docker image
sh label: "license header check", script: """
echo "license check"
if [[ -f .github/licenserc.yml ]]; then
${WORKSPACE}/scripts/artifacts/download_pingcap_oci_artifact.sh --license-eye=v0.4.0
./license-eye -c .github/licenserc.yml header check
else
echo "skip license check"
exit 0
fi
"""
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pipeline {
}
}
environment {
FILE_SERVER_URL = 'http://fileserver.pingcap.net'
OCI_ARTIFACT_HOST = 'us-docker.pkg.dev/pingcap-testing-account/hub'
}
options {
timeout(time: 90, unit: 'MINUTES')
Expand Down
10 changes: 10 additions & 0 deletions pipelines/pingcap/tiflash/release-7.1/pod-pull_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ spec:
limits:
memory: 128Mi
cpu: 100m
- name: utils
image: ghcr.io/pingcap-qe/cd/utils/release:v2025.10.12-7-gfdd779c
args: ["sleep", "infinity"]
resources:
requests:
cpu: "100m"
memory: "256Mi"
limits:
cpu: "1"
memory: "4Gi"
volumes:
- name: "volume-0"
nfs:
Expand Down
Loading