File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -18,4 +18,5 @@ trap 'err_report $LINENO' ERR
1818
1919build_transform_jsonata_image || exit $?
2020
21- build_integration_images || exit $?
21+ # TODO: To enable the builds in build-tests we need to disable the "push"
22+ # build_integration_images || exit $?
Original file line number Diff line number Diff line change @@ -4,16 +4,20 @@ set -euo pipefail
44
55export TAG=${TAG:- $(git rev-parse HEAD)}
66
7- export KO_DOCKER_REPO=" ${KO_DOCKER_REPO:- kind.local} "
8- export TRANSFORM_JSONATA_IMAGE_WITH_TAG=" ${KO_DOCKER_REPO} /transform-jsonata:${TAG} "
7+ export TRANSFORM_JSONATA_IMAGE_WITH_TAG=" ${KO_DOCKER_REPO:- kind.local} /transform-jsonata:${TAG} "
98
109[[ ! -v REPO_ROOT_DIR ]] && REPO_ROOT_DIR=" $( git rev-parse --show-toplevel) "
1110readonly REPO_ROOT_DIR
1211
1312export TRANSFORM_JSONATA_DIR=" ${REPO_ROOT_DIR} /transform-jsonata"
1413
14+
1515function build_transform_jsonata_image() {
1616
17+ if (( ${IS_PROW:- 0} )) ; then
18+ docker run --privileged --rm tonistiigi/binfmt --install all binfmt
19+ fi
20+
1721 docker info
1822 docker buildx ls
1923
Original file line number Diff line number Diff line change 22
33# shellcheck disable=SC1090
44source " $( go run knative.dev/hack/cmd/script presubmit-tests.sh) "
5- source " $( go run knative.dev/hack/cmd/script infra-library.sh) "
65
76function build_tests() {
87 header " Running build tests"
8+ export IS_PROW
99 ./hack/build.sh || fail_test " build tests failed"
1010}
1111
You can’t perform that action at this time.
0 commit comments