From f7a8302b15ccdce8dff83d9cf999d931c433a43a Mon Sep 17 00:00:00 2001
From: Vlad Kondratiev <vlad.kondratiev@gmail.com>
Date: Wed, 2 Apr 2025 10:15:31 +0200
Subject: [PATCH] input JSON is commented out from cwltool --validate

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eb06177..24e12b7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,8 +38,10 @@ validate:
   stage: test
   needs: ["trigger_prepare"]
   script:
-    - cwltool --validate workflows/pulp2-xxyy-8bit-requantisation.cwl
+#    Excluding input JSON from validation now as CI/CD can not correctly deal with files specified in secondaryFiles field in CWL. 
+#    Probably CI/CD checks the presence of these data at the server where gitlab runner runs.
 #    - cwltool --validate workflows/pulp2-xxyy-8bit-requantisation.cwl tests/digitize_das6_input.json    
+    - cwltool --validate workflows/pulp2-xxyy-8bit-requantisation.cwl
 
 docker_build:
   stage: images
-- 
GitLab