@@ -11,13 +11,6 @@ commands:
1111 - run : yarn install
1212 - run : yarn add -W apollo-datasource-mongodb && yarn add -W mongodb
1313
14- install_and_login_doctl :
15- steps :
16- - run : sudo apt-get install -y openssl
17- - run : wget https://github.com/digitalocean/doctl/releases/download/v1.68.0/doctl-1.68.0-linux-amd64.tar.gz
18- - run : tar xzf doctl-1.68.0-linux-amd64.tar.gz
19- - run : ./doctl auth init
20-
2114 login_docker :
2215 steps :
2316 - run : echo "$DOCKER_PASSWORD" | docker login --username $DOCKER_USERNAME --password-stdin
@@ -97,21 +90,18 @@ jobs:
9790 - k8s/install
9891 - k8s/initialize :
9992 cluster : predecos-kubernetes-cluster
100- # - install_and_login_doctl
101- # - kubernetes/install-kubectl
10293 - run :
10394 command : docker build -t thinkdeeptech/deep-microservice-collection:${CIRCLE_BUILD_NUM} -t thinkdeeptech/deep-microservice-collection:latest --build-arg PREDECOS_MONGODB_CONNECTION_STRING=$PREDECOS_MONGODB_CONNECTION_STRING --build-arg PREDECOS_TWITTER_BEARER=$PREDECOS_TWITTER_BEARER --build-arg NODE_ENV=$NODE_ENV .
10495 working_directory : ./packages/deep-microservice-collection
10596 - run : docker push thinkdeeptech/deep-microservice-collection:${CIRCLE_BUILD_NUM}
10697 - run : docker push thinkdeeptech/deep-microservice-collection:latest
107- # - run: ./doctl kubernetes cluster kubeconfig save predecos-kubernetes-cluster
10898 - kubernetes/delete-resource :
10999 now : true
110100 resource-names : deep-microservice-collection-deployment
111101 resource-types : deployments
112102 wait : true
113103 - kubernetes/create-or-update-resource :
114- get-rollout-status : true
104+ # get-rollout-status: true
115105 resource-file-path : ./packages/deep-microservice-collection/k8s/deep-microservice-collection-deployment.yml
116106 resource-name : deep-microservice-collection-deployment
117107 show-kubectl-command : true
@@ -131,21 +121,18 @@ jobs:
131121 - k8s/install
132122 - k8s/initialize :
133123 cluster : predecos-kubernetes-cluster
134- # - install_and_login_doctl
135- # - kubernetes/install-kubectl
136124 - run :
137125 command : docker build -t thinkdeeptech/deep-microservice-analysis:${CIRCLE_BUILD_NUM} -t thinkdeeptech/deep-microservice-analysis:latest --build-arg PREDECOS_PG_CONNECTION_STRING=$PREDECOS_PG_CONNECTION_STRING --build-arg PREDECOS_MICROSERVICE_COLLECTION_URL=$PREDECOS_MICROSERVICE_COLLECTION_URL --build-arg NODE_ENV=$NODE_ENV .
138126 working_directory : ./packages/deep-microservice-analysis
139127 - run : docker push thinkdeeptech/deep-microservice-analysis:${CIRCLE_BUILD_NUM}
140128 - run : docker push thinkdeeptech/deep-microservice-analysis:latest
141- # - run: ./doctl kubernetes cluster kubeconfig save predecos-kubernetes-cluster
142129 - kubernetes/delete-resource :
143130 now : true
144131 resource-names : deep-microservice-analysis-deployment
145132 resource-types : deployments
146133 wait : true
147134 - kubernetes/create-or-update-resource :
148- get-rollout-status : true
135+ # get-rollout-status: true
149136 resource-file-path : ./packages/deep-microservice-analysis/k8s/deep-microservice-analysis-deployment.yml
150137 resource-name : deep-microservice-analysis-deployment
151138 show-kubectl-command : true
@@ -164,21 +151,18 @@ jobs:
164151 - k8s/install
165152 - k8s/initialize :
166153 cluster : predecos-kubernetes-cluster
167- # - install_and_login_doctl
168- # - kubernetes/install-kubectl
169154 - run :
170155 command : docker build -t thinkdeeptech/deep-microservice-gateway:${CIRCLE_BUILD_NUM} -t thinkdeeptech/deep-microservice-gateway:latest --build-arg PREDECOS_AUTH_AUDIENCE=$PREDECOS_AUTH_AUDIENCE --build-arg PREDECOS_AUTH_JWKS_URI=$PREDECOS_AUTH_JWKS_URI --build-arg PREDECOS_AUTH_ISSUER=$PREDECOS_AUTH_ISSUER --build-arg PREDECOS_MICROSERVICE_ANALYSIS_URL=$PREDECOS_MICROSERVICE_ANALYSIS_URL --build-arg PREDECOS_MICROSERVICE_COLLECTION_URL=$PREDECOS_MICROSERVICE_COLLECTION_URL --build-arg NODE_ENV=$NODE_ENV .
171156 working_directory : ./packages/deep-microservice-gateway
172157 - run : docker push thinkdeeptech/deep-microservice-gateway:${CIRCLE_BUILD_NUM}
173158 - run : docker push thinkdeeptech/deep-microservice-gateway:latest
174- # - run: ./doctl kubernetes cluster kubeconfig save predecos-kubernetes-cluster
175159 - kubernetes/delete-resource :
176160 now : true
177161 resource-names : deep-microservice-gateway-deployment
178162 resource-types : deployments
179163 wait : true
180164 - kubernetes/create-or-update-resource :
181- get-rollout-status : true
165+ # get-rollout-status: true
182166 resource-file-path : ./packages/deep-microservice-gateway/k8s/deep-microservice-gateway-deployment.yml
183167 resource-name : deep-microservice-gateway-deployment
184168 show-kubectl-command : true
0 commit comments