Skip to content

Commit 9ab107d

Browse files
author
Lucas Yoon
committed
testing5
1 parent 26073a9 commit 9ab107d

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,29 @@ jobs:
2626
repository: devfile/registry
2727
path: registry
2828

29-
- name: Setup test environment with overrides
30-
run: |
31-
# Create the expected directory structure for validation
32-
mkdir -p registry/tests/sample-stack
33-
cp current-repo/devfile.yaml registry/tests/sample-stack/
34-
cp -r current-repo/* registry/tests/sample-stack/ 2>/dev/null || true
29+
# - name: Setup test environment with overrides
30+
# run: |
31+
# # Create the expected directory structure for validation
32+
# mkdir -p registry/tests/sample-stack
33+
# cp current-repo/devfile.yaml registry/tests/sample-stack/
34+
# cp -r current-repo/* registry/tests/sample-stack/ 2>/dev/null || true
3535

36-
# Create a simple get_stacks.sh that returns our sample directory
37-
mkdir -p registry/tests/tests
38-
echo '#!/bin/bash' > registry/tests/tests/get_stacks.sh
39-
echo 'echo "sample-stack"' >> registry/tests/tests/get_stacks.sh
40-
chmod +x registry/tests/tests/get_stacks.sh
36+
# # Create a simple get_stacks.sh that returns our sample directory
37+
# mkdir -p registry/tests/tests
38+
# echo '#!/bin/bash' > registry/tests/tests/get_stacks.sh
39+
# echo 'echo "sample-stack"' >> registry/tests/tests/get_stacks.sh
40+
# chmod +x registry/tests/tests/get_stacks.sh
4141

4242
- name: Setup Go
4343
uses: actions/setup-go@v4
4444
with:
4545
go-version: '1.21'
4646

47-
- name: Install dependencies
48-
run: |
49-
sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
50-
sudo chmod +x /usr/local/bin/yq
51-
go install github.com/onsi/ginkgo/v2/ginkgo@latest
47+
# - name: Install dependencies
48+
# run: |
49+
# sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
50+
# sudo chmod +x /usr/local/bin/yq
51+
# go install github.com/onsi/ginkgo/v2/ginkgo@latest
5252

5353
- name: Setup Minikube
5454
uses: medyagh/setup-minikube@master
@@ -63,11 +63,11 @@ jobs:
6363
YQ_PATH: "yq"
6464
ENV: "minikube"
6565
run: |
66-
cd registry/tests
66+
# cd registry/tests
6767
6868
echo "=== Schema Validation ==="
6969
# Use the registry's validate_devfile_schemas.sh script
70-
bash validate_devfile_schemas.sh --stacksPath $(pwd) --stackDirs "sample-stack"
70+
bash registry/tests/validate_devfile_schemas.sh --stacksPath $(pwd)/current-repo --stackDirs "sample-stack"
7171
7272
echo "=== ODO v3 Validation ==="
7373
# Use the registry's check_odov3.sh script

0 commit comments

Comments
 (0)