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:
parent
9c80a17ee5
commit
8331af3ffd
3 changed files with 7 additions and 35 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@
|
|||
set -eux
|
||||
|
||||
COMPOSE_ID=$(cat COMPOSE_ID)
|
||||
MESSAGE="\"Nightly pipeline execution on *$COMPOSE_ID* finished with status *$1* $2 \n QE: @atodorov, @jrusz, @jabia \n Link to results: $CI_PIPELINE_URL \""
|
||||
COMPOSER_NVR=$(cat COMPOSER_NVR)
|
||||
MESSAGE="\"Nightly pipeline execution on *$COMPOSE_ID* with *$COMPOSER_NVR* finished with status *$1* $2 \n QE: @atodorov, @jrusz, @jabia \n Link to results: $CI_PIPELINE_URL \""
|
||||
|
||||
curl \
|
||||
-X POST \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue