blob: acf3a6698a0eabb2c5f00aa9a1a53a3e78e256ae [file] [log] [blame]
# Validate verify binaries are codesigned.
set -e
# Checking out master here is ok even though this test runs on release branches
# because the checkout is used only to download the conductor tool but the validation
# is run on the binaries for the commit passed as property to the builder.
git fetch origin master:master
if [ -z "$REVISION" ]; then
echo 'This script requires the env variable $REVISION to be set, but it is empty!'
exit 1
# Run the actual validation.
./dev/conductor/bin/conductor codesign --verify --revision $REVISION --upstream=''