Skip to content

Commit 752aa70

Browse files
author
Lucas Yoon
committed
testing
1 parent 96ac04b commit 752aa70

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,25 @@ jobs:
5151
- name: Run Registry Validation Tests
5252
env:
5353
REGISTRY_PATH: ${{ github.workspace }}/registry
54-
DEVFILE_PATH: ${{ github.workspace }}/registry/tests/devfile.yaml
54+
DEVFILE_PATH: ${{ github.workspace }}/current-repo/devfile.yaml
5555
TEST_NAMESPACE: "default"
5656
YQ_PATH: "yq"
5757
ENV: "minikube"
5858
run: |
59-
cd registry/tests
60-
59+
# cd registry/tests
60+
6161
echo "=== Schema Validation ==="
6262
# Run schema validation directly on the devfile
63-
yq eval 'true' devfile.yaml > /dev/null || (echo "Invalid YAML in devfile" && exit 1)
63+
# yq eval 'true' devfile.yaml > /dev/null || (echo "Invalid YAML in devfile" && exit 1)
64+
6465
6566
echo "=== ODO v3 Validation ==="
67+
bash registry/tests/check_odov3.sh
68+
6669
# Use the updated script that accepts input files directly
67-
bash check_odov3.sh --stacksPath $(pwd) --stackDirs "."
70+
# bash check_odov3.sh --stacksPath $(pwd)/current-repo/devfile.yaml --stackDirs "."
6871
6972
- name: Cleanup
7073
if: always()
7174
run: |
72-
kubectl delete pods --all -n default --ignore-not-found=true || true
75+
kubectl delete pods --all -n default --ignore-not-found=true || true

0 commit comments

Comments
 (0)