This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to tag kind-469ee67
in repository https://gitbox.apache.org/repos/asf/openserverless-testing.git

commit 4c12d4339b75250a60181541d3a136ca10dac4bd
Author: miki3421 <[email protected]>
AuthorDate: Thu Mar 19 22:22:57 2026 +0100

    Fix runtime test manifest path
---
 agent.md                    | 15 +++++++++++++++
 tests/14-runtime-testing.sh |  7 ++++---
 2 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/agent.md b/agent.md
index 6df8caa..8279d9a 100644
--- a/agent.md
+++ b/agent.md
@@ -376,3 +376,18 @@
   - `kopf.login_via_client(...)`
   - `kopf.login_via_pykube(...)`
 - The handler now logs which method returned credentials and raises a clearer 
error if all of them fail.
+
+### Follow-up failure in the runtime suite
+
+- After the operator auth fix, the `k3s-amd` run progressed through deploy, 
Redis, FerretDB, and Postgres checks.
+- The next failure was no longer Traefik-related. It came from 
`tests/14-runtime-testing.sh`, where:
+  - `ops -wsk project deploy --manifest ${PWD}/test-runtimes/manifest.yaml`
+  - resolved to `tests/test-runtimes/manifest.yaml`
+  - even though the real file lives at:
+    - `test-runtimes/manifest.yaml`
+
+### Runtime suite fix
+
+- `tests/14-runtime-testing.sh` now derives the repository root from the 
script location and uses:
+  - `${REPO_ROOT}/test-runtimes/manifest.yaml`
+- This makes the manifest lookup independent from the shell's current working 
directory.
diff --git a/tests/14-runtime-testing.sh b/tests/14-runtime-testing.sh
index a44d8fa..b465bb3 100755
--- a/tests/14-runtime-testing.sh
+++ b/tests/14-runtime-testing.sh
@@ -19,6 +19,9 @@
 resolve_test_selector "${1:?test selector}"
 TYPE="$TEST_SELECTOR"
 PROFILE="${TEST_PROFILE:-full}"
+SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
+REPO_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
+MANIFEST_PATH="${REPO_ROOT}/test-runtimes/manifest.yaml"
 
 user="testactionuser"
 password=$(ops -random --str 12)
@@ -66,9 +69,7 @@ if [ "$PROFILE" = "full" ]; then
     export S3_BUCKET_STATIC=$(ops -config S3_BUCKET_STATIC)
 fi
 
-PWD=$(pwd)
-
-if ops -wsk project deploy --manifest ${PWD}/test-runtimes/manifest.yaml | 
grep Success
+if ops -wsk project deploy --manifest "${MANIFEST_PATH}" | grep Success
 then echo SUCCESS DEPLOY PROJECT;
 else echo FAIL DEPLOY PROJECT; exit 1 
 fi

Reply via email to