geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbarr...@apache.org
Subject [geode] branch develop updated: GEODE-5503: Remove prepopulate_build since parallel builds are correct.
Date Tue, 31 Jul 2018 04:07:31 GMT
This is an automated email from the ASF dual-hosted git repository.

jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 6e19613  GEODE-5503: Remove prepopulate_build since parallel builds are correct.
6e19613 is described below

commit 6e196131ee20370a2e19a9d8dd0028f842bd7260
Author: Jacob Barrett <jbarrett@pivotal.io>
AuthorDate: Mon Jul 30 21:07:19 2018 -0700

    GEODE-5503: Remove prepopulate_build since parallel builds are correct.
---
 ci/pipelines/geode-build/test-template.yml | 10 -------
 ci/scripts/prepopulate_build.sh            | 48 ------------------------------
 2 files changed, 58 deletions(-)

diff --git a/ci/pipelines/geode-build/test-template.yml b/ci/pipelines/geode-build/test-template.yml
index 4ce1f10..cd0c1b3 100644
--- a/ci/pipelines/geode-build/test-template.yml
+++ b/ci/pipelines/geode-build/test-template.yml
@@ -67,16 +67,6 @@ jobs:
         image_resource: *alpine-tools-image
         run:
           path: geode-ci/ci/scripts/rsync_code_up.sh
-    - task: prepopulate_build
-      config:
-        inputs:
-          - name: geode-ci
-          - name: geode
-          - name: instance-data
-        platform: linux
-        image_resource: *alpine-tools-image
-        run:
-          path: geode-ci/ci/scripts/prepopulate_build.sh
     - task: execute_tests
       timeout: (( grab metadata.job.timeout ))
       config:
diff --git a/ci/scripts/prepopulate_build.sh b/ci/scripts/prepopulate_build.sh
deleted file mode 100755
index ed1f432..0000000
--- a/ci/scripts/prepopulate_build.sh
+++ /dev/null
@@ -1,48 +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.
-
-set -e
-
-BASE_DIR=$(pwd)
-
-SOURCE="${BASH_SOURCE[0]}"
-while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
-  SCRIPTDIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
-  SOURCE="$(readlink "$SOURCE")"
-  [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink,
we need to resolve it relative to the path where the symlink file was located
-done
-SCRIPTDIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
-
-REPODIR=$(cd geode; git rev-parse --show-toplevel)
-
-DEFAULT_GRADLE_TASK_OPTIONS="--parallel --console=plain --no-daemon -x javadoc -x spotlessCheck
-x rat"
-
-
-SSHKEY_FILE="instance-data/sshkey"
-
-INSTANCE_NAME="$(cat instance-data/instance-name)"
-INSTANCE_IP_ADDRESS="$(cat instance-data/instance-ip-address)"
-PROJECT="$(cat instance-data/project)"
-ZONE="$(cat instance-data/zone)"
-
-
-echo 'StrictHostKeyChecking no' >> /etc/ssh/ssh_config
-
-ssh -i ${SSHKEY_FILE} geode@${INSTANCE_IP_ADDRESS} "mkdir -p tmp && cd geode &&
./gradlew ${DEFAULT_GRADLE_TASK_OPTIONS} -Dskip.tests=true build"
-


Mime
View raw message