openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgr...@apache.org
Subject [openwhisk-release] branch master updated: Updates to release instructions and tooling (#297)
Date Tue, 27 Aug 2019 20:28:00 GMT
This is an automated email from the ASF dual-hosted git repository.

dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-release.git


The following commit(s) were added to refs/heads/master by this push:
     new 106df6b  Updates to release instructions and tooling (#297)
106df6b is described below

commit 106df6beb89e64e671a9347ac9b39a313e482261
Author: David Grove <dgrove-oss@users.noreply.github.com>
AuthorDate: Tue Aug 27 16:27:55 2019 -0400

    Updates to release instructions and tooling (#297)
    
    * Updates to release instructions and tooling
    
    Useful checkpoint in updating the release instructions
    and tooling to simplify away the unused TravisCI
    aspects of the scripts and better document/script our
    actual Release Manager process.
    
    Co-Authored-By: rodric rabbah <rodric@gmail.com>
---
 .gitignore                              |   2 +-
 .travis.yml                             |  14 -----
 README.md                               |  38 ++++++--------
 docs/generate_release_notes.md          |   2 +-
 docs/package_artifacts.md               |   6 +--
 docs/pick_up_source_code.md             |  19 +------
 docs/prerequisites.md                   |  54 -------------------
 docs/release_instructions.md            |  56 ++------------------
 docs/release_manager_setup.md           |  89 ++++++++++++++++++++++++++++++++
 docs/sign_artifacts.md                  |  21 --------
 tools/checkout_svn.sh                   |  23 ++-------
 tools/clean_remote_release_artifacts.sh |  31 -----------
 tools/clean_remote_stage_artifacts.sh   |  31 -----------
 tools/config.json                       |   4 --
 tools/gen-release-vote.py               |   1 -
 tools/generate_pgp_key.sh               |  24 ---------
 tools/install_dependencies.sh           |  41 ---------------
 tools/key_pub.gpg                       |  34 ------------
 tools/key_sec.gpg.enc                   | Bin 3504 -> 0 bytes
 tools/lib/pom.xml                       |   2 +-
 tools/load_config.sh                    |  38 ++++----------
 tools/move_stage_to_release.sh          |  19 +++----
 tools/package_doc.sh                    |  33 ------------
 tools/package_source_code.sh            |   4 +-
 tools/pgp_key_gen.conf                  |  13 -----
 tools/sign_artifacts.sh                 |   2 +-
 tools/travis/cleanup.sh                 |  24 ---------
 tools/travis/import_pgp_key.sh          |  33 ------------
 tools/travis/package_project.sh         |  62 ----------------------
 tools/travis/setup.sh                   |  65 -----------------------
 tools/travis/verify_source_code.sh      |  30 -----------
 tools/upload_artifacts.sh               |   9 +++-
 tools/verify_local_artifacts.sh         |   6 +++
 tools/verify_remote_artifacts.sh        |   6 +++
 34 files changed, 161 insertions(+), 675 deletions(-)

diff --git a/.gitignore b/.gitignore
index ea8a75a..e3f9ae2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
 #*
 *~
 openwhisk_release/
-tools/key_sec.gpg
+stagingArea/
 tools/mail-config.yaml
diff --git a/.travis.yml b/.travis.yml
index f94ead5..d4e012c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,10 +19,6 @@ sudo: required
 
 env:
   global:
-  # TODO: I think this is only needed for deprecated automated mode -- remove?
-  - secure: Ewi5JFoq6fr4MxGNdhF075gs0hGwvUws6PdfuRz4Xx+vQSGIsStBcaUrK+oiOxiJ1Z6LY7i6A916PTg+fmzyLgkE+FAOCVcNxtCEoyYXPV7JqGwHYGSBOVDa6Xxz5OEccbmdD7zYFfGKniSfyVhtFYyACRZoTIqvOfiuXHDNSCosXL2PO+8I9UaQek2Y1TG+LNuysz9blkY8ykPQMB7bWBAAfPm+UhRZdkbtXDT9dfRdIQ6IYTKsBmwUEf9UiY64h8nr3pxcLHtwkkZMmDfIPk56BN+vt8dFfO6JrbodqwiTwvbhPkD0S6XFAebNthbgY7dtN+9Lje5F0pgO0PBc+bjNMljappjuOl2/xb/ZxeowFnmR1h7tCZ41UDFMqMY+BEBd+wIjuGjC5OylftiA5kiKBDPUBS5AV9JlN6DMeJySbACprHXpAN0rjJLxEiZXxris1mRfZO+4UMBMGRFbG017WpueSNOn [...]
-  # TODO: I think this is only needed for deprecated automated mode -- remove?
-  - secure: jFn9V/gAyihATBMxGSIyYLo+DfVYGz1xflEB5e7MeRr7uSkB1off39U6B5WpxgCNqmE24gmBsATVmghCYmvxnFxwfD5Q3McTtcj8zX5yVfBQ0FlrXnaZ/dHlzpygRNmk0EK+IRsuCExabZ4SnJ8PvLp4YV4ni9U+8CNjE/df5GIAIoqck/UsvO5zPGiqI/Ppi2ElpyTnhhGpAq+1eWmz/MsI21tZJZF8/E0CV9nmAQTq8TrHDuPcIagE0gx7+1FUrEGhY8LckXoYzWm/1nG+r7hDi3qYe+p0vlB8tiek+33nYWk/QW03QQ/9dXc054aUedXxNMDt5kGxlfy/ef+U53wsvs4KMS582KKqweIIx1RRYApwkpooqSziPdLRcxSQOMpP8hRI7yS7wJzXtJ7X7gp/DevaFeCDPQV0OnWjGO4dM8JbTEz86ec131txibiColS4i+//aPmHlUXa6OTuchxZOgMCBFz5 [...]
 
 notifications:
   email: false
@@ -33,13 +29,3 @@ notifications:
 
 script:
  - echo "nothing to do..."
-
-# TODO: I think this is only needed for deprecated automated mode -- remove?
-before_install:
-  - if [ "$TRAVIS_PULL_REQUEST" == "false" ] ; then
-      openssl aes-256-cbc -K $encrypted_6f36f6d35f7f_key -iv $encrypted_6f36f6d35f7f_iv -in tools/key_sec.gpg.enc -out tools/key_sec.gpg -d;
-    fi
-
-after_failure:
-  - echo "failed build"
-  - ./tools/travis/cleanup.sh
diff --git a/README.md b/README.md
index a6ea564..846b3d7 100644
--- a/README.md
+++ b/README.md
@@ -22,41 +22,37 @@
 [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
 [![Build Status](https://travis-ci.org/apache/openwhisk-release.svg?branch=master)](https://travis-ci.org/apache/openwhisk-release)
 
-The primary goal of this project is to provide the Apache OpenWhisk project's Release Managers the instructions and automation needed to guarantee a release complies with both the Apache Software Foundation's (ASF) [Release Creation Process](http://www.apache.org/dev/release-publishing.html) and [Release Policy](http://www.apache.org/legal/release-policy.html).
-
-Specifically, this repository provides Release Management of all designated Apache OpenWhisk project repositories, by automating:
-- Verification of the source code LICENSE and NOTICE files
-- Building & deploying the OpenWhisk platform
-- Running Build Verification Tests (BVT)
-- Generating CHANGELOGs for each project repository (since last release)
-- Packaging and signing source code (compressed archives) and binaries
-- publishing the artifacts to the approved Apache directories
-
-all in accordance with Apache guidelines.
+This project provides the Apache OpenWhisk project's Release Managers with the instructions and automation needed to ensure project releases comply with both the Apache Software Foundation's (ASF) [Release Creation Process](http://www.apache.org/dev/release-publishing.html) and [Release Policy](http://www.apache.org/legal/release-policy.html).
 
+Specifically, this project documents the steps a Release Manager must take to make a release of an OpenWhisk software component and where possible provides scripts and tool support to reduce the number of manual steps and potential for human error during the process. Script support is provided for:
+- Packaging and signing source code (compressed archives)
+- Verification of LICENSE and NOTICE files, source code license headers, and other formal aspects of a release candidate
+- Publishing release artifacts to the proper staging and release Apache distribution servers
+- Generation of a VOTE email for a release candidate
 
 # Release Process
 
 ## Methodology
 
-This project uses Travis CI as the automated integration build tool to streamline the release process of Apache OpenWhisk. Stages can be applied to build different jobs, which are able to run either in sequential or parallel. Artifacts can be shared across different jobs by using the cache feature in Travis, as different jobs run on different virtual machines.
+All release artifacts must be built and signed by a project Release Manager on their own machine to ensure proper security of signing keys and the integrity of the release artifacts.
 
-## Instructions
+## Being a Release Manager
 
-Please follow the [Instructions for Release Managers](docs/release_instructions.md).
+Any OpenWhisk committer may take on the role of a Release Manager.  The first time you serve as a Release Manager, you will need to prepare your machine by following the [Release Manager Setup Instructions)(docs/release_manager_setup.md).
 
-## Publishing
+## Details of Making a Release
+
+Please follow the [Instructions for Release Managers](docs/release_instructions.md).
 
-Staged candidate releases of Apache OpenWhisk artifacts are published to the approved staging repository path under Apache with all required PGP singatures:
-- https://dist.apache.org/repos/dist/dev/openwhisk/
+## Publishing Release Candidates and Releases
 
-Once candidates are approved, in accordance with required release processes and policies, their artifacts can be moved from the staging path to the approved release path:
-- https://dist.apache.org/repos/dist/release/openwhisk/
+Release candidates of Apache OpenWhisk components are published to the [release candidate staging area](https://dist.apache.org/repos/dist/dev/openwhisk) during the voting process.
 
+If a release candidate is formally approved, it will be removed from the staging area, distributed from the [release distribution server](https://dist.apache.org/repos/dist/release/openwhisk/), and listed on the [Apache OpenWhisk Downloads page](https://http://openwhisk.apache.org/downloads).
 
-# Project status
+# Apache OpenWhisk Git Repository Status
 
-The following table can be used by Release Managers to get quickly check the status of all project repositories that are currently included the current release plan:
+The following table can be used by Release Managers to check the status of all project repositories that produced releasable software components:
 
 <table cellpadding="8">
 <tbody>
diff --git a/docs/generate_release_notes.md b/docs/generate_release_notes.md
index c810786..b1a159f 100644
--- a/docs/generate_release_notes.md
+++ b/docs/generate_release_notes.md
@@ -24,4 +24,4 @@ by running the following script under the directory _tools_:
 ```
 $ ./generate_release_notes.sh
 ```
-This script will generate a release notes file named releaseNotes.md under the directory <local_release_dir>/openwhisk_release/openwhisk_sources.
+This script will generate a release notes file named releaseNotes.md under the directory <local_release_dir>/stagingArea/sources.
diff --git a/docs/package_artifacts.md b/docs/package_artifacts.md
index 1c101e0..1361d43 100644
--- a/docs/package_artifacts.md
+++ b/docs/package_artifacts.md
@@ -27,7 +27,7 @@ under the directory _tools_:
 ```
 $ ./verify_source_code.sh
 ```
-This script will generate a RAT report called rat.txt under the directory <local_release_dir>/openwhisk_release/openwhisk_sources/target. You can find the status of license
+This script will generate a RAT report called rat.txt under the directory <local_release_dir>/stagingArea/sources/target. You can find the status of license
 header in this RAT report. In addition, you can check the existence of LICENSE and NOTICE from the terminal, after
 running this script.
 
@@ -41,7 +41,7 @@ After downloading the source code, we can run the following script under _tools_
 ```
 $ ./package_source_code.sh
 ```
-This script will create a source code package file of source code suffixed with tar.gz for each project, under <local_release_dir>/openwhisk_sources/openwhisk/apache-openwhisk-\<version\>.
+This script will create a source code package file of source code suffixed with tar.gz for each project, under <local_release_dir>/sources/openwhisk/apache-openwhisk-\<version\>.
 The key version is defined in _config.json_.
 
 ## Adding or updating the documents
@@ -50,4 +50,4 @@ We can run the following script under _tools_ to add or update the documents for
 ```
 $ ./package_doc.sh
 ```
-This script will copy all the files under releases/<current version> into the designated directory, <local_release_dir>/openwhisk_sources/openwhisk/apache-openwhisk-\<version\>/doc/.
+This script will copy all the files under releases/<current version> into the designated directory, <local_release_dir>/sources/openwhisk/apache-openwhisk-\<version\>/doc/.
diff --git a/docs/pick_up_source_code.md b/docs/pick_up_source_code.md
index fa0e800..a8cdd06 100644
--- a/docs/pick_up_source_code.md
+++ b/docs/pick_up_source_code.md
@@ -80,22 +80,7 @@ Run the following script to download source code based on the configuration in _
 $ ./download_source_code.sh
 ```
 
-After this script is executed, a directory called _openwhisk_release_ will be created under the home directory of openwhisk
-release tool, if it is not available. The directory _openwhisk_release_ will save the output files, including the source code
+After this script is executed, a directory called _stagingArea_ will be created under the home directory of openwhisk
+release tool, if it is not available. The directory _stagingArea_ will save the output files, including the source code
 of all the OpenWhisk repositories, packages to be rleased, signature, checksums, etc, when we run any bash script of this
 release tool.
-
-## Checkout the subversion repository
-
-We need to checkout the subversion repository for OpenWhisk to stage the artifacts with the following command:
-
-```
-$ ./checkout_svn.sh <SVN_USERNAME> <SVN_PASSWORD>
-```
-
-If you have configured your local SVN with the username and the password, you can run the above script without the parameters.
-
-After running this command, a remote folder named openwhisk-$version will be created in the subversion
-repository if necessary, and checked out to the local folder openwhisk_release/openwhisk/openwhisk-$full_version.
-The value of $full_version is $version-$pre_release_version, as defined in config.json. This command can also be used to
-sync-up your local folder with the remote subversion folder.
diff --git a/docs/prerequisites.md b/docs/prerequisites.md
deleted file mode 100644
index 4dd6638..0000000
--- a/docs/prerequisites.md
+++ /dev/null
@@ -1,54 +0,0 @@
-<!--
-#
-# 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.
-#
--->
-
-# Release Prerequisites
-
-## Operating Systems
-
-This project is only supported under Mac or Ununtu operating system.
-
-## Download the source code
-
-Open a terminal, go to the directory where you save the source code of this release tool, and run
-
-```
-$ git clone https://github.com/apache/openwhisk-release.git
-```
-
-The directory _openwhisk-release_ becomes the home directory of openwhisk release tool, which will be referred to
-in the following context.
-
-## Install the dependencies
-
-After running the "git clone" command to download the source code this release repository, you need to run the following
-command to install all the dependencies:
-
-```
-$ cd openwhisk-release/tools
-$ ./install_dependencies.sh
-```
-
-For some old versions of Ubuntu, you probably need to run _sudo apt-get update_ before running the script to install
-dependencies.
-
-Your local machine should have the following packages, if the dependencies are installed:
-
- - svn
- - jq
- - gpg or gnupg and expect
diff --git a/docs/release_instructions.md b/docs/release_instructions.md
index 0461973..9a7f572 100644
--- a/docs/release_instructions.md
+++ b/docs/release_instructions.md
@@ -19,24 +19,12 @@
 
 # Instructions for Release Managers
 
-# Release process
-
-This project contains scripts to automate most aspects of making a release of one or more Apache OpenWhisk projects.
-
-It is intended to be used by a project Release Manager who will clone this repository to their
-local dev machine and then go through the release process by running scripts sequentially on a local machine, to push the artifacts into the staging directory and eventually move them into the Apache release directory.
-
-## Manual mode of Release Process
-
-If you work as a release manager on an official release for an OpenWhisk project, manual mode is recommended for you to go
-through and understand all the necessary steps of Apache release process tailored for OpenWhisk.
+## Step-by-Step instructions for the Release Process
 
   1. [Preparing for a release](prepare_release.md) - how to prepare OpenWhisk projects for a release
-  2. [Prerequisites](prerequisites.md) - steps that release manager needs to do before a release
   3. [Picking up the source code](pick_up_source_code.md) - determine the branch and hash value for each OpenWhisk project to release
   4. [Making the release artifacts](package_artifacts.md)
   5. [Signing the release artifacts](sign_artifacts.md)
-  6. [Uploading public PGP key](upload_public_key.md)
   7. [Publish the release artifacts to the staging directory](push_stage_url.md)
   8. Vote on the dev@openwhisk.apache.org list
   9. If the vote fails - configure the file config.json and resume from step 3.  If the vote passes, continue with step 10.
@@ -62,7 +50,7 @@ All released source code has to be compliant with Apache Licensing Policy, by ad
 
 Artifacts for project repository source code and any compiled binaries are packaged separately with each artifact being signed cryptographically.
 
-Source code needs to provide the installation script for users to deploy a full OpenWhisk environment. We target to implement this step in Travis build.
+Source code needs to provide the installation script for users to deploy a full OpenWhisk environment.
 
 ### Release distribution requirements
 
@@ -85,45 +73,7 @@ These steps are **manual** and must be performed by the Release Manager.
 
 #### Starting the Vote
 
-Propose a vote on the dev list. Here is an example:
-```
-To: "OpenWhisk Developers List" <dev@openwhisk.apache.org>
-Subject: [VOTE] Release Apache OpenWhisk {component} version {version}
-
-Hi,
-
-This is a call to vote on releasing version {version} release
-candidate {rc} of the following {N} project modules with artifacts
-built from the Git repositories and commit IDs listed below.
-
-* {YOUR REPOSITORY ID} : {GIT HASH}
-* {... list others if more than one}
-
-This release comprises of source code distribution only.
-
-You can use this UNIX script to download the release and verify the signatures:
-https://gitbox.apache.org/repos/asf?p=openwhisk-release.git;a=blob_plain;f=tools/rcverify.sh;hb=HEAD
-
-Usage:
-sh rcverify.sh {repository} {component} {version}
-
-Please vote to approve this release:
-
-  [ ] +1 Approve the release
-  [ ]  0 Don't care
-  [ ] -1 Don't release, because ...
-
-Release verification checklist for reference:
-  [ ] Download links are valid.
-  [ ] Checksums and PGP signatures are valid.
-  [ ] DISCLAIMER is included.
-  [ ] Source code artifacts have correct names matching the current release.
-  [ ] LICENSE and NOTICE files are correct for each OpenWhisk repository.
-  [ ] All files have license headers if necessary.
-  [ ] No compiled archives bundled in source archive.
-
-This majority vote is open for at least 72 hours.
-```
+Propose a vote on the dev list. Use the tools/gen-release-vote.py script to create the body of the voting email.
 
 #### Wait for the Results
 
diff --git a/docs/release_manager_setup.md b/docs/release_manager_setup.md
new file mode 100644
index 0000000..4f96050
--- /dev/null
+++ b/docs/release_manager_setup.md
@@ -0,0 +1,89 @@
+<!--
+#
+# 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.
+#
+-->
+
+# Preparing to be a Release Mananger
+
+## Platform and Prerequisites
+
+Currently all Release Managers have either MacOS or Linux
+workstations.  The scripting/automation assumes one of these two
+platforms.
+
+In addition to all the tools assumed to be installed for building
+OpenWhisk, you will also need the following packages installed:
+- svn
+- jq
+- expect
+- gpg or gnupg
+
+## Clone this repository
+
+You may want to fork the repo and then clone your fork.  Setup to use
+the same GitHub workflows you use for other OpenWhisk repositories to
+which you contribute.
+
+The scripts/automation in this project assume a local clone and
+create/use working directories and staging areas within that clone.
+Staging areas are listed in the `.gitignore` for the repository to
+avoid accidential commits of generated artifacts.
+
+## Get a local svn checkout of our distribution directories
+
+The Apache distribution servers are managed by commiting/removing
+files from project-specific directory trees in an svn repository.
+
+You can run the script tools/clone-dist-svns.sh to create a local
+checkout of these repositories at the path expected by the rest of the
+scripts.
+
+
+## Signing Keys 
+
+All release artifacts are accompanied by cryptographic signatures
+according to Apache release policy.
+
+### Create a PGP key pair
+
+You will need a PGP key pair. The key must have your
+username@apache.org as one of its associated user ids.
+
+See https://www.apache.org/dev/release-signing.html for the technical
+requirements for your signing key and instructions on creating one if
+you don't already have an acceptable one.
+
+Currently ASF recommends using a 4096 bit RSA key to sign releases.
+
+### Publish your public key to the project KEYS file.
+
+Once you have your PGP key pair, append your public key to our KEYS
+file and commit it to svn. 
+
+** Our KEYS file is append only. Once a key has been used to sign a release it cannot be removed from the project's KEYS file. **
+
+The commands to export your key (depending on your PGP client) can be found at the very top of the KEYS file,
+and are also replicated below:
+```
+Developers: 
+        pgp -kxa <your name> and append it to KEYS
+        (pgpk -ll <your name> && pgpk -xa <your name>) >> KEYS.
+        (gpg --list-sigs <your name>
+             && gpg --armor --export <your name>) >> KEYS.
+```
+
+
diff --git a/docs/sign_artifacts.md b/docs/sign_artifacts.md
index 5bef44d..0efcbb2 100644
--- a/docs/sign_artifacts.md
+++ b/docs/sign_artifacts.md
@@ -21,27 +21,6 @@
 
 Each package needs to be accompanied by cryptographic signatures according to Apache release policy.
 
-## Generate the PGP key pair
-
-You can either follow the [online PGP instruction](https://support.symantec.com/en_US/article.HOWTO41935.html) to generate the PGP key for your environment, or use our script to
-generate for you. First, you need to config [_pgp_key_gen.conf_](../tools/pgp_key_gen.conf) under the folder _tools_. Make sure you have the proper
-Name-Real, Name-Comment, Name-Email, and Passphrase for your key. You do not need to change Key-Type, Key-Length, and
-Expire-Date. Run the following script under the folder _tools_:
-
-```
-$ ./generate_pgp_key.sh
-```
-
-The configuration to generate PGP key pair needs to be associated with an identity. We use the following fields to define the identity:
-
-* **Name-Real:** the field to specify the name of the key with the default value OpenWhisk Release Bot.
-* **Name-Comment:** the field to specify the description of the key.
-* **Name-Email:** the field to specify the email address of the key.
-* **Passphrase:** the field to specify the passphrase of the key.
-* **Key-Type:** the field to specify the type of the key. The default value is RSA.
-* **Key-Length:** the field to specify the length of the key. The default value is 4096.
-* **Expire-Date:** the field to specify the expiration date of the key. The default value is 0, meaning the key will never expire.
-
 ## Sign the artifacts:
 
 All the artifacts can be signed by running the following script under _tools_:
diff --git a/tools/checkout_svn.sh b/tools/checkout_svn.sh
index 03d3cab..0ed24a9 100755
--- a/tools/checkout_svn.sh
+++ b/tools/checkout_svn.sh
@@ -18,27 +18,12 @@
 
 set -e
 
-echo "Checkout the SVN to the local directory."
+echo "Checkout staging and release SVN to the working directory."
 
 SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)"
 source "$SCRIPTDIR/load_config.sh" $1 $2
 
-: ${OPENWHISK_SVN?"Need is not set OPENWHISK_SVN"}
+mkdir -p "$OPENWHISK_WORKING_AREA"
 
-if [[ `wget -S --spider $CURRENT_VERSION_URL  2>&1 | grep 'HTTP/1.1 404 Not Found'` ]]; then
-    # Create an empty folder named ${REMOTE_PATH} in the remote staging folder
-    svn mkdir -m "Create the directory for ${full_version} in staging." $CURRENT_VERSION_URL $CREDENTIALS
-fi
-
-# Create a subversion directory for openwhisk to stage all the packages
-rm -rf $OPENWHISK_SVN
-mkdir -p $OPENWHISK_SVN
-rm -rf $OPENWHISK_SVN/*
-
-cd $OPENWHISK_SVN
-
-# Make sure the folder $REMOTE_PATH is connected to the svn staging server.
-CMD="svn co $CURRENT_VERSION_URL $REMOTE_PATH"
-echo $CMD
-$CMD
-echo svn repo checked out to... $OPENWHISK_SVN
+svn co $STAGE_URL "$STAGE_SVN_DIR"
+svn co $RELEASE_URL "$RELEASE_SVN_DIR"
diff --git a/tools/clean_remote_release_artifacts.sh b/tools/clean_remote_release_artifacts.sh
deleted file mode 100755
index 5ffc96a..0000000
--- a/tools/clean_remote_release_artifacts.sh
+++ /dev/null
@@ -1,31 +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
-
-echo "Clean the remote artifacts in release directory"
-
-SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)"
-SVN_USERNAME=$1
-SVN_PASSWORD=$2
-
-source "$SCRIPTDIR/load_config.sh" "$SVN_USERNAME" "$SVN_PASSWORD"
-
-if [[ `wget -S --spider $RELEASE_VERSION_URL  2>&1 | grep 'HTTP/1.1 200 OK'` ]]; then
-    svn delete $RELEASE_VERSION_URL -m "Removing Apache OpenWhisk release ${version}." $CREDENTIALS
-fi
diff --git a/tools/clean_remote_stage_artifacts.sh b/tools/clean_remote_stage_artifacts.sh
deleted file mode 100755
index 2928f24..0000000
--- a/tools/clean_remote_stage_artifacts.sh
+++ /dev/null
@@ -1,31 +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
-
-echo "Clean the remote artifacts in staging directory"
-
-SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)"
-SVN_USERNAME=$1
-SVN_PASSWORD=$2
-
-source "$SCRIPTDIR/load_config.sh" "$SVN_USERNAME" "$SVN_PASSWORD"
-
-if [[ `wget -S --spider $CURRENT_VERSION_URL  2>&1 | grep 'HTTP/1.1 200 OK'` ]]; then
-    svn delete $CURRENT_VERSION_URL -m "Removing Apache OpenWhisk release ${full_version} from staging." $CREDENTIALS
-fi
diff --git a/tools/config.json b/tools/config.json
index e5418a1..e43ea5f 100644
--- a/tools/config.json
+++ b/tools/config.json
@@ -1,8 +1,4 @@
 {
-  "publish_stage": true,
-  "update_doc": false,
-  "stage_url": "https://dist.apache.org/repos/dist/dev/openwhisk",
-  "release_url": "https://dist.apache.org/repos/dist/release/openwhisk",
   "versioning": {
     "version": "X.Y.Z",
     "pre_release_version": "rc1"
diff --git a/tools/gen-release-vote.py b/tools/gen-release-vote.py
index c0ab40a..05e380d 100755
--- a/tools/gen-release-vote.py
+++ b/tools/gen-release-vote.py
@@ -135,7 +135,6 @@ Please vote to approve this release:
 Release verification checklist for reference:
   [ ] Download links are valid.
   [ ] Checksums and PGP signatures are valid.
-  [ ] DISCLAIMER is included.
   [ ] Source code artifacts have correct names matching the current release.
   [ ] LICENSE and NOTICE files are correct for each OpenWhisk repository.
   [ ] All files have license headers as specified by OpenWhisk project policy [1].
diff --git a/tools/generate_pgp_key.sh b/tools/generate_pgp_key.sh
deleted file mode 100755
index e9a1f4a..0000000
--- a/tools/generate_pgp_key.sh
+++ /dev/null
@@ -1,24 +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
-
-echo "Generate the PGP key."
-
-SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)"
-echo abc | gpg --passphrase-fd 0 --batch --gen-key "$SCRIPTDIR/pgp_key_gen.conf"
diff --git a/tools/install_dependencies.sh b/tools/install_dependencies.sh
deleted file mode 100755
index 243e583..0000000
--- a/tools/install_dependencies.sh
+++ /dev/null
@@ -1,41 +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
-
-sysOS=`uname -s`
-if [ $sysOS == "Darwin" ];then
-	echo "This is MacOS."
-	brew install jq
-	brew install gpg
-	brew install wget
-elif [ $sysOS == "Linux" ];then
-	echo "This is Linux."
-    if [ -f /etc/lsb-release -o -d /etc/lsb-release.d ]; then
-        export DISTRO=$(lsb_release -i | cut -d: -f2 | sed s/'^\t'//)
-    else
-        export DISTRO=$(ls -d /etc/[A-Za-z]*[_-][rv]e[lr]* | grep -v "lsb" | cut -d'/' -f3 | cut -d'-' -f1 | cut -d'_' -f1)
-    fi
-    if [ $DISTRO == "Ubuntu" ];then
-        echo "This is Ubuntu."
-        sudo apt-get update
-        sudo apt-get install jq gnupg expect wget
-    fi
-else
-	echo "Other OS: $sysOS. Please manually install jq library."
-fi
diff --git a/tools/key_pub.gpg b/tools/key_pub.gpg
deleted file mode 100644
index dd82284..0000000
--- a/tools/key_pub.gpg
+++ /dev/null
@@ -1,34 +0,0 @@
-pub   rsa4096 2018-07-02 [SCEA]
-      FFB5D1D50881271B849DAE3872AF0CC22C4CF320
-uid           [ultimate] Vincent Hou (Release manager of OpenWhisk) <houshengbo@apache.org>
-sig 3        72AF0CC22C4CF320 2018-07-02  Vincent Hou (Release manager of OpenWhisk) <houshengbo@apache.org>
-
------BEGIN PGP PUBLIC KEY BLOCK-----
-
-mQINBFs6OYYBEACyJHjZQTEkv47UZWSiMklAkPObY7dbrQEt/qwM9p6TUD1sI77X
-zgCMttXAafoCEWRl4mr5z5Vj4TT37T8dQOm+RuUAlDg6dWkwUTD5Q/P/TliueKyq
-mQNBCzTzWW3qp34ZvmiJ39vneXjUDPzTXs1yIt+GofRheOe4A1/yYa5X4DaBrvjv
-Vjo5V271uDYz+J0ZoslP6xkmW3DLMhUSu1HMLZ4dZmgNYY889wtgln70fB4c8T99
-ufKk1KcoCZMJsVVtcUxZgVaDNIbmItgX/IsleS1TwXnrfPenPkz6biZwr3tLjEMv
-XcR+kwhWEFpmQSY6g4vyR4q2/aTQ69ggh3bel+ZNPgjeTyLkHgw4zaqIhqqqjHaT
-tPTx0uRn6twBY3YEMP5p/nIjtxdeXGC/oqDiywagDNcYVLerAL5hu0CxoOytex3Y
-xHAGlttObYQep31qIJ+jaZn3MNQeppZXHI3VaTm7dH7H9Iaf4rgvelMncfdSXbds
-aqdLqrwrlonRzf04p+sdlQUv2gV9gWv4tdB54/KbghAXmmMa7QtC2RoKA+/sCLzk
-1yGOnQwzo5ym0Uy1Xf+B8z3L9Iig8IxpH/EQT+xxOh2X/TYvzig8HFyyVOvnAjpW
-NFLLqfzq87XvwsiDE7lLuidTbFDD8JTucvYpKEDg4U0sOAEXymT6fm7C1wARAQAB
-tEJWaW5jZW50IEhvdSAoUmVsZWFzZSBtYW5hZ2VyIG9mIE9wZW5XaGlzaykgPGhv
-dXNoZW5nYm9AYXBhY2hlLm9yZz6JAk4EEwEIADgWIQT/tdHVCIEnG4SdrjhyrwzC
-LEzzIAUCWzo5hgIbLwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRByrwzCLEzz
-IJ/2D/0Soc1QlJIxC0Ie3mrhENbnNMr8GqvdFhspO+EnlJDdnD/8k/zc1728vY5O
-yA9l4UIT4J9XnVa+oEnyXyEMRL8or55HCPOO+nzHN7qhyFQY72szkqDlIIEP8MHc
-h4yhStB67l4sPMEPgiiHbww7LUtM6Q9b+R8sC5+308S3gvCgHXBSTwHC+WjPbdiT
-/PT3B7VMLvNGr5IJ1AL7L6s8Miv2u+R/Y4DJJ0N8TMmGAIEd/YJDNs/RyOulxwKC
-qVgRYQk4qffJjN9HRwpU0QLVNHk3kvs9Sevh87lNX8lj/gUbjJtXQpcy/PmYfTNI
-VVcA/FLsYPXMjKEYLq8WKSN9woKBSqm3elWbI+eSmZqU+o4sIkrzS+uts6wgU6Ge
-oXteSwoFezbUrW3vF3MV33uA3V/MlYq3TwrJC1JTPiRLHrNRAGaByL7SLQq+iCJD
-bkBMZm48+O4jVyhtGcUQT2K9nLFjNjO68RH+B5hHLJnB+3a8gKnXhS1sesFLFI/h
-CL/e7pcDcodsqA5tXcKhamigQWlm+YcCo5BjYnyOAzAEw2IrUiIL7zNFjFu1WA78
-CF7J6cUgntTNGOhSmQPM0CVLkcHdD6s1E3eK5uKDct2Ii2jPqn7aAK8z/hCYjWcd
-X+eXIK5W/l+31jckYEtr4KhOD6+Lj2eBZCKaisXSCJ7pL3w3mg==
-=bwVN
------END PGP PUBLIC KEY BLOCK-----
diff --git a/tools/key_sec.gpg.enc b/tools/key_sec.gpg.enc
deleted file mode 100644
index 7ec1231..0000000
Binary files a/tools/key_sec.gpg.enc and /dev/null differ
diff --git a/tools/lib/pom.xml b/tools/lib/pom.xml
index 214fd0e..f08a53e 100644
--- a/tools/lib/pom.xml
+++ b/tools/lib/pom.xml
@@ -28,7 +28,7 @@
       <plugin>
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>
-        <version>0.12</version>
+        <version>0.13</version>
         <configuration>
           <licenses>
             <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
diff --git a/tools/load_config.sh b/tools/load_config.sh
index b18b628..97e06eb 100755
--- a/tools/load_config.sh
+++ b/tools/load_config.sh
@@ -16,35 +16,26 @@
 # limitations under the License.
 #
 
-DIR="$(cd $(dirname "$0")/ && pwd)"
-SVN_USERNAME=$1
-SVN_PASSWORD=$2
-SCRIPTDIR=${3:-"$DIR"}
-CREDENTIALS=""
+SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)"
 
 CURRENTDIR="$(cd $(dirname "$0")/ && pwd)"
 PARENTDIR="$(dirname "$CURRENTDIR")"
 
-if [ ! -z "$SVN_USERNAME" ] && [ ! -z "$SVN_PASSWORD" ];then
-    CREDENTIALS="--username $SVN_USERNAME --password $SVN_PASSWORD --non-interactive"
-fi
+OPENWHISK_WORKING_AREA="$PARENTDIR/stagingArea"
+OPENWHISK_SOURCE_DIR="$OPENWHISK_WORKING_AREA/sources"
+OPENWHISK_CLEANED_SOURCE_DIR="$OPENWHISK_WORKING_AREA/cleaned_sources"
+OPENWHISK_ARTIFACT_DIR="$OPENWHISK_WORKING_AREA/artifacts"
+
+STAGE_URL="https://dist.apache.org/repos/dist/dev/openwhisk"
+STAGE_SVN_DIR="$OPENWHISK_WORKING_AREA/svn_staging"
+RELEASE_URL="https://dist.apache.org/repos/dist/release/openwhisk"
+RELEASE_SVN_DIR="$OPENWHISK_WORKING_AREA/svn_release"
 
 source "$SCRIPTDIR/util.sh"
 
 CONFIG=$(read_file $SCRIPTDIR/config.json)
-OPENWHISK_RELEASE_DIR="$PARENTDIR/openwhisk_release"
-
-OPENWHISK_SOURCE_DIR="$OPENWHISK_RELEASE_DIR/openwhisk_sources"
-
-OPENWHISK_CLEANED_SOURCE_DIR="$OPENWHISK_RELEASE_DIR/openwhisk_cleaned_sources"
-OPENWHISK_SVN="$OPENWHISK_RELEASE_DIR/openwhisk"
-OPENWHISK_PROJECT_NAME="apache-openwhisk"
 
-PUBLISH_STAGE=$(json_by_key "$CONFIG" "publish_stage")
-UPDATE_DOC=$(json_by_key "$CONFIG" "update_doc")
 repos=$(echo $(json_by_key "$CONFIG" "RepoList") | sed 's/[][]//g')
-STAGE_URL=$(json_by_key "$CONFIG" "stage_url")
-RELEASE_URL=$(json_by_key "$CONFIG" "release_url")
 
 version_key="versioning"
 version_json=$(json_by_key "$CONFIG" ${version_key}.version)
@@ -58,12 +49,3 @@ if [ ! -z "$pre_release_version" ]; then
         full_version=$full_version-$pre_release_version_no_space
     fi
 fi
-
-REMOTE_PATH="$OPENWHISK_PROJECT_NAME-$full_version"
-REMOTE_PATH_RELEASE="$OPENWHISK_PROJECT_NAME-$version"
-
-CURRENT_VERSION_URL="$STAGE_URL/${REMOTE_PATH}/"
-CURRENT_VERSION_DIR="$OPENWHISK_SVN/$REMOTE_PATH"
-
-RELEASE_VERSION_URL_STAGE="$RELEASE_URL/${REMOTE_PATH}/"
-RELEASE_VERSION_URL="$RELEASE_URL/${REMOTE_PATH_RELEASE}/"
diff --git a/tools/move_stage_to_release.sh b/tools/move_stage_to_release.sh
index 2e5278d..466f593 100755
--- a/tools/move_stage_to_release.sh
+++ b/tools/move_stage_to_release.sh
@@ -20,14 +20,16 @@ set -e
 
 echo "Move the remote artifacts from staging to release directory."
 
+echo "THIS SCRIPT NEEDS TO BE UPDATED"
+
+exit 1
+
 SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)"
-SVN_USERNAME=$1
-SVN_PASSWORD=$2
 
-source "$SCRIPTDIR/load_config.sh" "$SVN_USERNAME" "$SVN_PASSWORD"
+source "$SCRIPTDIR/load_config.sh"
 
 if [[ `wget -S --spider $RELEASE_VERSION_URL  2>&1 | grep 'HTTP/1.1 404 Not Found'` ]]; then
-    svn mkdir $RELEASE_VERSION_URL -m "Creating Apache OpenWhisk release ${version}." $CREDENTIALS
+    svn mkdir $RELEASE_VERSION_URL -m "Creating Apache OpenWhisk release ${version}."
 fi
 
 # Create a subversion directory for openwhisk to stage all the packages
@@ -47,11 +49,6 @@ do
     cp ${REMOTE_PATH}/${repo_name}-${version}-sources.tar.gz* ${REMOTE_PATH_RELEASE}/
 done
 
-if [ "$UPDATE_DOC" == "true" ] ; then
-    # Copy the documents into the release folder
-    cp -R ${REMOTE_PATH}/doc ${REMOTE_PATH_RELEASE}/
-fi
-
 cd $REMOTE_PATH_RELEASE
-svn add --force * $CREDENTIALS
-svn commit -m "Updating Apache OpenWhisk release ${version}." $CREDENTIALS
+svn add --force *
+svn commit -m "Updating Apache OpenWhisk release ${version}."
diff --git a/tools/package_doc.sh b/tools/package_doc.sh
deleted file mode 100755
index 863474d..0000000
--- a/tools/package_doc.sh
+++ /dev/null
@@ -1,33 +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
-
-echo "Package the documents."
-
-SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)"
-source "$SCRIPTDIR/load_config.sh" $1 $2 $3
-
-if [ "$UPDATE_DOC" == "true" ] ; then
-    mkdir -p $CURRENT_VERSION_DIR
-
-    # Copy the documents for the current release into the $CURRENT_VERSION_DIR directory
-    PARENTDIR="$(dirname "$SCRIPTDIR")"
-    mkdir -p ${CURRENT_VERSION_DIR}/doc
-    cp $PARENTDIR/releases/$version/* ${CURRENT_VERSION_DIR}/doc/
-fi
diff --git a/tools/package_source_code.sh b/tools/package_source_code.sh
index 5084012..822b25f 100755
--- a/tools/package_source_code.sh
+++ b/tools/package_source_code.sh
@@ -23,7 +23,7 @@ echo "Package the artifacts."
 SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)"
 source "$SCRIPTDIR/load_config.sh" $1 $2 $3
 
-mkdir -p $CURRENT_VERSION_DIR
+mkdir -p $OPENWHISK_ARTIFACT_DIR
 
 # Clean up all the source code by excluding unnecessary files and folders
 # Remove all the hidden files and folder
@@ -40,5 +40,5 @@ do
     cd $OPENWHISK_CLEANED_SOURCE_DIR
     # Rename the directory by adding the version number
     mv $project_name $project_name-$version
-    tar czf ${CURRENT_VERSION_DIR}/${repo_name}-${version}-sources.tar.gz $project_name-$version
+    tar czf ${OPENWHISK_ARTIFACT_DIR}/${repo_name}-${version}-sources.tar.gz $project_name-$version
 done
diff --git a/tools/pgp_key_gen.conf b/tools/pgp_key_gen.conf
deleted file mode 100644
index 769792e..0000000
--- a/tools/pgp_key_gen.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more contributor
-# license agreements; and to You under the Apache License, Version 2.0.
-
-%echo Generating a basic OpenPGP key
-Key-Type: RSA
-Key-Length: 4096
-Name-Real: OpenWhisk Release Bot
-Name-Comment: Release of OpenWhisk
-Name-Email: apacheopenwhisk@gmail.com
-Expire-Date: 0
-Passphrase: openwhisk
-%commit
-%echo done
diff --git a/tools/sign_artifacts.sh b/tools/sign_artifacts.sh
index 2f4f020..693244b 100755
--- a/tools/sign_artifacts.sh
+++ b/tools/sign_artifacts.sh
@@ -33,7 +33,7 @@ if [ $sysOS == "Darwin" ];then
     `gpg -o /dev/null --sign /dev/null`
 fi
 
-cd $CURRENT_VERSION_DIR
+cd $OPENWHISK_ARTIFACT_DIR
 echo "Sign the artifacts with the private key."
 for artifact in *.tar.gz *.zip *.tgz; do
     if [ "${artifact}" != "*.tar.gz" ] && [ "${artifact}" != "*.zip" ] && [ "${artifact}" != "*.tgz" ] ; then
diff --git a/tools/travis/cleanup.sh b/tools/travis/cleanup.sh
deleted file mode 100755
index 32c412f..0000000
--- a/tools/travis/cleanup.sh
+++ /dev/null
@@ -1,24 +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.
-#
-SUFFIX="$TRAVIS_BUILD_NUMBER"
-PR_NUM="$TRAVIS_PULL_REQUEST"
-
-mkdir -p ~/docker
-cd ~/docker
-ls
-rm *.tar
diff --git a/tools/travis/import_pgp_key.sh b/tools/travis/import_pgp_key.sh
deleted file mode 100755
index 6c1fe0b..0000000
--- a/tools/travis/import_pgp_key.sh
+++ /dev/null
@@ -1,33 +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
-
-echo "Import the PGP key."
-
-SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)"
-PARENTDIR="$(dirname "$SCRIPTDIR")"
-
-# Load the public key located in the repo of openwhisk release.
-echo "Load the public key."
-gpg --import $PARENTDIR/key_pub.gpg
-
-echo "Load the private key."
-gpg --allow-secret-key-import --import $PARENTDIR/key_sec.gpg
-
-expect -c "spawn gpg --edit-key houshengbo@apache.org trust quit; send \"5\ry\r\"; expect eof"
diff --git a/tools/travis/package_project.sh b/tools/travis/package_project.sh
deleted file mode 100755
index 5323807..0000000
--- a/tools/travis/package_project.sh
+++ /dev/null
@@ -1,62 +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
-
-CURRENTDIR="$(cd $(dirname "$0")/ && pwd)"
-PARENTDIR="$(dirname "$CURRENTDIR")"
-
-SVN_USERNAME=$1
-SVN_PASSWORD=$2
-
-"$PARENTDIR/install_dependencies.sh"
-
-if [ ! -z "$TRAVIS_TAG" ] ; then
-    # The git tag is named after the version to be released.
-    release_version=$TRAVIS_TAG
-    source "$PARENTDIR/load_config.sh" "$SVN_USERNAME" "$SVN_PASSWORD" "$PARENTDIR" "$release_version"
-    "$PARENTDIR/move_stage_to_release.sh" "$SVN_USERNAME" "$SVN_PASSWORD"
-elif [ "$TRAVIS_EVENT_TYPE" == "push" ] ; then
-    # For the Travis builds based on PRs, we only pick the necessary steps based on the flags PUBLISH_STAGE and UPDATE_DOC configured in config.json.
-    source "$PARENTDIR/load_config.sh" "$SVN_USERNAME" "$SVN_PASSWORD" "$PARENTDIR"
-    "$PARENTDIR/download_source_code.sh"
-    "$PARENTDIR/checkout_svn.sh" "$SVN_USERNAME" "$SVN_PASSWORD"
-    if [ "$PUBLISH_STAGE" == "true" ] ; then
-        "$PARENTDIR/package_source_code.sh"
-        if [ "$UPDATE_DOC" == "true" ] ; then
-            "$PARENTDIR/package_doc.sh"
-        fi
-        "$PARENTDIR/package_binaries.sh"
-        "$CURRENTDIR/import_pgp_key.sh"
-        "$PARENTDIR/sign_artifacts.sh"
-        "$PARENTDIR/upload_artifacts.sh" "$SVN_USERNAME" "$SVN_PASSWORD"
-        "$PARENTDIR/verify_source_code.sh"
-    elif [ "$UPDATE_DOC" == "true" ] ; then
-        "$PARENTDIR/package_doc.sh"
-        "$PARENTDIR/upload_artifacts.sh" "$SVN_USERNAME" "$SVN_PASSWORD"
-        "$PARENTDIR/verify_source_code.sh"
-    fi
-elif [ "$TRAVIS_EVENT_TYPE" == "pull_request" ] ; then
-    # For the Travis builds based on PRs, we need to verify all the steps, expect importing credentials, and uploading the artifacts.
-    source "$PARENTDIR/load_config.sh" "$SVN_USERNAME" "$SVN_PASSWORD" "$PARENTDIR"
-    "$PARENTDIR/download_source_code.sh"
-    "$PARENTDIR/package_source_code.sh"
-    "$PARENTDIR/package_doc.sh"
-    "$PARENTDIR/package_binaries.sh"
-    "$PARENTDIR/verify_source_code.sh"
-fi
diff --git a/tools/travis/setup.sh b/tools/travis/setup.sh
deleted file mode 100755
index 7b6531b..0000000
--- a/tools/travis/setup.sh
+++ /dev/null
@@ -1,65 +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
-
-echo "hello openwhisk release"
-
-SVN_USERNAME=$1
-SVN_PASSWORD=$2
-
-CURRENTDIR="$(cd $(dirname "$0")/ && pwd)"
-PARENTDIR="$(dirname "$CURRENTDIR")"
-
-source "$PARENTDIR/load_config.sh" "$SVN_USERNAME" "$SVN_PASSWORD" "$PARENTDIR"
-
-SUFFIX="$TRAVIS_BUILD_NUMBER"
-PR_NUM="$TRAVIS_PULL_REQUEST"
-PREFIX="build_testing"
-
-export OPENWHISK_HOME="$OPENWHISK_SOURCE_DIR/openwhisk";
-
-mkdir -p $OPENWHISK_SOURCE_DIR
-cd $OPENWHISK_SOURCE_DIR
-
-echo "list images in setup before build"
-docker images
-
-"$PARENTDIR/download_source_code.sh"
-
-cd $OPENWHISK_SOURCE_DIR/openwhisk
-./tools/travis/setup.sh
-TERM=dumb ./gradlew core:controller:distDocker core:invoker:distDocker -PdockerImagePrefix=$PREFIX
-
-cd ansible
-ANSIBLE_CMD="ansible-playbook -i environments/local -e docker_image_prefix=$PREFIX"
-$ANSIBLE_CMD setup.yml
-$ANSIBLE_CMD prereq.yml
-$ANSIBLE_CMD couchdb.yml
-$ANSIBLE_CMD initdb.yml
-$ANSIBLE_CMD apigateway.yml
-$ANSIBLE_CMD wipe.yml
-$ANSIBLE_CMD openwhisk.yml
-
-# Build the binaries for CLI
-cd $OPENWHISK_SOURCE_DIR/openwhisk-cli
-#./gradlew buildBinaries -PcrossCompileCLI=true
-
-# Build the binaries for wskdeploy
-cd $OPENWHISK_SOURCE_DIR/openwhisk-wskdeploy
-#./gradlew distDocker -PcrossCompileWSKDEPLOY=true
diff --git a/tools/travis/verify_source_code.sh b/tools/travis/verify_source_code.sh
deleted file mode 100755
index 2b8dae3..0000000
--- a/tools/travis/verify_source_code.sh
+++ /dev/null
@@ -1,30 +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
-
-SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)"
-PARENTDIR="$(dirname "$SCRIPTDIR")"
-
-echo $PARENTDIR
-"$PARENTDIR/install_dependencies.sh"
-"$PARENTDIR/download_source_code.sh"
-"$PARENTDIR/verify_source_code.sh"
-
-# TODO: verify the source code headers
-echo "TODO: verify the source code headers"
diff --git a/tools/upload_artifacts.sh b/tools/upload_artifacts.sh
index eddc291..3d31e0c 100755
--- a/tools/upload_artifacts.sh
+++ b/tools/upload_artifacts.sh
@@ -20,13 +20,18 @@ set -e
 
 echo "Upload the artifacts."
 
+echo "THIS SCRIPT NEEDS TO BE UPDATED"
+
+exit 1
+
+
 SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)"
 source "$SCRIPTDIR/load_config.sh" $1 $2
 
 cd $OPENWHISK_SVN/$REMOTE_PATH
 
-svn add --force * $CREDENTIALS
-svn commit -m "Staging Apache OpenWhisk release ${full_version}." $CREDENTIALS
+svn add --force *
+svn commit -m "Staging Apache OpenWhisk release ${full_version}."
 
 # Disconnect $REMOTE_PATH with the remote staging server.
 rm -rf .svn
diff --git a/tools/verify_local_artifacts.sh b/tools/verify_local_artifacts.sh
index 5289d5a..6f5b38e 100755
--- a/tools/verify_local_artifacts.sh
+++ b/tools/verify_local_artifacts.sh
@@ -20,6 +20,12 @@ set -e
 
 echo "Verify the local artifacts with the KEYS"
 
+echo "THIS SCRIPT NEEDS TO BE UPDATED"
+
+exit 1
+
+
+
 SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)"
 source "$SCRIPTDIR/load_config.sh" $1 $2 $3
 
diff --git a/tools/verify_remote_artifacts.sh b/tools/verify_remote_artifacts.sh
index 8c3c1a2..109ea41 100755
--- a/tools/verify_remote_artifacts.sh
+++ b/tools/verify_remote_artifacts.sh
@@ -20,6 +20,12 @@ set -e
 
 echo "Verify the remote artifacts with the KEYS"
 
+echo "THIS SCRIPT NEEDS TO BE UPDATED"
+
+exit 1
+
+
+
 SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)"
 source "$SCRIPTDIR/load_config.sh" $1 $2 $3
 


Mime
View raw message