Commit 25fed664 authored by Josh Steinberg's avatar Josh Steinberg

update jenkinsfile and helm chart

parent febfb7df
......@@ -70,7 +70,7 @@ pipeline {
ssh root@${REMOTE_AGENT} "gcloud container clusters get-credentials jsteinberg-ascend-gke --region us-east1 --project jsteinberg-ascend && kubectl get pods -A"
ssh root@${REMOTE_AGENT} "echo ${DOCKER_HUB_CRED_PSW} | docker login -u ${DOCKER_HUB_CRED_USR} --password-stdin"
ssh root@${REMOTE_AGENT} "docker build -t jsteinberg2/${IMAGE_NAME}:latest /artifact && docker push jsteinberg2/${IMAGE_NAME}:latest"
ssh root@${REMOTE_AGENT} "helm uninstall ${IMAGE_NAME} || sleep 1; sleep 30; helm install ${IMAGE_NAME} /artifact/helm/${IMAGE_NAME} --values ./artifact/helm/${IMAGE_NAME}/;"
ssh root@${REMOTE_AGENT} "helm uninstall ${IMAGE_NAME} || sleep 1; sleep 30; helm install ${IMAGE_NAME} /artifact/helm/${IMAGE_NAME} --values /artifact/helm/${IMAGE_NAME}/;"
'''
}
......
......@@ -5,10 +5,10 @@
replicaCount: 1
image:
repository: jsteinberg2/hello-world-spring-boot
repository: jsteinberg2/hello-world-spring-boot:latest
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: ""
# tag: ""
imagePullSecrets: []
nameOverride: ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment