diff --git a/configuration/kubernetes/deployment.yaml b/configuration/kubernetes/deployment.yaml index 4ba59b8..2d3dd7f 100644 --- a/configuration/kubernetes/deployment.yaml +++ b/configuration/kubernetes/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: RESOURCE_NAME namespace: default spec: - replicas: 1 + replicas: 0 selector: matchLabels: app: RESOURCE_NAME diff --git a/configuration/pipelines/build.groovy b/configuration/pipelines/build.groovy index ef7af65..7970c1b 100644 --- a/configuration/pipelines/build.groovy +++ b/configuration/pipelines/build.groovy @@ -89,6 +89,8 @@ try { } stage('Deploy') { + sh "ls -la" + executeShellScript("configuration/scripts/deployToKubernetes.sh", env.APPLICATION_NAME) }