Skip to content

Commit 9ce9c11

Browse files
committed
test: add component test
Signed-off-by: Chen Keinan <[email protected]>
1 parent b98f332 commit 9ce9c11

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
cd ../../charts/gitops-runtime
3+
helm dependency update
4+
cd ../../

tests/component-tests/startup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ commands:
2828
- script: ./setup/scripts/init.sh
2929
background: true
3030
- command: sleep 3
31-
- command: cd ../../charts/gitops-runtime && helm dependency update && cd ../../
31+
- command: ./setup/scripts/helm-deps.sh
3232
- command: helm upgrade --install cf-gitops-runtime ../../charts/gitops-runtime --create-namespace --namespace codefresh -f ./setup/values/runtime.values.yaml
3333
- command: >
3434
kubectl patch deployment gitops-operator -n codefresh --type=json -p='[{"op": "add", "path": "/spec/template/spec/containers/0/env/-", "value": {"name": "NAMESPACE", "valueFrom": {"fieldRef": {"fieldPath": "metadata.namespace"}}}}]'

0 commit comments

Comments
 (0)