Skip to content

Commit

Permalink
Add a script to wait for packaging to complete
Browse files Browse the repository at this point in the history
During the release process there's a step where the release engineer
needs to wait for packaging to complete. This uses the existing ci-jobs
functionality to poll a job.

This allows a release engineer to script things further, like:

    ./wait-packaging && ./download_rpms
  • Loading branch information
ekohl committed Mar 13, 2023
1 parent 14c4ebc commit 6cd14a6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions wait-packaging
@@ -0,0 +1,12 @@
#!/bin/bash -e

. settings

if [[ $PROJECT == pulpcore ]] ; then
./ci-jobs poll "pulpcore-packaging-rpm-${VERSION}-release"
else
./ci-jobs poll "foreman-packaging-deb-${FOREMAN_VERSION}-release" &
./ci-jobs poll "foreman-packaging-rpm-${FOREMAN_VERSION}-release" &

wait
fi

0 comments on commit 6cd14a6

Please sign in to comment.