File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ set +o pipefail
216216kubectl logs deployments/venafi-kubernetes-agent \
217217 --follow \
218218 --namespace venafi \
219- | timeout 60 jq ' try ( if .msg | test("Data sent successfully") then . | halt_error(0) end) catch . '
219+ | timeout 60 jq ' if .msg | test("Data sent successfully") then . | halt_error(0) end'
220220set -o pipefail
221221
222222# Create a unique TLS Secret and wait for it to appear in the Venafi certificate
@@ -280,12 +280,14 @@ 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 $COVERAGE_HOST_PATH
283+ mkdir -p /home/runner/work/jetstack-secure/jetstack-secure/_bin/artifacts
284+ # mkdir -p $COVERAGE_HOST_PATH
284285# We copy from the helper pod's mount path.
285- kubectl cp -n venafi " coverage-helper-pod:/coverage-data/." $COVERAGE_HOST_PATH
286+ kubectl cp -n venafi " coverage-helper-pod:/coverage-data/." /home/runner/work/jetstack-secure/jetstack-secure/_bin/artifacts
286287
287288echo " Coverage files retrieved. Listing contents:"
288- ls -la $COVERAGE_HOST_PATH
289+ # ls -la $COVERAGE_HOST_PATH
290+ ls -la /home/runner/work/jetstack-secure/jetstack-secure/_bin/artifacts
289291
290292# --- MANDATORY CLEANUP ---
291293# echo "Cleaning up helper pod and PersistentVolumeClaim..."
Original file line number Diff line number Diff line change @@ -52,7 +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
55+ # COVERAGE_HOST_PATH="$(COVERAGE_HOST_PATH)" ./hack/e2e/test.sh
56+ ./hack/e2e/test.sh
5657
5758.PHONY : test-helm
5859# # Run `helm unittest`.
You can’t perform that action at this time.
0 commit comments