blob: b3dae12d3e3ebc508dfc53ccdc4d29fe067f723f [file] [log] [blame]
#!/bin/bash
# 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
fi
# Run the actual validation.
./dev/conductor/bin/conductor codesign --verify --revision $REVISION