You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by sh...@apache.org on 2022/02/22 08:44:03 UTC

[unomi-site] branch master updated: - Remove performance-tests profile that no longer exists - Improve wget commands to make them more generic.

This is an automated email from the ASF dual-hosted git repository.

shuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/unomi-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 47f701a  - Remove performance-tests profile that no longer exists - Improve wget commands to make them more generic.
47f701a is described below

commit 47f701aede7db21372bb1ef318407907de933b35
Author: Serge Huber <sh...@jahia.com>
AuthorDate: Tue Feb 22 09:43:55 2022 +0100

    - Remove performance-tests profile that no longer exists
    - Improve wget commands to make them more generic.
---
 src/main/webapp/contribute/release-guide.html | 28 +++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/main/webapp/contribute/release-guide.html b/src/main/webapp/contribute/release-guide.html
index 5bc71ae..dda7e02 100644
--- a/src/main/webapp/contribute/release-guide.html
+++ b/src/main/webapp/contribute/release-guide.html
@@ -171,10 +171,10 @@ git checkout -b unomi-1.6.x
                   as it is required to build everything.
               </li>
               <li>Tests source, javadocs, docker and signature generation using:
-                <pre class="alert alert-primary"><code>mvn clean install -P apache-release,performance-tests,integration-tests,docker</code></pre>
+                <pre class="alert alert-primary"><code>mvn clean install -P apache-release,integration-tests,docker</code></pre>
               </li>
               <li>Make sure we generate all sub-projects using:
-                <pre class="alert alert-primary"><code>mvn clean install -DskipITs=true -DskipTests=true -P integration-tests,performance-tests,rat,apache-release,docker,\!run-tests</code></pre>
+                <pre class="alert alert-primary"><code>mvn clean install -DskipITs=true -DskipTests=true -P integration-tests,rat,apache-release,docker,\!run-tests</code></pre>
               </li>
               <li>Check that there are no JARs or ZIP files in the source code, you can do this by looking at the generated RAT report here :
                 <pre class="alert alert-primary"><code>less target/unomi-root-${next.development.version}.rat</code></pre>
@@ -202,8 +202,7 @@ gpg: signing failed: Inappropriate ioctl for device</code></pre>
                 <a href="https://www.apache.org/dev/publishing-maven-artifacts.html" target="_blank">https://www.apache.org/dev/publishing-maven-artifacts.html</a> and <a href="https://maven.apache.org/guides/mini/guide-encryption.html#How_to_encrypt_server_passwords" target="_blank">https://maven.apache.org/guides/mini/guide-encryption.html#How_to_encrypt_server_passwords</a>
               </li>
               <li>Check into the target directory and unzip the source release and compile it using:
-                <pre class="alert alert-primary"><code>pushd
-cd target
+                <pre class="alert alert-primary"><code>pushd target
 gpg --verify unomi-root-${next.development.version}-source-release.zip.asc unomi-root-${next.development.version}-source-release.zip
 shasum -a 512 unomi-root-${next.development.version}-source-release.zip
 cat unomi-root-${next.development.version}-source-release.zip.sha512
@@ -214,7 +213,7 @@ popd</code></pre>
                 to check that the packaged source build properly
               </li>
               <li>Go back to the root project directory (pushd/popd did that for you normally) and run:
-                <pre class="alert alert-primary"><code>mvn release:prepare -DskipITs=true -DskipTests=true -Drelease.arguments="-Papache-release,integration-tests -DskipITs=true -DskipTests=true"  -DdryRun=true -P apache-release,integration-tests,performance-tests,docker,\!run-tests</code></pre>
+                <pre class="alert alert-primary"><code>mvn release:prepare -DskipITs=true -DskipTests=true -Drelease.arguments="-Papache-release,integration-tests -DskipITs=true -DskipTests=true"  -DdryRun=true -P apache-release,integration-tests,docker,\!run-tests</code></pre>
               </li>
               <li>Publish a snapshot to test the deployment passwords:
                 <pre class="alert alert-primary"><code>mvn deploy -DskipITs=true -DskipTests=true -P \!run-tests</code></pre>
@@ -223,10 +222,10 @@ popd</code></pre>
                     <pre class="alert alert-primary"><code>rm release.properties</code></pre>
                 </li>
               <li>
-                <pre class="alert alert-primary"><code>mvn -P apache-release,integration-tests,performance-tests,docker,\!run-tests release:prepare</code></pre>
+                <pre class="alert alert-primary"><code>mvn -P apache-release,integration-tests,docker,\!run-tests release:prepare</code></pre>
               </li>
               <li>
-                <pre class="alert alert-primary"><code>mvn -DskipITs=true -DskipTests=true -Drelease.arguments="-Papache-release,integration-tests -DskipITs=true -DskipTests=true" -P integration-tests,docker,performance-tests,\!run-tests release:perform</code></pre>
+                <pre class="alert alert-primary"><code>mvn -DskipITs=true -DskipTests=true -Drelease.arguments="-Papache-release,integration-tests -DskipITs=true -DskipTests=true" -P integration-tests,docker,\!run-tests release:perform</code></pre>
               </li>
               <li>If something fails, make sure you first drop the staging repository created here: <a href="https://repository.apache.org/#stagingRepositories" target="_blank">https://repository.apache.org/#stagingRepositories</a>.<br>
 If you need to relaunch the <code>release:perform</code> and don’t have a release.properties, create a <code>release.properties</code> file with the following contents:
@@ -254,12 +253,13 @@ mkdir ${next.stable.version}</code></pre>
                 <a href="https://repository.apache.org/content/repositories/orgapacheunomi-1014/org/apache/unomi/unomi/${next.stable.version}/" target="_blank">https://repository.apache.org/content/repositories/orgapacheunomi-1014/org/apache/unomi/unomi/${next.stable.version}/</a>
                 and
                 <a href="https://repository.apache.org/content/repositories/orgapacheunomi-1014/org/apache/unomi/unomi-root/${next.stable.version}/" target="_blank">https://repository.apache.org/content/repositories/orgapacheunomi-1014/org/apache/unomi/unomi-root/${next.stable.version}/</a>
-                  using commands such as : <pre class="alert alert-primary"><code>wget https://repository.apache.org/content/repositories/orgapacheunomi-1030/org/apache/unomi/unomi-root/${next.stable.version}/unomi-root-${next.stable.version}-source-release.zip
-wget https://repository.apache.org/content/repositories/orgapacheunomi-1030/org/apache/unomi/unomi-root/${next.stable.version}/unomi-root-${next.stable.version}-source-release.zip.asc
-wget https://repository.apache.org/content/repositories/orgapacheunomi-1030/org/apache/unomi/unomi/${next.stable.version}/unomi-${next.stable.version}.tar.gz
-wget https://repository.apache.org/content/repositories/orgapacheunomi-1030/org/apache/unomi/unomi/${next.stable.version}/unomi-${next.stable.version}.tar.gz.asc
-wget https://repository.apache.org/content/repositories/orgapacheunomi-1030/org/apache/unomi/unomi/${next.stable.version}/unomi-${next.stable.version}.zip
-wget https://repository.apache.org/content/repositories/orgapacheunomi-1030/org/apache/unomi/unomi/${next.stable.version}/unomi-${next.stable.version}.zip.asc</code></pre>
+                  using commands such as : <pre class="alert alert-primary"><code>export REPO_ID=orgapacheunomi-1033
+wget https://repository.apache.org/content/repositories/$REPO_ID/org/apache/unomi/unomi-root/${next.stable.version}/unomi-root-${next.stable.version}-source-release.zip
+wget https://repository.apache.org/content/repositories/$REPO_ID/org/apache/unomi/unomi-root/${next.stable.version}/unomi-root-${next.stable.version}-source-release.zip.asc
+wget https://repository.apache.org/content/repositories/$REPO_ID/org/apache/unomi/unomi/${next.stable.version}/unomi-${next.stable.version}.tar.gz
+wget https://repository.apache.org/content/repositories/$REPO_ID/org/apache/unomi/unomi/${next.stable.version}/unomi-${next.stable.version}.tar.gz.asc
+wget https://repository.apache.org/content/repositories/$REPO_ID/org/apache/unomi/unomi/${next.stable.version}/unomi-${next.stable.version}.zip
+wget https://repository.apache.org/content/repositories/$REPO_ID/org/apache/unomi/unomi/${next.stable.version}/unomi-${next.stable.version}.zip.asc</code></pre>
 
               </li>
               <li>
@@ -296,7 +296,7 @@ git tag -d unomi-root-${next.stable.version}</code></pre>
                         </li>
                         <li>Correct any problems in the source, make sure to do them in master and cherry-pick them to the relevant branches</li>
                         <li>Reset all versions with the following command:
-                            <pre class="alert alert-primary"><code>mvn versions:set -DskipITs=true -DskipTests=true -P integration-tests,performance-tests,rat,apache-release,docker,\!run-tests</code></pre>
+                            <pre class="alert alert-primary"><code>mvn versions:set -DskipITs=true -DskipTests=true -P integration-tests,rat,apache-release,docker,\!run-tests</code></pre>
                         </li>
                         <li>Restart at the release:prepare step</li>
                     </ol>