ci/nightly: report composer NVR in slack

Storing composer NVR in a file after it's installed and reporting on
Slack. Also reducing duplications of artifacts in .gitlab-ci.yml
This commit is contained in:
Jakub Rusz 2022-02-16 17:39:45 +01:00 committed by Ondřej Budai
parent 9c80a17ee5
commit 8331af3ffd
3 changed files with 7 additions and 35 deletions

View file

@ -126,6 +126,9 @@ retry sudo dnf -y upgrade selinux-policy
# Note: installing only -tests to catch missing dependencies
retry sudo dnf -y install "${PROJECT}-tests"
# Save osbuild-composer NVR to a file to be used as CI artifact
rpm -q osbuild-composer > COMPOSER_NVR
if [ "${NIGHTLY:=false}" == "true" ]; then
# check if we've installed the osbuild-composer RPM from the nightly tree
# under test or happen to install a newer version from one of the S3 repositories