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

don't run on k8s-node for PR jobs #2032

Merged
merged 1 commit into from
Mar 26, 2020
Merged
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
10 changes: 5 additions & 5 deletions ci/pingcap_tidb_operator_build_kind.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,11 @@ def call(BUILD_BRANCH, CREDENTIALS_ID, CODECOV_CREDENTIALS_ID) {

// we requires ~/bin/config.cfg, filemgr-linux64 utilities on k8s-kind node
// TODO make it possible to run on any node
node('k8s-kind') {
dir("${PROJECT_DIR}"){
deleteDir()
unstash 'tidb-operator'
if ( !(BUILD_BRANCH ==~ /[a-z0-9]{40}/) ) {
if ( !(BUILD_BRANCH ==~ /[a-z0-9]{40}/) ) {
node('k8s-kind') {
dir("${PROJECT_DIR}") {
deleteDir()
unstash 'tidb-operator'
stage('upload tidb-operator, tidb-backup-manager binary and charts'){
//upload binary and charts
sh """
Expand Down