@@ -1130,44 +1130,6 @@ jobs:
11301130 kubectl -n integration-tests delete scans --all
11311131 kubectl delete namespace integration-tests
11321132
1133- # ---- Cascading Scans SSLyze Integration Tests ----
1134-
1135- - name : " cascading Scans sslyze Integration Tests"
1136- run : |
1137-
1138- # We'll recreate the namespace so that no cascadingRules of previous tests can exist in there
1139- if kubectl get namespace integration-tests; then
1140- kubectl delete namespace integration-tests
1141- fi
1142- kubectl create namespace integration-tests
1143-
1144- # Install cascading-scans hook
1145- helm upgrade --install dssh ./hooks/cascading-scans/ -n integration-tests --wait \
1146- --set="hook.image.repository=docker.io/${{ env.DOCKER_NAMESPACE }}/hook-cascading-scans" \
1147- --set="hook.image.tag=sha-$(git rev-parse --short HEAD)"
1148- # Install unsafe-https
1149- helm upgrade --install unsafe-https ./demo-targets/unsafe-https/ -n integration-tests --wait
1150- # Install nmap
1151- helm -n integration-tests install nmap ./scanners/nmap/ --wait \
1152- --set="scanner.image.repository=docker.io/${{ env.DOCKER_NAMESPACE }}/scanner-nmap" \
1153- --set="scanner.image.tag=sha-$(git rev-parse --short HEAD)" \
1154- --set="parser.image.repository=docker.io/${{ env.DOCKER_NAMESPACE }}/parser-nmap" \
1155- --set="parser.image.tag=sha-$(git rev-parse --short HEAD)" \
1156- --set="parser.env[0].name=CRASH_ON_FAILED_VALIDATION" \
1157- --set-string="parser.env[0].value=true"
1158- # Install sslyze
1159- helm -n integration-tests install sslyze ./scanners/sslyze/ --wait \
1160- --set="parser.image.repository=docker.io/${{ env.DOCKER_NAMESPACE }}/parser-sslyze" \
1161- --set="parser.image.tag=sha-$(git rev-parse --short HEAD)" \
1162- --set="parser.env[0].name=CRASH_ON_FAILED_VALIDATION" \
1163- --set-string="parser.env[0].value=true"
1164- # Actually run the tests
1165- cd tests/integration/
1166- npx jest --ci --color scanner/cascade-nmap-sslyze.test.js
1167- # Clean up:
1168- kubectl -n integration-tests delete scans --all
1169- kubectl delete namespace integration-tests
1170-
11711133 # ---- Debuging Cluster on Failure ----
11721134
11731135 - name : Inspect Post Failure
0 commit comments