Skip to content

Commit 8e4f088

Browse files
committed
CH-134 remove nfs build
1 parent 4cae093 commit 8e4f088

3 files changed

Lines changed: 7 additions & 50 deletions

File tree

applications/nfsserver/deploy/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ harness:
44
auto: false
55
deployment:
66
auto: false
7+
image: gcr.io/metacellllc/cloudharness/nfsserver:1.0
78

89

910
# nfs server pvc disk size (/exports)

applications/samples/deploy/values-test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ harness:
55
- events
66
- common
77
- jupyterhub
8+
- volumemanager
9+
- notifications
810
accounts:
911
roles:
1012
- role1

deployment/codefresh-test.yaml

Lines changed: 4 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ steps:
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,27 +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
148127
notifications:
149128
type: build
150129
stage: build
@@ -210,27 +189,6 @@ steps:
210189
== true
211190
forceNoCache: includes('${{VOLUMEMANAGER_TAG_FORCE_BUILD}}', '{{VOLUMEMANAGER_TAG_FORCE_BUILD}}')
212191
== 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
234192
jupyterhub:
235193
type: build
236194
stage: build
@@ -466,7 +424,7 @@ steps:
466424
working_directory: ./${{CF_REPO_NAME}}
467425
title: Installing chart
468426
arguments:
469-
helm_version: 3.11.0
427+
helm_version: 3.6.2
470428
chart_name: deployment/helm
471429
release_name: test-${{NAMESPACE_BASENAME}}
472430
kube_context: '${{CLUSTER_NAME}}'
@@ -478,9 +436,6 @@ steps:
478436
custom_values:
479437
- apps_notifications_harness_secrets_email-user=${{EMAIL-USER}}
480438
- 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}}
484439
- apps_samples_harness_secrets_asecret=${{ASECRET}}
485440
build_test_images:
486441
title: Build test images
@@ -540,7 +495,6 @@ steps:
540495
- kubectl rollout status deployment/notifications
541496
- kubectl rollout status deployment/accounts
542497
- kubectl rollout status deployment/volumemanager
543-
- kubectl rollout status deployment/sentry
544498
- kubectl rollout status deployment/argo-server-gk
545499
- kubectl rollout status deployment/samples
546500
- kubectl rollout status deployment/samples-gk
@@ -617,7 +571,7 @@ steps:
617571
image: '${{REGISTRY}}/cloudharness/test-e2e:${{TEST_E2E_TAG}}'
618572
fail_fast: false
619573
commands:
620-
- npx puppeteer browsers install chrome
574+
- npx puppeteer browsers install chrome
621575
- yarn test
622576
scale:
623577
jupyterhub_e2e_test:

0 commit comments

Comments
 (0)