Blame dev/containers/runtests_py3.sh
|
Pierre-Yves Chibon |
479e0a |
#!/bin/bash
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
479e0a |
ls -l /
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
479e0a |
echo "============== ENVIRONMENT ============="
|
|
Pierre-Yves Chibon |
479e0a |
/usr/bin/env
|
|
Pierre-Yves Chibon |
479e0a |
echo "============== END ENVIRONMENT ============="
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
479e0a |
if [ -n "$REPO" -a -n "$BRANCH" ]; then
|
|
Pierre-Yves Chibon |
479e0a |
git remote rm proposed || true
|
|
Pierre-Yves Chibon |
479e0a |
git gc --auto
|
|
Pierre-Yves Chibon |
479e0a |
git remote add proposed "$REPO"
|
|
Julen Landa Alustiza |
698eb4 |
GIT_TRACE=1 GIT_CURL_VERBOSE=1 git fetch proposed
|
|
Pierre-Yves Chibon |
479e0a |
git checkout origin/master
|
|
Pierre-Yves Chibon |
479e0a |
git config --global user.email "you@example.com"
|
|
Pierre-Yves Chibon |
479e0a |
git config --global user.name "Your Name"
|
|
Pierre-Yves Chibon |
479e0a |
git merge --no-ff "proposed/$BRANCH" -m "Merge PR"
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
479e0a |
echo "Running tests for branch $BRANCH of repo $REPO"
|
|
Pierre-Yves Chibon |
479e0a |
echo "Last commits:"
|
|
Brian Stinson |
c25611 |
git --no-pager log -2
|
|
Pierre-Yves Chibon |
479e0a |
fi
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Karsten Hopp |
6a8f07 |
python3 /pagure/runtests.py run -f --py3 $TESTCASE
|