Unhook jenkins from the staging cluster while we sort it out (#3553)

This commit is contained in:
Matt Robinson 2019-11-12 14:15:46 -05:00 committed by Stefan Benten
parent 0c025fa937
commit 2f19b0a80e
2 changed files with 0 additions and 15 deletions

8
Jenkinsfile vendored
View File

@ -51,14 +51,6 @@ node('node') {
echo "Current build result: ${currentBuild.result}"
}
if (env.BRANCH_NAME == "master") {
/* This should only deploy to staging if the branch is master */
stage('Deploy to staging') {
sh 'make deploy'
echo "Current build result: ${currentBuild.result}"
}
}
stage('Upload') {
sh 'make binaries-upload'
echo "Current build result: ${currentBuild.result}"

View File

@ -320,13 +320,6 @@ libuplink-gomobile:
##@ Deploy
.PHONY: deploy
deploy: ## Update Kubernetes deployments in staging (jenkins)
for deployment in $$(kubectl --context nonprod -n v3 get deployment -l app=storagenode --output=jsonpath='{.items..metadata.name}'); do \
kubectl --context nonprod --namespace v3 patch deployment $$deployment -p"{\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"name\":\"storagenode\",\"image\":\"storjlabs/storagenode:${TAG}\"}]}}}}" ; \
done
kubectl --context nonprod --namespace v3 patch deployment earth-satellite -p"{\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"name\":\"satellite\",\"image\":\"storjlabs/satellite:${TAG}\"}]}}}}"
.PHONY: push-images
push-images: ## Push Docker images to Docker Hub (jenkins)
# images have to be pushed before a manifest can be created