diff --git a/drydocker/syncroton/build.sh b/drydocker/syncroton/build.sh new file mode 100755 index 0000000..518617f --- /dev/null +++ b/drydocker/syncroton/build.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +set -x + +docker run -it \ + --attach=stdout \ + --attach=stderr \ + --detach=false \ + -e "ID=${id}" \ + -e "COMMIT=${commit}" \ + -e "DIFFERENTIAL=${differential}" \ + -e "PACKAGE=${package}" \ + -e "PHAB_CERT=${PHAB_CERT}" \ + -e "PHAB_USER=${PHAB_USER}" \ + -e "PHID=${phid}" \ + -e "URI=${uri}" \ + -e "RO_URI=${ro_uri}" \ + -e "VCS=${vcs}" \ + -e "TEST_BUILD=${test_build}" \ + -e "TEST_FUNCTIONAL=${test_functional}" \ + -e "TEST_INTEGRATION=${test_integration}" \ + -e "TEST_PERFORMANCE=${test_performance}" \ + -e "TEST_UNIT=${test_unit}" \ + kolab/ci-maipo + +exit $? diff --git a/drydocker/syncroton/test_build.sh b/drydocker/syncroton/test_build.sh new file mode 100755 index 0000000..f35dfb3 --- /dev/null +++ b/drydocker/syncroton/test_build.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +pushd /srv/syncroton.git + +../generic_php_lint.sh + +retval=$(_shell generic_php_lint) + +if [ ${retval} -ne 0 ]; then + exit ${retval} +fi +popd