|
Pierre-Yves Chibon |
479e0a |
set -x
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
479e0a |
yum install -y podman
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
479e0a |
set -e
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
479e0a |
echo $BRANCH $REPO
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
27d0e3 |
if [ -n "$REPO" -a -n "$BRANCH" ]; then
|
|
Pierre-Yves Chibon |
27d0e3 |
git remote rm proposed || true
|
|
Pierre-Yves Chibon |
27d0e3 |
git gc --auto
|
|
Pierre-Yves Chibon |
27d0e3 |
git remote add proposed "$REPO"
|
|
Julen Landa Alustiza |
698eb4 |
GIT_TRACE=1 GIT_CURL_VERBOSE=1 git fetch proposed
|
|
Pierre-Yves Chibon |
27d0e3 |
git checkout origin/master
|
|
Pierre-Yves Chibon |
27d0e3 |
git config --global user.email "you@example.com"
|
|
Pierre-Yves Chibon |
27d0e3 |
git config --global user.name "Your Name"
|
|
Pierre-Yves Chibon |
27d0e3 |
git merge --no-ff "proposed/$BRANCH" -m "Merge PR"
|
|
Pierre-Yves Chibon |
27d0e3 |
|
|
Pierre-Yves Chibon |
27d0e3 |
echo "Running tests for branch $BRANCH of repo $REPO"
|
|
Pierre-Yves Chibon |
27d0e3 |
echo "Last commits:"
|
|
Brian Stinson |
c25611 |
git --no-pager log -2
|
|
Pierre-Yves Chibon |
27d0e3 |
fi
|
|
Pierre-Yves Chibon |
27d0e3 |
|
|
Pierre-Yves Chibon |
479e0a |
podman build --rm -t pagure-f29-rpms-py3 \
|
|
Pierre-Yves Chibon |
479e0a |
-f dev/containers/f29-rpms-py3 \
|
|
Pierre-Yves Chibon |
479e0a |
dev/containers
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
479e0a |
if [ ! -d `pwd`/results_f29-rpms-py3 ]; then
|
|
Pierre-Yves Chibon |
479e0a |
mkdir `pwd`/results_f29-rpms-py3;
|
|
Pierre-Yves Chibon |
479e0a |
fi
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
479e0a |
podman run --rm -it --name pagure-f29-rpms-py3 \
|
|
Pierre-Yves Chibon |
b8a95b |
-v `pwd`/results_f29-rpms-py3:/pagure/results:z \
|
|
Pierre-Yves Chibon |
479e0a |
-e BRANCH=$BRANCH \
|
|
Pierre-Yves Chibon |
479e0a |
-e REPO=$REPO \
|
|
Pierre-Yves Chibon |
479e0a |
pagure-f29-rpms-py3
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
479e0a |
podman build --rm -t pagure-c7-rpms-py2 \
|
|
Pierre-Yves Chibon |
479e0a |
-f dev/containers/centos7-rpms-py2 \
|
|
Pierre-Yves Chibon |
479e0a |
dev/containers
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
479e0a |
if [ ! -d `pwd`/results_centos7-rpms-py2 ]; then
|
|
Pierre-Yves Chibon |
479e0a |
mkdir `pwd`/results_centos7-rpms-py2;
|
|
Pierre-Yves Chibon |
479e0a |
fi
|
|
Pierre-Yves Chibon |
479e0a |
|
|
Pierre-Yves Chibon |
479e0a |
podman run --rm -it --name pagure-c7-rpms-py2 \
|
|
Pierre-Yves Chibon |
b8a95b |
-v `pwd`/results_centos7-rpms-py2:/pagure/results:z \
|
|
Pierre-Yves Chibon |
479e0a |
-e BRANCH=$BRANCH \
|
|
Pierre-Yves Chibon |
479e0a |
-e REPO=$REPO \
|
|
Pierre-Yves Chibon |
479e0a |
pagure-c7-rpms-py2
|
|
Pierre-Yves Chibon |
954691 |
|
|
Pierre-Yves Chibon |
954691 |
|
|
Pierre-Yves Chibon |
954691 |
podman build --rm -t pagure-fedora-pip-py3 \
|
|
Pierre-Yves Chibon |
954691 |
-f dev/containers/fedora-pip-py3 \
|
|
Pierre-Yves Chibon |
954691 |
dev/containers
|
|
Pierre-Yves Chibon |
954691 |
|
|
Pierre-Yves Chibon |
954691 |
if [ ! -d `pwd`/results_fedora-pip-py3 ]; then
|
|
Pierre-Yves Chibon |
954691 |
mkdir `pwd`/results_fedora-pip-py3;
|
|
Pierre-Yves Chibon |
954691 |
fi
|
|
Pierre-Yves Chibon |
954691 |
|
|
Pierre-Yves Chibon |
954691 |
podman run --rm -it --name pagure-fedora-pip-py3 \
|
|
Pierre-Yves Chibon |
954691 |
-v `pwd`/results_fedora-pip-py3:/pagure/results:z \
|
|
Pierre-Yves Chibon |
954691 |
-e BRANCH=$BRANCH \
|
|
Pierre-Yves Chibon |
954691 |
-e REPO=$REPO \
|
|
Pierre-Yves Chibon |
954691 |
pagure-fedora-pip-py3
|