diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-09-14 22:33:30 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-10-09 19:44:21 +0300 |
commit | e97c6b9b9c90a6f97019021d6bfcc73ed92580cc (patch) | |
tree | 3639a628d52b7b0ac6fff0eba5cf7e308921bf98 /tests/ci/data.testscript | |
parent | 1367aa09951e0aa7491bc2a5bf7209b0b47be65e (diff) |
Filter packages manifest against CI request manifest in ci-load
Diffstat (limited to 'tests/ci/data.testscript')
-rw-r--r-- | tests/ci/data.testscript | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ci/data.testscript b/tests/ci/data.testscript index 711c7b1..662a14c 100644 --- a/tests/ci/data.testscript +++ b/tests/ci/data.testscript @@ -17,10 +17,19 @@ data_dir = $regex.replace($path_search('*/request.manifest', $src_base), \ request_id = "$data_dir" +# Prepare the repository. +# +rep="file:$~/hello.git#master" ++tar -C $~ -xf $src_base/hello.tar.gz &hello.git/*** + # Copy the original CI request data directory to the root scope. # +cp -r $src_base/$data_dir ./ +# Fix-up the repository value in the request manifest. +# ++sed -i -e "s%^\(repository:\) .+\$%\\1 $rep%" $data_dir/request.manifest + root_data_dir = $~/$data_dir # The most commonly used submission data directory cloning command that copies |