File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,20 @@ export CI_JOB_ID="${BUILD_ID}"
32
32
33
33
if [[ " ${JOB_TYPE} " != " local" ]]; then
34
34
if [[ -z " ${ARTIFACT_DIR:- } " ]] || [[ ! -d " ${ARTIFACT_DIR} " ]] || [[ ! -w " ${ARTIFACT_DIR} " ]]; then
35
+ # shellcheck disable=SC2016
35
36
echo ' ${ARTIFACT_DIR} must be set for non-local jobs, and must point to a writable directory' >&2
36
37
exit 1
37
38
fi
38
39
curl -sS https://codecov.io/bash -o " ${ARTIFACT_DIR} /codecov.sh"
39
40
bash <( cat " ${ARTIFACT_DIR} /codecov.sh" ) -Z -K -f " ${COVER_PROFILE} " -r " ${REPO_OWNER} /${REPO_NAME} " " ${REF_FLAGS} "
41
+ # shellcheck disable=SC2181
40
42
if [ $? -ne 0 ]; then
41
43
echo " Failed uploading coverage report from a non local environment. Exiting gracefully with status code 0."
42
44
exit 0
43
45
fi
44
46
else
45
47
bash <( curl -s https://codecov.io/bash) -Z -K -f " ${COVER_PROFILE} " -r " ${REPO_OWNER} /${REPO_NAME} " " ${REF_FLAGS} "
48
+ # shellcheck disable=SC2181
46
49
if [ $? -ne 0 ]; then
47
50
echo " Failed uploading coverage report from local environment. Exiting gracefully with status code 0."
48
51
exit 0
Original file line number Diff line number Diff line change
1
+ # Minimal service configuration
2
+ ---
3
+ llm_providers :
4
+ - name : my_bam
5
+ type : bam
6
+ url : " http://wont-be-used"
7
+ models :
8
+ - name : ibm/granite-3-8b-instruct
9
+ ols_config :
10
+ conversation_cache :
11
+ type : memory
12
+ memory :
13
+ max_entries : 1000
14
+ logging_config :
15
+ app_log_level : info
16
+ lib_log_level : warning
17
+ default_provider : my_bam
18
+ default_model : ibm/granite-3-8b-instruct
19
+ dev_config :
20
+ enable_dev_ui : false
21
+ disable_auth : true
22
+ disable_tls : true
23
+
You can’t perform that action at this time.
0 commit comments