CI: Store .repo file as artifacts. Fixes #1458
Note: only store them for the Base jobs b/c these files are produced by deploy.sh and will be the same across jobs in the same pipeline.
This commit is contained in:
parent
68219bd92a
commit
968e7b210f
2 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue