Skip to content
Snippets Groups Projects

ci: Build workhorse binaries and upload/download as generic package

All threads resolved!
Compare and Show latest version
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -204,11 +204,12 @@ setup-test-env:
- echo $workhorse_tree $workhorse_binaries_file
# Download the package
- 'wget --header="JOB-TOKEN: $CI_JOB_TOKEN" ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/workhorse/${workhorse_tree}/${workhorse_binaries_file} || true'
- if [ -f "${workhorse_binaries_file}" ]; then
- |
if [ -f "${workhorse_binaries_file}" ]; then
mkdir -p ${TMP_TEST_GITLAB_WORKHOSE_FOLDER};
tar -xzvf ${workhorse_binaries_file} -C ${TMP_TEST_FOLDER};
ls -al ${TMP_TEST_GITLAB_WORKHOSE_FOLDER};
else;
else
# Only keep the binaries in a temp folder
mkdir -p "${TMP_GITLAB_WORKHORSE_FOLDER}";
cd ${TMP_TEST_GITLAB_WORKHOSE_FOLDER} && cp ${GITLAB_WORKHORSE_PACKAGE_FILES} ${TMP_GITLAB_WORKHORSE_FOLDER} && cd -;
Loading