File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 162
162
# Generate ORT global configuration if not found and PostgreSQL is used.
163
163
- |
164
164
if [[ (! -z "${ORT_CONFIG_PATH}/config.yml") && (-n "${POSTGRES_URL}") ]]; then
165
+ echo -e "\e[1;33m Generating a 'config.yml' with a PostgreSQL storage..."
165
166
cat << EOF > ${ORT_CONFIG_PATH}/config.yml
166
167
ort:
167
168
packageCurationProviders:
229
230
severeRuleViolationThreshold: "ERROR"
230
231
EOF
231
232
elif [[ ! -z "${ORT_CONFIG_PATH}/config.yml" ]]; then
233
+ echo -e "\e[1;33m Generating a 'config.yml' without a PostgreSQL storage..."
232
234
cat << EOF > ${ORT_CONFIG_PATH}/config.yml
233
235
ort:
234
236
packageCurationProviders:
237
239
- type: OrtConfig
238
240
enabled: false
239
241
EOF
242
+ else
243
+ echo -e "\e[1;33m Using 'config.yml' from 'ort-config' repository..."
240
244
fi
241
245
242
246
# Generate labels to be passed as arguments to ORT Analyzer.
You can’t perform that action at this time.
0 commit comments