Skip to content

Commit cbaa4d9

Browse files
author
Lucas Yoon
committed
testing10
1 parent 1f02f8b commit cbaa4d9

1 file changed

Lines changed: 22 additions & 3 deletions

File tree

.github/workflows/validate-with-registry.yaml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ jobs:
5151
minikube-version: latest
5252
kubernetes-version: v1.28.0
5353

54+
- name: Install odo latest version v3
55+
uses: redhat-actions/openshift-tools-installer@2de9a80cf012ad0601021515481d433b91ef8fd5 # v1
56+
with:
57+
odo: "3.16.1"
58+
5459
- name: Run Registry Validation Tests
5560
env:
5661
REGISTRY_PATH: ${{ github.workspace }}/registry
@@ -59,13 +64,27 @@ jobs:
5964
ENV: "minikube"
6065
run: |
6166
cd registry
62-
67+
68+
# echo "=== Available test tools ==="
69+
# ls -la tests/
70+
# find tests/ -name "odo*" -type f || echo "No odo found"
71+
72+
# # Add the registry tests directory to PATH
73+
# export PATH="$PWD/tests:$PATH"
74+
75+
# # Make odo executable if it exists
76+
# if [ -f "tests/odo" ]; then
77+
# chmod +x tests/odo
78+
# echo "Found odo at: $(which odo)"
79+
# odo version || echo "odo version check failed"
80+
# fi
81+
6382
echo "=== Schema Validation ==="
6483
bash tests/validate_devfile_schemas.sh --stacksPath stacks --stackDirs python-basic
65-
84+
6685
echo "=== Check ODO v3 ==="
6786
bash tests/check_odov3.sh --stacksPath ${{ github.workspace }}/current-repo --stackDirs "."
68-
87+
6988
echo "=== Check Non-Terminating ==="
7089
bash tests/check_non_terminating.sh --stacksPath ${{ github.workspace }}/current-repo --stackDirs "."
7190

0 commit comments

Comments
 (0)