diff options
Diffstat (limited to 'brep/handler/ci/ci-load.in')
-rw-r--r-- | brep/handler/ci/ci-load.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/brep/handler/ci/ci-load.in b/brep/handler/ci/ci-load.in index 0a16e8c..915f9a6 100644 --- a/brep/handler/ci/ci-load.in +++ b/brep/handler/ci/ci-load.in @@ -288,11 +288,18 @@ manifest_serializer_finish loadtab="$data_dir/loadtab" run echo "$repository $display_name cache:cache" >"$loadtab" +# Apply overrides, if uploaded. +# +if [ -f "$data_dir/overrides.manifest" ]; then + loader_options+=(--overrides-file "$data_dir/overrides.manifest") +fi + # Load the requested repository packages into the brep package database for # the tenant identified by the reference. # -run "$loader" "${loader_options[@]}" --force --shallow --tenant "$reference" \ -"$loadtab" +loader_options+=(--force --shallow --tenant "$reference") + +run "$loader" "${loader_options[@]}" "$loadtab" # Remove the no longer needed CI request data directory. # |