feat(sreez): Upgrade sreez website to 1.2.0
This commit is contained in:
parent
225bb7bbe2
commit
d72f4212a3
@ -8,7 +8,7 @@ image:
|
|||||||
repository: registry.nationtech.io/sreez-website
|
repository: registry.nationtech.io/sreez-website
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "v1.1.0"
|
tag: "v1.2.0"
|
||||||
|
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: nationtech-registry-key
|
- name: nationtech-registry-key
|
||||||
|
|||||||
@ -1,24 +1,19 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ -z "${1}" ]]
|
|
||||||
then
|
|
||||||
echo "Specify the image tag as first argument to this script"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
REGISTRY=registry.nationtech.io
|
REGISTRY=registry.nationtech.io
|
||||||
IMAGE_NAME=sreez-website
|
IMAGE_NAME=sreez-website
|
||||||
TAG="v1.1.0"
|
TAG="v1.2.0"
|
||||||
|
|
||||||
IMAGE="${REGISTRY}/${IMAGE_NAME}:${TAG}"
|
IMAGE="${REGISTRY}/${IMAGE_NAME}:${TAG}"
|
||||||
|
|
||||||
echo "Going to build and push image ${IMAGE}"
|
echo -n "Going to build and push image ${IMAGE}. [enter] to continue "
|
||||||
|
read
|
||||||
|
|
||||||
docker build -t "${IMAGE}" .
|
#docker build -t "${IMAGE}" .
|
||||||
|
|
||||||
docker push "${IMAGE}"
|
#docker push "${IMAGE}"
|
||||||
|
|
||||||
echo "Image is built and pushed, do you want to commit and deploy this new version ? (enter to continue, CTRL+C to abort"
|
echo -n "Image is built and pushed, do you want to commit and deploy this new version ? [enter] to continue, CTRL+C to abort "
|
||||||
read
|
read
|
||||||
|
|
||||||
python ../helm/tools/update_yaml.py ../helm/sreez-website/values.yaml .image.tag "${TAG}"
|
python ../helm/tools/update_yaml.py ../helm/sreez-website/values.yaml .image.tag "${TAG}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user