diff options
author | varac <varacanero@zeromail.org> | 2016-08-31 10:01:04 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-08-31 10:20:44 +0200 |
commit | fe287aac374fe5ce30c5b1263a23955abb99f8d1 (patch) | |
tree | f7e55c64a4c38d9799fad8acac239692c49b60cf /bin/ci-build.sh | |
parent | 9330632082aac83b3e4f53ed71050386207c15c7 (diff) |
Run gitlab CI on 0.8.2 branch
Diffstat (limited to 'bin/ci-build.sh')
-rwxr-xr-x | bin/ci-build.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bin/ci-build.sh b/bin/ci-build.sh new file mode 100755 index 00000000..7b4895e5 --- /dev/null +++ b/bin/ci-build.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +. tests/puppet/provider/.platform-test.conf + +# create node(s) with unique id so we can run tests in parallel +export TAG="build${CI_BUILD_ID}" +[ -d "${PROVIDERDIR}/tags" ] || mkdir "${PROVIDERDIR}/tags" +echo '{}' > "${PROVIDERDIR}/tags/${TAG}.json" + +export IP_SUFFIX_START='100' +#NODES='rewdevcouch1:couchdb,soledad rewdevmx1:mx rewdevvpn1:openvpn,tor rewdevweb1:webapp,monitor rewdevplain1: rewdevstatic1:static' +export NODES="single${TAG}:couchdb,soledad,mx,webapp,openvpn,tor,monitor,obfsproxy" +leap-platform-test add_nodes "$NODES" + +leap-platform-test -v init_deploy +leap-platform-test -v test +cd tests/puppet/provider +bundle exec leap info "${TAG}" +bundle exec leap local destroy "${TAG}" |