Repository: couchdb-ci
Updated Branches:
  refs/heads/master c468e27a8 -> 101b5e47b


Remove obsolete build script


Project: http://git-wip-us.apache.org/repos/asf/couchdb-ci/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-ci/commit/101b5e47
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-ci/tree/101b5e47
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-ci/diff/101b5e47

Branch: refs/heads/master
Commit: 101b5e47b50d59314bf616ae2741263058ce506e
Parents: c468e27
Author: Joan Touzet <woh...@apache.org>
Authored: Sun May 27 23:58:16 2018 -0700
Committer: Joan Touzet <woh...@apache.org>
Committed: Sun May 27 23:58:16 2018 -0700

----------------------------------------------------------------------
 jenkins/build.sh | 104 --------------------------------------------------
 1 file changed, 104 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/101b5e47/jenkins/build.sh
----------------------------------------------------------------------
diff --git a/jenkins/build.sh b/jenkins/build.sh
deleted file mode 100755
index 001d576..0000000
--- a/jenkins/build.sh
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/usr/bin/env bash
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-#   Unless required by applicable law or agreed to in writing,
-#   software distributed under the License is distributed on an
-#   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#   KIND, either express or implied.  See the License for the
-#   specific language governing permissions and limitations
-#   under the License.
-
-# This is the script used by ASF Jenkins
-# (https://builds.apache.org/job/CouchDB) to build and check CouchDB for
-# a given OS and Erlang combination.
-
-# Parts of this have been yoinked from
-# https://github.com/jimenez/mesos/blob/master/support/jenkins_build.sh
-
-set -xe
-
-# Require the following environment variables to be set.
-: ${OS:?"Environment variable 'OS' must be set"}
-: ${ERLANG:?"Environment variable 'ERLANG' must be set"}
-
-# Change to the couchdb-ci checkout for docker build context.
-COUCHDB_CI_DIRECTORY=$( cd "$( dirname "$0" )/.." && pwd )
-cd "$COUCHDB_CI_DIRECTORY"
-
-DOCKER_IMAGE="couchdbdev/"
-DOCKER_OPTIONS="-e GIT_BRANCH -e JENKINS_URL -e BUILD_NUMBER -e BUILD_URL -e 
GIT_COMMIT -e GIT_URL -e COUCHAUTH"
-
-case $OS in
-  centos-6*)
-    echo "Using CentOS 6"
-    DOCKER_IMAGE=$DOCKER_IMAGE"centos-6-"
-    DOCKER_OPTIONS="$DOCKER_OPTIONS -e LD_LIBRARY_PATH=/usr/local/lib"
-    ;;
-  centos-7*)
-    echo "Using CentOS 7"
-    DOCKER_IMAGE=$DOCKER_IMAGE"centos-7-"
-    DOCKER_OPTIONS="$DOCKER_OPTIONS -e LD_LIBRARY_PATH=/usr/local/lib"
-    ;;
-  debian-8*)
-    echo "Using Debian 8"
-    DOCKER_IMAGE=$DOCKER_IMAGE"debian-8-"
-    ;;
-  debian-9*)
-    echo "Using Debian 9"
-    DOCKER_IMAGE=$DOCKER_IMAGE"debian-9-"
-    ;;
-  ubuntu-12.04*)
-    echo "Using Ubuntu 12.04"
-    DOCKER_IMAGE=$DOCKER_IMAGE"ubuntu-12.04-"
-    ;;
-  ubuntu-14.04*)
-    echo "Using Ubuntu 14.04"
-    DOCKER_IMAGE=$DOCKER_IMAGE"ubuntu-14.04-"
-    ;;
-  ubuntu-16.04*)
-    echo "Using Ubuntu 16.04"
-    DOCKER_IMAGE=$DOCKER_IMAGE"ubuntu-16.04-"
-    ;;
-  *)
-    echo "Unknown OS $OS"
-    exit 1
-    ;;
-esac
-
-case $ERLANG in
-  default*)
-    echo "Using OS default Erlang"
-    DOCKER_IMAGE=$DOCKER_IMAGE"erlang-default"
-    ;;
-  18.3*)
-    echo "Using Erlang 18.3"
-    DOCKER_IMAGE=$DOCKER_IMAGE"erlang-18.3"
-    ;;
-  *)
-    echo "Unknown Erlang version $ERLANG"
-    exit 1
-    ;;
-esac
-
-if [ "$OS" = "ubuntu-12.04" -a "$ERLANG" = "default" ]; then
-  echo "Unsupported configuration, skipping build..."
-  exit 0
-fi
-
-if [ "$OS" = "centos-6" -a "$ERLANG" = "default" ]; then
-  echo "Unsupported configuration, skipping build..."
-  exit 0
-fi
-
-docker pull $DOCKER_IMAGE
-
-docker run $DOCKER_OPTIONS $DOCKER_IMAGE

Reply via email to