Skip to content

Commit

Permalink
Cirrus: Verify Cirrus YML determinism
Browse files Browse the repository at this point in the history
Fixes #94
  • Loading branch information
JeremyRand committed Mar 29, 2021
1 parent 4600f14 commit b3f1d76
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/cirrus_build_project.sh
Expand Up @@ -15,6 +15,11 @@ df -h
lscpu
free -m

echo "Verifying Cirrus YML determinism..."
mv .cirrus.yml .cirrus.yml.bak
./tools/cirrus_gen_yml.sh > /dev/null
diff .cirrus.yml .cirrus.yml.bak

echo "Installing rbm deps..."
APT_DEPS="libyaml-libyaml-perl libtemplate-perl libio-handle-util-perl libio-all-perl libio-captureoutput-perl libjson-perl libpath-tiny-perl libstring-shellquote-perl libsort-versions-perl libdigest-sha-perl libdata-uuid-perl libdata-dump-perl libfile-copy-recursive-perl libfile-slurp-perl git runc rsync"
apt-get install -y $APT_DEPS || (sleep 15s && apt-get install -y $APT_DEPS)
Expand Down

0 comments on commit b3f1d76

Please sign in to comment.