Lines Matching +full:gitlab +full:- +full:ci
6 . "${SCRIPTS_DIR}/setup-test-env.sh"
8 section_switch prepare-artifacts "artifacts: prepare"
10 set -e
11 set -o xtrace
13 mkdir -p artifacts/
17 echo "$(cat VERSION) (git-$(git rev-parse HEAD | cut -b -10))" > artifacts/VERSION
18 cp -Rp .gitlab-ci/report-flakes.py artifacts/
19 cp -Rp .gitlab-ci/setup-test-env.sh artifacts/
20 cp -Rp .gitlab-ci/common artifacts/ci-common
21 cp -Rp .gitlab-ci/b2c artifacts/
22 cp -Rp .gitlab-ci/bare-metal artifacts/
23 cp -Rp .gitlab-ci/lava artifacts/
24 cp -Rp .gitlab-ci/bin/*_logger.py artifacts/
26 mapfile -t duplicate_files < <(
27 find src/ -path '*/ci/*' \
29 -name '*.txt' \
30 -o -name '*.toml' \
31 -o -name '*traces*.yml' \
33 -exec basename -a {} + | sort | uniq -d
35 if [ ${#duplicate_files[@]} -gt 0 ]; then
36 echo 'Several files with the same name in various ci/ folders:'
37 printf -- ' %s\n' "${duplicate_files[@]}"
41 if [ -d "src/" ]; then
42 find src/ -path '*/ci/*' \
44 -name '*.txt' \
45 -o -name '*.toml' \
46 -o -name '*traces*.yml' \
48 -exec cp -p {} artifacts/ \;
50 cp -Rp .gitlab-ci/*.txt artifacts/
52 if [ -n "$S3_ARTIFACT_NAME" ]; then
55 tar cv artifacts/ | zstd -o "${S3_ARTIFACT_TAR}"
56 …ci-fairy s3cp --token-file "${S3_JWT_FILE}" "${S3_ARTIFACT_TAR}" "https://${PIPELINE_ARTIFACTS_BAS…
60 section_end prepare-artifacts