Skip to content

Commit f0c5f7a

Browse files
committed
Update Hook Repositories in Integration Tests
Adjust the docker repositories for hooks that was missed in integration tests. Signed-off-by: Tim Walter <tim.walter@iteratec.com>
1 parent 7c3cf69 commit f0c5f7a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -613,12 +613,12 @@ jobs:
613613
- name: "Hooks (ReadAndWrite) Integration Tests"
614614
run: |
615615
helm -n integration-tests install update-category ./hooks/update-field/ \
616-
--set="image.repository=docker.io/${{ env.DOCKER_NAMESPACE }}/update-field" \
616+
--set="image.repository=docker.io/${{ env.DOCKER_NAMESPACE }}/hook-update-field" \
617617
--set="image.tag=sha-$(git rev-parse --short HEAD)" \
618618
--set="attribute.name=category" \
619619
--set="attribute.value=fancy-category"
620620
helm -n integration-tests install update-severity ./hooks/update-field/ \
621-
--set="image.repository=docker.io/${{ env.DOCKER_NAMESPACE }}/update-field" \
621+
--set="image.repository=docker.io/${{ env.DOCKER_NAMESPACE }}/hook-update-field" \
622622
--set="image.tag=sha-$(git rev-parse --short HEAD)" \
623623
--set="attribute.name=severity" \
624624
--set="attribute.value=high"
@@ -642,7 +642,7 @@ jobs:
642642
--set="scanner.image.tag=sha-$(git rev-parse --short HEAD)"
643643
helm -n integration-tests install http-webhook ./demo-apps/http-webhook
644644
helm -n integration-tests install ro-hook ./hooks/generic-webhook/ \
645-
--set="image.repository=docker.io/${{ env.DOCKER_NAMESPACE }}/generic-webhook" \
645+
--set="image.repository=docker.io/${{ env.DOCKER_NAMESPACE }}/hook-generic-webhook" \
646646
--set="webhookUrl=http://http-webhook/hallo-welt" \
647647
--set="image.tag=sha-$(git rev-parse --short HEAD)"
648648
cd tests/integration/
@@ -772,7 +772,7 @@ jobs:
772772
helm -n integration-tests install http-webhook ./demo-apps/http-webhook --wait
773773
774774
helm -n integration-tests install notification-hook ./hooks/notification-hook --values tests/integration/hooks/__testFiles__/notification-hook-values.yaml \
775-
--set="image.repository=docker.io/${{env.DOCKER_NAMESPACE }}/notification-hook" \
775+
--set="image.repository=docker.io/${{env.DOCKER_NAMESPACE }}/hook-notification" \
776776
--set="image.tag=sha-$(git rev-parse --short HEAD)"
777777
778778
cd tests/integration/
@@ -848,7 +848,7 @@ jobs:
848848
kubectl create namespace cascading-tests
849849
# Install cascading-scans hook
850850
helm upgrade --install dssh ./hooks/cascading-scans/ -n cascading-tests \
851-
--set="image.repository=docker.io/${{ env.DOCKER_NAMESPACE }}/cascading-scans" \
851+
--set="image.repository=docker.io/${{ env.DOCKER_NAMESPACE }}/hook-cascading-scans" \
852852
--set="image.tag=sha-$(git rev-parse --short HEAD)"
853853
# Install nmap
854854
helm -n cascading-tests install nmap ./scanners/nmap/ \
@@ -891,7 +891,7 @@ jobs:
891891
kubectl create namespace cascading-tests
892892
# Install cascading-scans hook
893893
helm upgrade --install dssh ./hooks/cascading-scans/ -n cascading-tests --wait \
894-
--set="image.repository=docker.io/${{ env.DOCKER_NAMESPACE }}/cascading-scans" \
894+
--set="image.repository=docker.io/${{ env.DOCKER_NAMESPACE }}/hook-cascading-scans" \
895895
--set="image.tag=sha-$(git rev-parse --short HEAD)"
896896
# Install unsafe-https
897897
helm upgrade --install unsafe-https ./demo-apps/unsafe-https/ -n cascading-tests --wait

0 commit comments

Comments
 (0)