Skip to content

Commit 3b5cb87

Browse files
authored
Merge pull request #198 from RS-PYTHON/ignore-helm-tests
Ignore Helm tests when deploying an app
2 parents e07b226 + 7865b4d commit 3b5cb87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/app-installer/tasks/install_app.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
- name: "{{ package_name }} - {{ app_name }} | Deploy resources"
9797
shell: |
9898
kustomize build --enable-helm {{ resources_dir.path }} \
99+
| yq eval 'select(.metadata.annotations."helm.sh/hook" != "test")' - \
99100
{% if private_registry | bool %} \
100101
| sed -E '/image:/ {
101102
/image: (docker.io\/)?([a-z0-9\-]+\/[a-z0-9\-]+)(:[^@ ]+)?(@sha256:[a-f0-9]{64})?/ {

0 commit comments

Comments
 (0)