diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a87909e27..aee608c30 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -89,6 +89,11 @@ Base: # see COMPOSER-918 # - aws/rhel-8.4-aarch64 INTERNAL_NETWORK: ["true"] + artifacts: + paths: + - journal-log + - "*.repo" + when: always OSTree: stage: test diff --git a/schutzbot/deploy.sh b/schutzbot/deploy.sh index 47b74fee1..d60175540 100755 --- a/schutzbot/deploy.sh +++ b/schutzbot/deploy.sh @@ -106,3 +106,9 @@ fi greenprint "Installing test packages for ${PROJECT}" # Note: installing only -tests to catch missing dependencies retry sudo dnf -y install "${PROJECT}-tests" + +if [ -n "${CI}" ]; then + # copy repo files b/c GitLab can't upload artifacts + # which are outside the build directory + cp /etc/yum.repos.d/*.repo "$(pwd)" +fi