From f8d7e999517b688a92f8a16c7fb8dc06d6cd211f Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Wed, 22 May 2019 09:58:40 +0100 Subject: [PATCH] Remove outdated jenkins files --- jenkins/prepare-dendrite.sh | 13 ------------- jenkins/test-monolith.sh | 35 ----------------------------------- 2 files changed, 48 deletions(-) delete mode 100755 jenkins/prepare-dendrite.sh delete mode 100755 jenkins/test-monolith.sh diff --git a/jenkins/prepare-dendrite.sh b/jenkins/prepare-dendrite.sh deleted file mode 100755 index baa03abdd..000000000 --- a/jenkins/prepare-dendrite.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -# -# build the dendrite binaries into ./bin - -cd `dirname $0`/.. - -set -eux - -export GOPATH=`pwd`/.gopath -export PATH="${GOPATH}/bin:$PATH" - -go get github.com/constabulary/gb/... -gb build diff --git a/jenkins/test-monolith.sh b/jenkins/test-monolith.sh deleted file mode 100755 index 538447c1d..000000000 --- a/jenkins/test-monolith.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -set -eux - -cd `dirname $0`/.. - -: ${WORKSPACE:="$(pwd)"} -export WORKSPACE - -# remove any detritus from last time -rm -f sytest/server-*/*.log sytest/results.tap - -./jenkins/prepare-dendrite.sh - -if [ ! -d "sytest" ]; then - git clone https://github.com/matrix-org/sytest.git --depth 1 --branch master -fi - -# Jenkins may have supplied us with the name of the branch in the -# environment. Otherwise we will have to guess based on the current -# commit. -: ${GIT_BRANCH:="origin/$(git rev-parse --abbrev-ref HEAD)"} - -git -C sytest fetch --depth 1 origin "${GIT_BRANCH}" || { - echo >&2 "No ref ${GIT_BRANCH} found, falling back to develop" - git -C sytest fetch --depth 1 origin develop -} - -git -C sytest reset --hard FETCH_HEAD - -./sytest/jenkins/prep_sytest_for_postgres.sh - -./sytest/jenkins/install_and_run.sh \ - -I Dendrite::Monolith \ - --dendrite-binary-directory "$WORKSPACE/bin" || true