3333 working_directory : .
3434 commands :
3535 - bash cloud-harness/install.sh
36- - ' harness-deployment . -n test-${{NAMESPACE_BASENAME}} -d ${{DOMAIN}} -r ${{REGISTRY}}
37- -rs ${{REGISTRY_SECRET}} -e test --write-env -N '
36+ - harness-deployment . -n test-${{NAMESPACE_BASENAME}} -d ${{DOMAIN}} -r ${{REGISTRY}}
37+ -rs ${{REGISTRY_SECRET}} -e test --write-env -N -i samples
3838 - cat deployment/.env >> ${{CF_VOLUME_PATH}}/env_vars_to_export
3939 - cat ${{CF_VOLUME_PATH}}/env_vars_to_export
4040 prepare_deployment_view :
@@ -124,49 +124,6 @@ steps:
124124 type : parallel
125125 stage : build
126126 steps :
127- nfsserver :
128- type : build
129- stage : build
130- dockerfile : Dockerfile
131- registry : ' ${{CODEFRESH_REGISTRY}}'
132- buildkit : true
133- build_arguments :
134- - DOMAIN=${{DOMAIN}}
135- - NOCACHE=${{CF_BUILD_ID}}
136- - REGISTRY=${{REGISTRY}}/cloudharness/
137- image_name : cloudharness/nfsserver
138- title : Nfsserver
139- working_directory : ./applications/nfsserver
140- tag : ' ${{NFSSERVER_TAG}}'
141- when :
142- condition :
143- any :
144- buildDoesNotExist : includes('${{NFSSERVER_TAG_EXISTS}}', '{{NFSSERVER_TAG_EXISTS}}')
145- == true
146- forceNoCache : includes('${{NFSSERVER_TAG_FORCE_BUILD}}', '{{NFSSERVER_TAG_FORCE_BUILD}}')
147- == false
148- notifications :
149- type : build
150- stage : build
151- dockerfile : Dockerfile
152- registry : ' ${{CODEFRESH_REGISTRY}}'
153- buildkit : true
154- build_arguments :
155- - DOMAIN=${{DOMAIN}}
156- - NOCACHE=${{CF_BUILD_ID}}
157- - REGISTRY=${{REGISTRY}}/cloudharness/
158- - CLOUDHARNESS_BASE=${{REGISTRY}}/cloudharness/cloudharness-base:${{CLOUDHARNESS_BASE_TAG}}
159- image_name : cloudharness/notifications
160- title : Notifications
161- working_directory : ./applications/notifications/server
162- tag : ' ${{NOTIFICATIONS_TAG}}'
163- when :
164- condition :
165- any :
166- buildDoesNotExist : includes('${{NOTIFICATIONS_TAG_EXISTS}}', '{{NOTIFICATIONS_TAG_EXISTS}}')
167- == true
168- forceNoCache : includes('${{NOTIFICATIONS_TAG_FORCE_BUILD}}', '{{NOTIFICATIONS_TAG_FORCE_BUILD}}')
169- == false
170127 accounts :
171128 type : build
172129 stage : build
@@ -210,27 +167,6 @@ steps:
210167 == true
211168 forceNoCache : includes('${{VOLUMEMANAGER_TAG_FORCE_BUILD}}', '{{VOLUMEMANAGER_TAG_FORCE_BUILD}}')
212169 == false
213- sentry :
214- type : build
215- stage : build
216- dockerfile : Dockerfile
217- registry : ' ${{CODEFRESH_REGISTRY}}'
218- buildkit : true
219- build_arguments :
220- - DOMAIN=${{DOMAIN}}
221- - NOCACHE=${{CF_BUILD_ID}}
222- - REGISTRY=${{REGISTRY}}/cloudharness/
223- image_name : cloudharness/sentry
224- title : Sentry
225- working_directory : ./applications/sentry
226- tag : ' ${{SENTRY_TAG}}'
227- when :
228- condition :
229- any :
230- buildDoesNotExist : includes('${{SENTRY_TAG_EXISTS}}', '{{SENTRY_TAG_EXISTS}}')
231- == true
232- forceNoCache : includes('${{SENTRY_TAG_FORCE_BUILD}}', '{{SENTRY_TAG_FORCE_BUILD}}')
233- == false
234170 jupyterhub :
235171 type : build
236172 stage : build
@@ -466,7 +402,7 @@ steps:
466402 working_directory : ./${{CF_REPO_NAME}}
467403 title : Installing chart
468404 arguments :
469- helm_version : 3.11.0
405+ helm_version : 3.6.2
470406 chart_name : deployment/helm
471407 release_name : test-${{NAMESPACE_BASENAME}}
472408 kube_context : ' ${{CLUSTER_NAME}}'
@@ -476,11 +412,6 @@ steps:
476412 custom_value_files :
477413 - ./deployment/helm/values.yaml
478414 custom_values :
479- - apps_notifications_harness_secrets_email-user=${{EMAIL-USER}}
480- - apps_notifications_harness_secrets_email-password=${{EMAIL-PASSWORD}}
481- - apps_sentry_harness_secrets_email-server=${{EMAIL-SERVER}}
482- - apps_sentry_harness_secrets_email-user=${{EMAIL-USER}}
483- - apps_sentry_harness_secrets_email-password=${{EMAIL-PASSWORD}}
484415 - apps_samples_harness_secrets_asecret=${{ASECRET}}
485416 build_test_images :
486417 title : Build test images
@@ -537,10 +468,8 @@ steps:
537468 commands :
538469 - kubectl config use-context ${{CLUSTER_NAME}}
539470 - kubectl config set-context --current --namespace=test-${{NAMESPACE_BASENAME}}
540- - kubectl rollout status deployment/notifications
541471 - kubectl rollout status deployment/accounts
542472 - kubectl rollout status deployment/volumemanager
543- - kubectl rollout status deployment/sentry
544473 - kubectl rollout status deployment/argo-server-gk
545474 - kubectl rollout status deployment/samples
546475 - kubectl rollout status deployment/samples-gk
@@ -617,7 +546,7 @@ steps:
617546 image : ' ${{REGISTRY}}/cloudharness/test-e2e:${{TEST_E2E_TAG}}'
618547 fail_fast : false
619548 commands :
620- - npx puppeteer browsers install chrome
549+ - npx puppeteer browsers install chrome
621550 - yarn test
622551 scale :
623552 jupyterhub_e2e_test :
0 commit comments