From bc178c044eca6175b9b9a4d01938a6de147599f7 Mon Sep 17 00:00:00 2001 From: Guilherme Gallo Date: Thu, 9 Mar 2023 14:46:56 -0300 Subject: [PATCH] ci/baremetal: Wrap artifact download curl with xtrace Setting `set -x`can be useful to known via trace which URL baremetal used to download artifacts. Today its only printed the command with the environment variables. Also, this commit fixes multiple `section_end` for the related Gitlab sections. Signed-off-by: Guilherme Gallo Part-of: --- .gitlab-ci/test/gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci/test/gitlab-ci.yml b/.gitlab-ci/test/gitlab-ci.yml index dd5a7aac5bf..1981ad2aadd 100644 --- a/.gitlab-ci/test/gitlab-ci.yml +++ b/.gitlab-ci/test/gitlab-ci.yml @@ -152,8 +152,7 @@ rustfmt: - section_start artifacts_download "Downloading artifacts from s3" # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY - rm -rf install - - curl -L --retry 4 -f --retry-all-errors --retry-delay 60 ${FDO_HTTP_CACHE_URI:-}https://${PIPELINE_ARTIFACTS_BASE}/${MINIO_ARTIFACT_NAME}.tar.zst | tar --zstd -x - - echo -e "\e[0Ksection_end:$(date +%s):artifacts_download\r\e[0K" + - (set -x; curl -L --retry 4 -f --retry-all-errors --retry-delay 60 ${FDO_HTTP_CACHE_URI:-}https://${PIPELINE_ARTIFACTS_BASE}/${MINIO_ARTIFACT_NAME}.tar.zst | tar --zstd -x) - section_end artifacts_download artifacts: when: always