Skip to content

Commit 486403f

Browse files
author
Mladen Rusev
committed
explicit set path
1 parent 9080de7 commit 486403f

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

hack/e2e/test.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ set +o pipefail
216216
kubectl 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'
220220
set -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..."
280280
kubectl wait --for=condition=Ready pod/coverage-helper-pod -n venafi --timeout=2m
281281

282282
echo "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

287288
echo "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..."

make/02_mod.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
5454
test-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`.

0 commit comments

Comments
 (0)