Skip to content

Commit f47e271

Browse files
afrittolitekton-robot
authored andcommitted
Fix the xml report generation for kind e2e jobs
The generation of the junitxml test results file fails because mktemp accepts a slighlty different syntax on alpine. Pull in a fix to that from the plumbing repo. The ARTIFACTS varible is usually set by prow for prow jobs configs. Set it to the mount point of the workspace used by the e2e kind test task. Signed-off-by: Andrea Frittoli <andrea.frittoli@uk.ibm.com>
1 parent f05da78 commit f47e271

File tree

12 files changed

+32
-17
lines changed

12 files changed

+32
-17
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require (
2323
github.com/mitchellh/go-homedir v1.1.0
2424
github.com/opencontainers/image-spec v1.0.3-0.20220114050600-8b9d41f48198
2525
github.com/pkg/errors v0.9.1
26-
github.com/tektoncd/plumbing v0.0.0-20211012143332-c7cc43d9bc0c
26+
github.com/tektoncd/plumbing v0.0.0-20220329085922-d765a5cba75f
2727
go.opencensus.io v0.23.0
2828
go.uber.org/zap v1.19.1
2929
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b

go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/e2e-tests-kind.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ SKIP_INITIALIZE=true
22
PIPELINE_FEATURE_GATE=stable
33
RUN_YAML_TESTS=false
44
KO_DOCKER_REPO=registry.local:5000
5+
ARTIFACTS=/workspace/source/artifacts

test/e2e-tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ function run_e2e() {
5858
# Run these _after_ the integration tests b/c they don't quite work all the way
5959
# and they cause a lot of noise in the logs, making it harder to debug integration
6060
# test failures.
61-
if [ "${RUN_YAML_TESTS}" == "true"]; then
62-
go_test_e2e -tags=examples -timeout=20m ./test/ || failed=1
61+
if [ "${RUN_YAML_TESTS}" == "true" ]; then
62+
go_test_e2e -mod=readonly -tags=examples -timeout=20m ./test/ || failed=1
6363
fi
6464
}
6565

vendor/github.com/tektoncd/plumbing/.gitignore

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tektoncd/plumbing/adjustpermissions.py

Lines changed: 9 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tektoncd/plumbing/requirements.txt

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tektoncd/plumbing/scripts/deploy-release.sh

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tektoncd/plumbing/scripts/e2e-tests.sh

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tektoncd/plumbing/scripts/library.sh

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)