swh:1:snp:3a699297f000109a1bc833f294a54171df990207
Tip revision: 3f8c4b8adbfe4f9e9a243f8ba3eb2a1da1b677a3 authored by Tito Dal Canton on 02 March 2023, 13:19:16 UTC
Change `setup.py` for 2.1.0 release (#4274)
Change `setup.py` for 2.1.0 release (#4274)
Tip revision: 3f8c4b8
docker_build_and_test.sh
#!/bin/bash
set -e
echo -e "\\n>> [`date`] Starting docker container ${DOCKER_IMG}"
if [ "x${DOCKER_SECURE_ENV_VARS}" == "xtrue" ] ; then
cp -R ~/.ssh .
fi
SOURCE_TAG=`git show-ref | grep ${GITHUB_SHA} | grep -E -o "refs/tags.{0,100}" | cut -c11-`
sudo docker run --name buildvm -v `pwd`:/pycbc:rw ${DOCKER_IMG} /bin/bash -c "bash /pycbc/tools/docker_build_dist.sh --pycbc-container=${PYCBC_CONTAINER} --pycbc-code=${GITHUB_REF} --secure=${DOCKER_SECURE_ENV_VARS} --tag=${SOURCE_TAG}"
echo -e "\\n>> [`date`] Docker exited"
exit 0