Skip to content

Instantly share code, notes, and snippets.

@vfarcic
Created September 6, 2019 12:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save vfarcic/1914782b35a985b9052a980d165b032a to your computer and use it in GitHub Desktop.
Save vfarcic/1914782b35a985b9052a980d165b032a to your computer and use it in GitHub Desktop.
# Make sure that you are not inside the `jx-go` repository.
# Execute `cd ..` if you are.
open "https://github.com/vfarcic/go-demo-6"
# Fork it
GH_USER=[...] # Replace `[...]` with your GitHub user
git clone https://github.com/$GH_USER/go-demo-6.git
cd go-demo-6
git checkout orig
git merge -s ours master --no-edit
git checkout master
git merge orig
rm -rf charts
ls -1
git push
jx import --batch-mode
ls -1
jx get activities --filter go-demo-6 --watch
# Stop with *ctrl*c*
jx get applications
# Copy the URL
STAGING_ADDR=[...] # Paste the URL instead of `[...]`
curl "$STAGING_ADDR/demo/hello" # It fails
kubectl --namespace cd-staging get pods
kubectl --namespace cd-staging logs -l app=jx-go-demo-6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment