From 6c5b63cf50f5b57ac99e5291dc6483eeb4be87d9 Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Thu, 5 Mar 2020 19:35:12 +0000 Subject: [PATCH] [05.03.20] kill stale pod --- configuration/kubernetes/deployment.yaml | 2 +- configuration/pipelines/build.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration/kubernetes/deployment.yaml b/configuration/kubernetes/deployment.yaml index c1e9479..959ab40 100644 --- a/configuration/kubernetes/deployment.yaml +++ b/configuration/kubernetes/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: RESOURCE_NAME namespace: production spec: - replicas: 1 + replicas: 0 selector: matchLabels: app: RESOURCE_NAME diff --git a/configuration/pipelines/build.groovy b/configuration/pipelines/build.groovy index 8693801..32756e6 100644 --- a/configuration/pipelines/build.groovy +++ b/configuration/pipelines/build.groovy @@ -29,7 +29,7 @@ try { timestamps { node ("${env.SLAVE_LABEL}") { stage('Initialise') { - checkout([$class: 'GitSCM', branches: [[name: 'master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'Github', url: 'https://github.com/andyjk15/spam-filter.git']]]) + checkout([$class: 'GitSCM', branches: [[name: 'master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'Github', url: 'https://github.com/andyjk15/price-collector.git']]]) env.APPLICATION_VERSION = get_application_version()