Unhook jenkins from the staging cluster while we sort it out (#3553)
This commit is contained in:
parent
0c025fa937
commit
2f19b0a80e
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -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}"
|
||||
|
7
Makefile
7
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user