File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ jobs:
108108 echo ""
109109 for line in $(${{ github.workspace }}/stackql-any-sdk/build/anysdk interrogate services ${{ github.workspace }}/providers ${subdir}/v00.00.00000/provider.yaml); do
110110 serviceIdentifier="${line}"
111- ./scripts/cicd/shell/aot-analysis/01-aot-analysis-compact.sh ${{ github.workspace }}/stackql-any-sdk/build/anysdk "${providerID}" "${subdir}/v00.00.00000/provider.yaml" "${serviceIdentifier}" &
111+ ./scripts/cicd/shell/aot-analysis/01-aot-analysis-compact.sh ${{ github.workspace }}/stackql-any-sdk/build/anysdk "${providerID}" "${subdir}/v00.00.00000/provider.yaml" "${serviceIdentifier}" "${{ github.workspace }}/stackql-any-sdk/cicd/schema-definitions" &
112112 echo ""
113113 done
114114 done
Original file line number Diff line number Diff line change @@ -12,14 +12,16 @@ providerRootFile="${3}"
1212
1313serviceIdentifier=" ${4} "
1414
15+ jsonSchemaDir=" ${5} "
16+
1517logDir=" ${REPOSITORY_ROOT} /test/log"
1618
1719registryDir=" ${REPOSITORY_ROOT} /providers"
1820
1921if [ " ${serviceIdentifier} " != " " ]; then
20- ${anySdkExe} aot " ${registryDir} " " ${providerRootFile} " " ${serviceIdentifier} " -v > " ${logDir} /aot_${providerID} _${serviceIdentifier} .log" 2>&1
22+ ${anySdkExe} aot --schema-dir " ${jsonSchemaDir} " " ${registryDir} " " ${providerRootFile} " " ${serviceIdentifier} " -v > " ${logDir} /aot_${providerID} _${serviceIdentifier} .log" 2>&1
2123else
22- ${anySdkExe} aot " ${registryDir} " " ${providerRootFile} " -v > " ${logDir} /aot_${providerID} .log" 2>&1
24+ ${anySdkExe} aot --schema-dir " ${jsonSchemaDir} " " ${registryDir} " " ${providerRootFile} " -v > " ${logDir} /aot_${providerID} .log" 2>&1
2325fi
2426
2527rc=" $? "
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ REPOSITORY_ROOT="$(realpath "${CUR_DIR}/../../../..")"
66
77anySdkCliPath=" ${1} "
88
9+ jsonSchemaDir=" ${2} "
10+
911for sd in ${REPOSITORY_ROOT} /providers/src/* / ; do
1012 echo " "
1113 subdir=" $( realpath " ${sd} " ) "
@@ -14,7 +16,7 @@ for sd in ${REPOSITORY_ROOT}/providers/src/*/ ; do
1416 echo " "
1517 for line in $( ${anySdkCliPath} interrogate services ${REPOSITORY_ROOT} /providers ${subdir} /v00.00.00000/provider.yaml) ; do
1618 serviceIdentifier=" ${line} "
17- ${REPOSITORY_ROOT} /scripts/cicd/shell/aot-analysis/01-aot-analysis-compact.sh ${anySdkCliPath} " ${providerID} " " ${subdir} /v00.00.00000/provider.yaml" " ${serviceIdentifier} " &
19+ ${REPOSITORY_ROOT} /scripts/cicd/shell/aot-analysis/01-aot-analysis-compact.sh ${anySdkCliPath} " ${providerID} " " ${subdir} /v00.00.00000/provider.yaml" " ${serviceIdentifier} " " ${jsonSchemaDir} " &
1820 echo " "
1921 done
2022done
You can’t perform that action at this time.
0 commit comments