From commits-return-28947-archive-asf-public=cust-asf.ponee.io@geode.apache.org Fri Oct 26 20:07:14 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 930EC180647 for ; Fri, 26 Oct 2018 20:07:13 +0200 (CEST) Received: (qmail 15616 invoked by uid 500); 26 Oct 2018 18:07:12 -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 15607 invoked by uid 99); 26 Oct 2018 18:07:12 -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; Fri, 26 Oct 2018 18:07:12 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 2698A87085; Fri, 26 Oct 2018 18:07:12 +0000 (UTC) Date: Fri, 26 Oct 2018 18:07:11 +0000 To: "commits@geode.apache.org" Subject: [geode] branch develop updated: Restore update passing ref (#2732) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <154057723067.1892.18407925868919695462@gitbox.apache.org> From: smgoller@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: 8a8a418f1765e61d789c1b70b8f2d3cf13df5f4e X-Git-Newrev: 4ef9b534371a054de6bd50cdf83377859c92bc26 X-Git-Rev: 4ef9b534371a054de6bd50cdf83377859c92bc26 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. smgoller 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 4ef9b53 Restore update passing ref (#2732) 4ef9b53 is described below commit 4ef9b534371a054de6bd50cdf83377859c92bc26 Author: Sean Goller AuthorDate: Fri Oct 26 11:07:01 2018 -0700 Restore update passing ref (#2732) * Restore UpdatePassingRef for now. Co-authored-by: Sean Goller Co-authored-by: Dick Cavender * Restore update-passing-ref.sh Co-authored-by: Sean Goller Co-authored-by: Dick Cavender --- ci/scripts/update-passing-ref.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/ci/scripts/update-passing-ref.sh b/ci/scripts/update-passing-ref.sh new file mode 100644 index 0000000..bf6b894 --- /dev/null +++ b/ci/scripts/update-passing-ref.sh @@ -0,0 +1,31 @@ +#!/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. +# + + +export BUILDROOT=$(pwd) +REPOSITORY_DIR=$(pwd)/geode +LOCAL_FILE=${BUILDROOT}/results/passing.txt +DESTINATION_URL=gs://${ARTIFACT_BUCKET}/${MAINTENANCE_VERSION}/passing.txt +pushd ${REPOSITORY_DIR} +git rev-parse HEAD > ${LOCAL_FILE} +popd +echo "Updating passing reference file for ${MAINTENANCE_VERSION} to the following SHA:" +cat ${LOCAL_FILE} +gsutil -q -m cp ${LOCAL_FILE} ${DESTINATION_URL} +gsutil setmeta -h "Cache-Control:no-cache" ${DESTINATION_URL}