From commits-return-27728-archive-asf-public=cust-asf.ponee.io@geode.apache.org Tue Jul 31 06:07:34 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id CF357180630 for ; Tue, 31 Jul 2018 06:07:33 +0200 (CEST) Received: (qmail 75021 invoked by uid 500); 31 Jul 2018 04:07:32 -0000 Mailing-List: contact commits-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list commits@geode.apache.org Received: (qmail 75012 invoked by uid 99); 31 Jul 2018 04:07:32 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2018 04:07:32 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id DF7CB80940; Tue, 31 Jul 2018 04:07:31 +0000 (UTC) Date: Tue, 31 Jul 2018 04:07:31 +0000 To: "commits@geode.apache.org" Subject: [geode] branch develop updated: GEODE-5503: Remove prepopulate_build since parallel builds are correct. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <153301005089.10812.4116467255996867234@gitbox.apache.org> From: jbarrett@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: geode X-Git-Refname: refs/heads/develop X-Git-Reftype: branch X-Git-Oldrev: d898662b7acdc8ec2fdaedbc065d3670a271eab5 X-Git-Newrev: 6e196131ee20370a2e19a9d8dd0028f842bd7260 X-Git-Rev: 6e196131ee20370a2e19a9d8dd0028f842bd7260 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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" -