Skip to content

Commit

Permalink
Check tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Meezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram committed Jan 5, 2020
1 parent 6268f6d commit 0558494
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ COMMIT_TAG=$CIRCLE_TAG
# We must export it so it's available for envsubst
export COMMIT_TAG=$COMMIT_TAG

echo $CIRCLE_TAG

echo $COMMIT_TAG
# since the only way for envsubst to work on files is using input/output redirection,
# it's not possible to do in-place substitution, so we need to save the output to another file
# and overwrite the original with that one.
envsubst <./.kube/manifest.yml >./.kube/manifest.yml.out
mv ./.kube/manifest.yml.out ./.kube/manifest.yml

cat ./kube/manifest.yml

echo "$K8S_CLUSTER_CERTIFICATE" | base64 --decode > cert.crt

./kubectl \
Expand Down

0 comments on commit 0558494

Please sign in to comment.