Created
March 25, 2019 15:51
-
-
Save vfarcic/345da6a87564078b84d30eccfd3037c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Links to gists for creating a cluster with jx | |
# gke-jx.sh: https://gist.github.com/86e10c8771582c4b6a5249e9c513cd18 | |
# eks-jx.sh: https://gist.github.com/dfaf2b91819c0618faf030e6ac536eac | |
# aks-jx.sh: https://gist.github.com/6e01717c398a5d034ebe05b195514060 | |
# install.sh: https://gist.github.com/3dd5592dc5d582ceeb68fb3c1cc59233 | |
cd go-demo-6 | |
git pull | |
git checkout pr | |
git merge -s ours master --no-edit | |
git checkout master | |
git merge pr | |
git push | |
jx import -b | |
jx get activities -f go-demo-6 -w | |
jx get applications -e production | |
jx get applications -e staging | |
VERSION=[...] | |
jx promote go-demo-6 \ | |
--version $VERSION \ | |
--env production \ | |
-b | |
jx get applications -e production | |
PROD_ADDR=[...] | |
curl "$PROD_ADDR/demo/hello" | |
cd .. | |
GH_USER=[...] | |
hub delete -y \ | |
$GH_USER/environment-jx-rocks-staging | |
hub delete -y \ | |
$GH_USER/environment-jx-rocks-production | |
rm -rf ~/.jx/environments/$GH_USER/environment-jx-rocks-* | |
rm -f ~/.jx/jenkinsAuth.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment