From 2f19b0a80e50796792ecf684d06c29e292ca71d5 Mon Sep 17 00:00:00 2001 From: Matt Robinson Date: Tue, 12 Nov 2019 14:15:46 -0500 Subject: [PATCH] Unhook jenkins from the staging cluster while we sort it out (#3553) --- Jenkinsfile | 8 -------- Makefile | 7 ------- 2 files changed, 15 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5ea52c636..bb9654746 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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}" diff --git a/Makefile b/Makefile index 7b6b0d320..451144a52 100644 --- a/Makefile +++ b/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