ci/prepare-artifacts: turn file copies into a loop
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36354>
This commit is contained in:
parent
e7102511b0
commit
dd15dbae4b
1 changed files with 16 additions and 12 deletions
|
|
@ -34,18 +34,22 @@ echo "$(cat VERSION) (git-$git_sha)" > install/VERSION
|
||||||
|
|
||||||
# Test runs don't pull down the git tree, so put the dEQP helper
|
# Test runs don't pull down the git tree, so put the dEQP helper
|
||||||
# script and associated bits there.
|
# script and associated bits there.
|
||||||
cp -Rp .gitlab-ci/bare-metal install/
|
for f in \
|
||||||
cp -Rp .gitlab-ci/common install/
|
.gitlab-ci/bare-metal \
|
||||||
cp -Rp .gitlab-ci/piglit install/
|
.gitlab-ci/common \
|
||||||
cp -Rp .gitlab-ci/fossils.yml install/
|
.gitlab-ci/piglit \
|
||||||
cp -Rp .gitlab-ci/fossils install/
|
.gitlab-ci/fossils.yml \
|
||||||
cp -Rp .gitlab-ci/crosvm-init.sh install/
|
.gitlab-ci/fossils \
|
||||||
cp -Rp .gitlab-ci/*.txt install/
|
.gitlab-ci/crosvm-init.sh \
|
||||||
cp -Rp .gitlab-ci/report-flakes.py install/
|
.gitlab-ci/*.txt \
|
||||||
cp -Rp .gitlab-ci/setup-test-env.sh install/
|
.gitlab-ci/report-flakes.py \
|
||||||
cp -Rp .gitlab-ci/*-runner.sh install/
|
.gitlab-ci/setup-test-env.sh \
|
||||||
cp -Rp .gitlab-ci/bin/structured_logger.py install/
|
.gitlab-ci/*-runner.sh \
|
||||||
cp -Rp .gitlab-ci/bin/custom_logger.py install/
|
.gitlab-ci/bin/structured_logger.py \
|
||||||
|
.gitlab-ci/bin/custom_logger.py \
|
||||||
|
; do
|
||||||
|
cp -Rp "$f" install/
|
||||||
|
done
|
||||||
|
|
||||||
mapfile -t duplicate_files < <(
|
mapfile -t duplicate_files < <(
|
||||||
find src/ -path '*/ci/*' \
|
find src/ -path '*/ci/*' \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue