Skip to content

Instantly share code, notes, and snippets.

@mariushoch
Last active Feb 12, 2022
Embed
What would you like to do?
Smoke tests for the Wikibase entity dump generation
MAILTO=foo@bar.invalid
45 10 * * 4 nice -n19 bash $HOME/bin/wikibase-dump-generation-smoke-tests
#!/bin/bash
set -e
cd "$HOME/wikidata-dump-generation-smoke-tests"
export https_proxy=http://webproxy:8080
git fetch
if [[ ! "$(git log HEAD..origin/main)" == "" ]]; then
echo "New commits, please rebase:"
git log --format=oneline HEAD..origin/main
fi
echo
echo
./wikidata-dump-generation-smoke-tests --test-wikidata
./wikidata-dump-generation-smoke-tests --test-commons
echo
echo "Success!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment