accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwa...@apache.org
Subject [accumulo-website] branch master updated: Adding docs for testing Accumulo release (#76)
Date Tue, 01 May 2018 19:06:44 GMT
This is an automated email from the ASF dual-hosted git repository.

mwalch pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 19f858c  Adding docs for testing Accumulo release (#76)
19f858c is described below

commit 19f858cab98910d30393268e2fab7412b619be87
Author: Mike Walch <mwalch@apache.org>
AuthorDate: Tue May 1 15:06:42 2018 -0400

    Adding docs for testing Accumulo release (#76)
---
 contributor/contributors-guide.md | 54 ++++++++++++++++++++++++++++++++++++++-
 1 file changed, 53 insertions(+), 1 deletion(-)

diff --git a/contributor/contributors-guide.md b/contributor/contributors-guide.md
index 3872c95..93021b2 100644
--- a/contributor/contributors-guide.md
+++ b/contributor/contributors-guide.md
@@ -564,7 +564,59 @@ For details about governance policies for the Accumulo project view the
followin
 - [Lazy Consensus][38]
 - [Voting][39]
 
-
+## Test a Accumulo release
+
+1. Set the release version, ID for staging repo, and alias to configure Maven with temporary
settings:
+   ```shell
+   export RC_VERSION=1.9.0
+   export RC_STAGING=1070
+   ```
+1. Create temporary Maven settings
+   ```shell
+   $ cat <<EOF >/tmp/accumulo-rc-maven.xml
+   <settings>
+     <profiles>
+       <profile>
+         <id>accumuloRC</id>
+         <repositories>
+           <repository>
+             <id>accumulorc</id>
+             <name>accumulorc</name>
+             <url>https://repository.apache.org/content/repositories/orgapacheaccumulo-\${env.RC_STAGING}/</url>
+           </repository>
+         </repositories>
+         <pluginRepositories>
+           <pluginRepository>
+             <id>accumulorcp</id>
+             <name>accumulorcp</name>
+             <url>https://repository.apache.org/content/repositories/orgapacheaccumulo-\${env.RC_STAGING}/</url>
+           </pluginRepository>
+         </pluginRepositories>
+       </profile>
+     </profiles>
+     <activeProfiles>
+       <activeProfile>accumuloRC</activeProfile>
+     </activeProfiles>
+   </settings>
+   EOF
+   ```
+#### Run the integration tests of projects that use Accumulo
+
+1. Clone the [Accumulo Examples] project:
+    ```shell
+    $ git clone https://github.com/apache/accumulo-examples.git
+    ```
+1. Run the integration test
+    ```shell
+    $ mvn -s /tmp/accumulo-rc-maven.xml clean verify -Daccumulo.version=$RC_VERSION
+    ```
+Below are more projects with integration tests:
+* [Wikisearch] - `https://github.com/apache/accumulo-wikisearch`
+* [Apache Fluo] - `https://github.com/apache/fluo`
+
+[Accumulo Examples]: https://github.com/apache/accumulo-examples
+[WikiSearch]: https://github.com/apache/accumulo-wikisearch
+[Apache Fluo]: https://github.com/apache/fluo
 [1]: #how-to-contribute-to-apache-accumulo
 [2]: #project-resources
 [3]: #github

-- 
To stop receiving notification emails like this one, please contact
mwalch@apache.org.

Mime
View raw message