Skip to content

Commit

Permalink
Merge pull request openshift#106 from wking/drop-jenkins-push
Browse files Browse the repository at this point in the history
Jenkinsfile: Drop Quay push
  • Loading branch information
openshift-merge-robot authored Aug 3, 2018
2 parents 629d9fe + d3e1e86 commit 434f1cb
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions Jenkinsfile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,6 @@ creds.push(
]
)

quayCreds = [
usernamePassword(
credentialsId: 'quay-robot',
passwordVariable: 'QUAY_ROBOT_SECRET',
usernameVariable: 'QUAY_ROBOT_USERNAME'
)
]

tectonicSmokeTestEnvImage = 'quay.io/coreos/tectonic-smoke-test-env:v6.0'
tectonicBazelImage = 'quay.io/coreos/tectonic-builder:bazel-v0.3'
originalCommitId = 'UNKNOWN'
Expand Down Expand Up @@ -92,25 +84,6 @@ pipeline {
}
}

stage('Build docker image') {
when {
branch 'master'
}
steps {
withCredentials(quayCreds) {
ansiColor('xterm') {
sh """
docker build -t quay.io/coreos/tectonic-installer:master -f images/tectonic-installer/Dockerfile .
docker login -u="$QUAY_ROBOT_USERNAME" -p="$QUAY_ROBOT_SECRET" quay.io
docker push quay.io/coreos/tectonic-installer:master
docker logout quay.io
"""
cleanWs notFailBuild: true
}
}
}
}

}
post {
always {
Expand Down

0 comments on commit 434f1cb

Please sign in to comment.