We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55da3db commit 5c4f4b6Copy full SHA for 5c4f4b6
hack/test-full.sh
@@ -145,9 +145,14 @@ preconditions() {
145
fi
146
147
148
- # TODO: if Podman tests are enabled, check that podman is installed and running
149
- # https://github.com/knative/func/issues/3209
150
-
+ # Check if Podman is installed and available (if Podman E2E tests are enabled)
+ if [ "${FUNC_E2E_PODMAN}" = "true" ]; then
+ if ! command -v podman >/dev/null 2>&1; then
151
+ echo "ERROR: Podman is required for Podman E2E tests but not found!"
152
+ echo "Please install Podman and ensure it is in your PATH."
153
+ exit 1
154
+ fi
155
156
echo ""
157
echo "${green}✓ Preconditions checks passed${reset}"
158
}
0 commit comments