Skip to content

Commit

Permalink
tests/installed: Add NOTE when re-using RPMs
Browse files Browse the repository at this point in the history
One gotcha here is that we don't invalidate the RPMs if we're not
sitting on the same commit anymore. Shouldn't be too hard to fix, though
let's at least make a note of it for now.

Closes: #1668
Approved by: cgwalters
  • Loading branch information
jlebon authored and rh-atomic-bot committed Jul 4, 2018
1 parent 61ba4e7 commit 2cb2571
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/installed/playbook-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ dn=$(cd $(dirname $0) && pwd)
if ! test -d build; then
mkdir -p build
(cd build && ${dn}/../../ci/build-rpm.sh)
else
# XXX: we should invalidate based on `git describe` or something
echo "NOTE: Re-using prebuilt RPMs:"
find build -name '*.rpm'
fi

# https://fedoraproject.org/wiki/CI/Tests
Expand Down

0 comments on commit 2cb2571

Please sign in to comment.