Skip to content

Commit

Permalink
Tests: invalidate build context just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
wojas committed Jun 25, 2021
1 parent 6455890 commit aecb0d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test-centos-8-reproducible.sh
Expand Up @@ -13,10 +13,12 @@ sha256sum \
builder/tmp/latest/sdist/*.tar.gz \
> /tmp/sha256sum.txt

# Second build after cleaning
# Second build after cleaning and adding a file to invaldiate the build context
rm -rf ./builder/tmp/latest/centos-8
rm -rf ./builder/tmp/latest/sdist
touch invalidate-build-context
./builder/build.sh -B MYCOOLARG=iLikeTests centos-8
rm -f invalidate-build-context

# Check hashes, should be identical
sha256sum -c /tmp/sha256sum.txt
Expand Down

0 comments on commit aecb0d1

Please sign in to comment.