Last active
September 6, 2019 16:23
-
-
Save vitor-caetano/93af45263f226c04f38957752b049eb6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
kubectl --namespace jx-staging get pods --show-labels | |
kubectl --namespace jx-staging \ | |
describe pod \ | |
-l app=jx-go-demo-6 | |
kubectl -n jx get act --show-labels | |
# DELETING | |
jx delete application go-demo-6 --batch-mode | |
kubectl -n jx delete act -l owner=$GH_USER -l repository=go-demo-6 | |
# Fixing buildpack branch | |
cat charts/go-demo-6/Makefile \ | |
| sed -e \ | |
"s@vfarcic@$PROJECT@g" \ | |
| tee charts/go-demo-6/Makefile | |
cat charts/preview/Makefile \ | |
| sed -e \ | |
"s@vfarcic@$PROJECT@g" \ | |
| tee charts/preview/Makefile | |
cat skaffold.yaml \ | |
| sed -e \ | |
"s@vfarcic@$PROJECT@g" \ | |
| tee skaffold.yaml | |
jx install \ | |
--provider $PROVIDER \ | |
--external-ip $LB_IP \ | |
--domain $DOMAIN \ | |
--default-admin-password=admin \ | |
--ingress-namespace $INGRESS_NS \ | |
--ingress-deployment $INGRESS_DEP \ | |
--default-environment-prefix tekton \ | |
--git-provider-kind github \ | |
--namespace cd \ | |
--kaniko \ | |
--docker-registry gcr.io --docker-registry-org $PROJECT \ | |
--prow \ | |
--tekton \ | |
-b | |
jx create cluster gke \ | |
--cluster-name jx-rocks \ | |
--project-id $PROJECT \ | |
--region us-east1 \ | |
--machine-type n1-standard-2 \ | |
--min-num-nodes 1 \ | |
--max-num-nodes 2 \ | |
--default-admin-password=admin \ | |
--default-environment-prefix tekton \ | |
--git-provider-kind github \ | |
--namespace cd \ | |
--docker-registry gcr.io --docker-registry-org $PROJECT \ | |
--prow \ | |
--tekton \ | |
--batch-mode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment