File tree Expand file tree Collapse file tree 1 file changed +1
-23
lines changed
Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -119,24 +119,6 @@ jobs:
119119 - run : cd gitops-demo && git commit -m "update tutorial-ruby $NEW_VERSION"
120120 - run : cd gitops-demo && git push https://sonariorobot:$GITHUB_TOKEN@github.com/Rookout/gitops-demo.git production
121121
122- deploy_demo :
123- docker :
124- - image : google/cloud-sdk:latest
125- working_directory : ~/demo
126- steps :
127- - add_ssh_keys
128- - *disable_strict_git
129- - *load_cache
130- - *setup_workspace
131- - *auth_google
132- - *load_version
133- - run : git clone git@github.com:Rookout/deployment-demo
134- - run : apt install make -y
135- - run : export GOOGLE_APPLICATION_CREDENTIALS=/root/demo/gcp-key.json && cd deployment-demo && export env=staging && make install-helm deploy-demo
136- - run : export GOOGLE_APPLICATION_CREDENTIALS=/root/demo/gcp-key.json && cd deployment-demo && export env=production && make install-helm deploy-demo
137- - run : export GOOGLE_APPLICATION_CREDENTIALS=/root/demo/gcp-key.json && cd deployment-demo && export env=sandbox && make install-helm deploy-demo
138- - run : export GOOGLE_APPLICATION_CREDENTIALS=/root/demo/gcp-key.json && cd deployment-demo && export env=staging-sandbox && make install-helm deploy-demo
139-
140122 test_demo_servers_up :
141123 docker :
142124 - image : google/cloud-sdk:latest
@@ -177,13 +159,9 @@ workflows:
177159 requires :
178160 - build_and_push_demo_image
179161 << : *filter_master
180- - deploy_demo :
181- requires :
182- - build_and_push_demo_image
183- << : *filter_master
184162 - test_demo_servers_up :
185163 requires :
186- - deploy_demo
164+ - deploy_demo_argo
187165 << : *filter_master
188166 - notify_slack :
189167 requires :
You can’t perform that action at this time.
0 commit comments