File tree Expand file tree Collapse file tree 3 files changed +7
-16
lines changed
Expand file tree Collapse file tree 3 files changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -280,17 +280,7 @@ echo "Waiting for the helper pod to be ready..."
280280kubectl wait --for=condition=Ready pod/coverage-helper-pod -n venafi --timeout=2m
281281
282282echo " Copying coverage files from the helper pod..."
283- mkdir -p /home/runner/work/jetstack-secure/jetstack-secure/_bin/artifacts
284- # mkdir -p $COVERAGE_HOST_PATH
285- # We copy from the helper pod's mount path.
286- kubectl cp -n venafi " coverage-helper-pod:/coverage-data/." /home/runner/work/jetstack-secure/jetstack-secure/_bin/artifacts
287-
283+ mkdir -p $COVERAGE_HOST_PATH
284+ kubectl cp -n venafi " coverage-helper-pod:/coverage-data/." $COVERAGE_HOST_PATH
288285echo " Coverage files retrieved. Listing contents:"
289- # ls -la $COVERAGE_HOST_PATH
290- ls -la /home/runner/work/jetstack-secure/jetstack-secure/_bin/artifacts
291-
292- # --- MANDATORY CLEANUP ---
293- # echo "Cleaning up helper pod and PersistentVolumeClaim..."
294- # kubectl delete pod coverage-helper-pod -n venafi
295- # kubectl delete pvc coverage-pvc -n venafi
296- # echo "Cleanup complete."
286+ ls -la $COVERAGE_HOST_PATH
Original file line number Diff line number Diff line change 1+ podSecurityContext :
2+ fsGroup : 2000
13volumes :
24 - name : coverage-storage
35 persistentVolumeClaim :
46 claimName : coverage-pvc
5-
67volumeMounts :
78 - name : coverage-storage
89 mountPath : /coverage
Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ shared_generate_targets += generate-crds-venconn
5252# # See `hack/e2e/test.sh` for the full test script.
5353# # @category Testing
5454test-e2e-gke : | $(NEEDS_HELM ) $(NEEDS_STEP ) $(NEEDS_VENCTL )
55- # COVERAGE_HOST_PATH="$(COVERAGE_HOST_PATH)" ./hack/e2e/test.sh
56- ./hack/e2e/test.sh
55+ COVERAGE_HOST_PATH=" $( COVERAGE_HOST_PATH) " ./hack/e2e/test.sh
56+ # ./hack/e2e/test.sh
5757
5858.PHONY : test-helm
5959# # Run `helm unittest`.
You can’t perform that action at this time.
0 commit comments