You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by na...@apache.org on 2015/04/08 22:37:07 UTC

jclouds git commit: Release scripts are in the release SVN repo

Repository: jclouds
Updated Branches:
  refs/heads/master 058c0fa54 -> fc0131d48


Release scripts are in the release SVN repo


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/fc0131d4
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/fc0131d4
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/fc0131d4

Branch: refs/heads/master
Commit: fc0131d489834c6a434232c189c5f80711c69d13
Parents: 058c0fa
Author: Ignasi Barrera <na...@apache.org>
Authored: Wed Apr 8 18:10:34 2015 +0200
Committer: Ignasi Barrera <na...@apache.org>
Committed: Wed Apr 8 18:10:34 2015 +0200

----------------------------------------------------------------------
 scripts/README.md                    |  3 --
 scripts/release/fetch_jclouds_rc.sh  | 40 ------------------
 scripts/release/verify_jclouds_rc.sh | 67 -------------------------------
 3 files changed, 110 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/fc0131d4/scripts/README.md
----------------------------------------------------------------------
diff --git a/scripts/README.md b/scripts/README.md
deleted file mode 100644
index 88a5012..0000000
--- a/scripts/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# jclouds Development and Release Scripts
-
-This is a collection of scripts that aid in the development and release of jclouds itself.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/jclouds/blob/fc0131d4/scripts/release/fetch_jclouds_rc.sh
----------------------------------------------------------------------
diff --git a/scripts/release/fetch_jclouds_rc.sh b/scripts/release/fetch_jclouds_rc.sh
deleted file mode 100755
index 5ac9c3d..0000000
--- a/scripts/release/fetch_jclouds_rc.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/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.
-#
-
-# Usage examples:
-#
-# Verify a release candidate
-# $ ./fetch_jclouds_rc.sh 2.0.0 https://dist.apache.org/repos/dist/dev/jclouds /tmp
-
-VERSION=$1
-REPO=$2
-DL_DIR=$3
-
-for a in ${REPO}/org/apache/jclouds/jclouds/${VERSION}/jclouds-${VERSION}-source-release.tar.gz \
-    ${REPO}/org/apache/jclouds/labs/jclouds-labs/${VERSION}/jclouds-labs-${VERSION}-source-release.tar.gz \
-    ${REPO}/org/apache/jclouds/chef/jclouds-chef/${VERSION}/jclouds-chef-${VERSION}-source-release.tar.gz \
-    ${REPO}/org/apache/jclouds/jclouds-karaf/${VERSION}/jclouds-karaf-${VERSION}-source-release.tar.gz \
-    ${REPO}/org/apache/jclouds/cli/jclouds-cli/${VERSION}/jclouds-cli-${VERSION}-source-release.tar.gz \
-    ${REPO}/org/apache/jclouds/labs/jclouds-labs-openstack/${VERSION}/jclouds-labs-openstack-${VERSION}-source-release.tar.gz \
-    ${REPO}/org/apache/jclouds/labs/jclouds-labs-aws/${VERSION}/jclouds-labs-aws-${VERSION}-source-release.tar.gz \
-    ${REPO}/org/apache/jclouds/labs/jclouds-labs-google/${VERSION}/jclouds-labs-google-${VERSION}-source-release.tar.gz; do
-
-    wget -P ${DL_DIR} --no-check-certificate ${a}{,.asc,.md5,.sha1};
-
-done

http://git-wip-us.apache.org/repos/asf/jclouds/blob/fc0131d4/scripts/release/verify_jclouds_rc.sh
----------------------------------------------------------------------
diff --git a/scripts/release/verify_jclouds_rc.sh b/scripts/release/verify_jclouds_rc.sh
deleted file mode 100755
index b49c977..0000000
--- a/scripts/release/verify_jclouds_rc.sh
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/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.
-#
-
-# Usage examples:
-#
-# Verify a release candidate
-# $ ./verify_jclouds_rc.sh 2.0.0-rc1
-
-set -ex
-
-RELEASE=$1
-
-if [ -e /sbin/md5 ]; then
-    MD5SUM="/sbin/md5 -q"
-else
-    MD5SUM=/usr/bin/md5sum
-fi
-
-if [ -e /sbin/sha1 ]; then
-    SHA1SUM=/sbin/sha1
-elif [ -e /usr/bin/shasum ]; then
-    SHA1SUM=/usr/bin/shasum
-else
-    SHA1SUM=/usr/bin/sha1sum
-fi
-
-curl http://www.apache.org/dist/jclouds/KEYS | gpg --import
-
-svn co https://dist.apache.org/repos/dist/dev/jclouds/$RELEASE
-
-cd $RELEASE
-
-for tarball in `ls *.tar.gz`; do
-    # Verify md5sum
-    diff -wB <($MD5SUM ${tarball} | perl -pe 's/(.*?)\s.*/$1/') <(cat ${tarball}.md5);
-    # Verify sha1sum
-    diff -wq <($SHA1SUM ${tarball}|perl -pe 's/(.*?)\s.*/$1/') <(cat ${tarball}.sha1);
-    # verify signature
-    gpg --verify ${tarball}.asc ${tarball};
-    # Untar
-    tar -xzf ${tarball};
-done
-
-for d in jclouds jclouds-labs jclouds-labs-openstack jclouds-labs-aws jclouds-labs-google jclouds-chef jclouds-karaf jclouds-cli; do
-    reldir=${d}-$(echo $RELEASE | perl -pe 's/(.*)-rc.*/$1/');
-    if [ -d "${reldir}" ]; then
-	cd ${reldir};
-	mvn clean install;
-	cd ..;
-    fi
-done