Skip to content

Instantly share code, notes, and snippets.

@andreaceccanti
Created October 10, 2014 15:04
Show Gist options
  • Save andreaceccanti/3fcb41747714e9610eb1 to your computer and use it in GitHub Desktop.
Save andreaceccanti/3fcb41747714e9610eb1 to your computer and use it in GitHub Desktop.
run voms deployment test
SCRIPT_URL="https://raw.github.com/italiangrid/voms-deployment-test/master/voms-deployment-test.sh"
wget --no-check-certificate $SCRIPT_URL -O voms-deployment-test.sh
chmod +x voms-deployment-test.sh
DB_UPGRADE="no"
if [ "$PERFORM_DATABASE_UPGRADE" = "true" ]; then
DB_UPGRADE="yes"
fi
if [ "$REPO_URL" != "NULL" ]; then
platform_lc=`echo $PLATFORM | tr '[A-Z]' '[a-z]'`
REPO_URL="${REPO_URL}"_"${platform_lc}".repo
echo "REPO_URL: $REPO_URL"
fi
./voms-deployment-test.sh -c $COMPONENT -m $MODE -p $PLATFORM -r $REPO_URL -u $DB_UPGRADE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment