Skip to content

Commit 1bf20ae

Browse files
DuologicMattMencel
authored andcommitted
make e2e work
Signed-off-by: Duologic <[email protected]>
1 parent d5bb106 commit 1bf20ae

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cluster/local/integration_tests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ echo "created cache dir at ${CACHE_PATH}"
7272
docker tag "${BUILD_IMAGE}" "${PACKAGE_IMAGE}"
7373
"${UP}" xpkg xp-extract --from-daemon "${PACKAGE_IMAGE}" -o "${CACHE_PATH}/${PACKAGE_NAME}.gz" && chmod 644 "${CACHE_PATH}/${PACKAGE_NAME}.gz"
7474

75+
7576
# create kind cluster with extra mounts
7677
echo_step "creating k8s cluster using kind"
7778
KIND_CONFIG="$( cat <<EOF
@@ -171,7 +172,8 @@ EOF
171172
echo "${INSTALL_YAML}" | "${KUBECTL}" apply -f -
172173

173174
echo_step "waiting for provider to be installed"
174-
kubectl wait "provider.pkg.crossplane.io/${PACKAGE_NAME}" --for=condition=healthy --timeout=60s
175+
"${KUBECTL}" wait "provider.pkg.crossplane.io/${PACKAGE_NAME}" --for=condition=healthy --timeout=60s
176+
175177

176178
# printing the cache dir contents can be useful for troubleshooting failures
177179
echo_step "check kind node cache dir contents"

0 commit comments

Comments
 (0)