You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2018/05/01 19:06:44 UTC

[GitHub] mikewalch closed pull request #76: Adding docs for testing Accumulo release

mikewalch closed pull request #76: Adding docs for testing Accumulo release
URL: https://github.com/apache/accumulo-website/pull/76
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/contributor/contributors-guide.md b/contributor/contributors-guide.md
index 6ca756bd..d56aaa9c 100644
--- a/contributor/contributors-guide.md
+++ b/contributor/contributors-guide.md
@@ -570,7 +570,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


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services