You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2018/06/28 07:10:17 UTC

svn commit: r1834576 - /syncope/site/release-process.html

Author: ilgrosso
Date: Thu Jun 28 07:10:17 2018
New Revision: 1834576

URL: http://svn.apache.org/viewvc?rev=1834576&view=rev
Log:
Publishing fixed release process

Modified:
    syncope/site/release-process.html

Modified: syncope/site/release-process.html
URL: http://svn.apache.org/viewvc/syncope/site/release-process.html?rev=1834576&r1=1834575&r2=1834576&view=diff
==============================================================================
--- syncope/site/release-process.html (original)
+++ syncope/site/release-process.html Thu Jun 28 07:10:17 2018
@@ -1,6 +1,6 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia Site Renderer 1.8 
+ | Generated by Apache Maven Doxia Site Renderer 1.8.1 
  | Rendered using Apache Maven Fluido Skin 1.5
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
@@ -8,7 +8,7 @@
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <meta name="author" content="Apache Syncope Documentation Team" />
-    <meta name="Date-Revision-yyyymmdd" content="20180418" />
+    <meta name="Date-Revision-yyyymmdd" content="20180628" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache Syncope &#x2013; Release Process</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5.min.css" />
@@ -432,7 +432,7 @@
         </p>
         
 <p>
-          For more information please take a look at <a href="building.html#fitcore-reference">build instructions</a>.
+          For more information please take a look at <a href="building#fitcore-reference">build instructions</a>.
         </p>
       </div>
       
@@ -499,7 +499,7 @@ git push</pre></div>
 <li>
             Do a dry run of the <tt>release:prepare</tt> step.
             
-<div class="source"><pre class="prettyprint">mvn -P apache-release release:prepare -Darguments=&quot;-DbuildNumber=syncope-$VERSION&quot; -DdryRun=true</pre></div>
+<div class="source"><pre class="prettyprint">mvn -P apache-release release:prepare -Darguments=&quot;-P all,docker -DbuildNumber=syncope-$VERSION&quot; -DdryRun=true</pre></div>
 
             The dry run will not commit any changes and gives you the opportunity to verify that the 
             release process will complete as expected.
@@ -568,7 +568,7 @@ gpg: Signature made ...</pre></div>
             Run the <tt>release:prepare</tt> step for real this time. You'll be prompted for the same version 
             information and optionally your GPG passphrase again.
             
-<div class="source"><pre class="prettyprint">mvn -P apache-release release:prepare -Darguments=&quot;-DbuildNumber=syncope-$VERSION&quot;</pre></div>
+<div class="source"><pre class="prettyprint">mvn -P apache-release release:prepare -Darguments=&quot;-P all,docker -DbuildNumber=syncope-$VERSION&quot;</pre></div>
           </li>
           
 <li>
@@ -615,8 +615,8 @@ cp $SYNCOPE_RELEASE_DIR/client/cli/targe
 cp $SYNCOPE_RELEASE_DIR/client/cli/target/syncope-client-cli-*.zip.asc .
 cp $SYNCOPE_RELEASE_DIR/ide/eclipse/releng/org.apache.syncope.ide.eclipse.site/target/org.apache.syncope.ide.eclipse.site-*.zip .
 cp $SYNCOPE_RELEASE_DIR/ide/eclipse/releng/org.apache.syncope.ide.eclipse.site/target/org.apache.syncope.ide.eclipse.site-*.zip.asc .
-cp $SYNCOPE_RELEASE_DIR/ide/netbeans/target/nbm/syncope-ide-netbeans-*.nbm .
-cp $SYNCOPE_RELEASE_DIR/ide/netbeans/target/nbm/syncope-ide-netbeans-*.nbm.asc .
+cp $SYNCOPE_RELEASE_DIR/ide/netbeans/target/syncope-ide-netbeans-*.nbm .
+cp $SYNCOPE_RELEASE_DIR/ide/netbeans/target/syncope-ide-netbeans-*.nbm.asc .
               
 for file in `find . -type f -iname '*.asc'`
 do
@@ -646,6 +646,18 @@ mvn javadoc:aggregate
 cd common
 mvn -P offline-doc
 
+# else if releasing from 2_0_X
+cd fit/core-reference &amp;&amp; mvn -Pdebug,all
+curl -o /tmp/index.html http://localhost:9080/syncope/index.html
+sed -i 's/\/syncope\/webjars\/jquery\/2.2.4\/jquery.min.js/https:\/\/code.jquery.com\/jquery-2.2.4.min.js/' index.html 
+sed -i 's/\/syncope\/webjars\/jquery-ui\/1.11.4\/jquery-ui.min.js/http:\/\/code.jquery.com\/ui\/1.11.4\/jquery-ui.min.js/' index.html               
+sed -i 's/\/syncope\/webjars\/jquery-ui-themes\/1.11.4\/smoothness\/jquery-ui.min.css/https:\/\/code.jquery.com\/ui\/1.11.4\/themes\/smoothness\/jquery-ui.css/' index.html 
+curl -o /tmp/schema_1_syncope2.html http://localhost:9080/syncope/schema_1_syncope2.html
+sed -i 's/\/syncope\/webjars\/highlightjs\/9.8.0\/styles\/default.min.css/http:\/\/cdnjs.cloudflare.com\/ajax\/libs\/highlight.js\/9.8.0\/styles\/default.min.css/' schema_1_syncope2.html 
+sed -i 's/\/syncope\/webjars\/highlightjs\/9.8.0\/highlight.min.js/http:\/\/cdnjs.cloudflare.com\/ajax\/libs\/highlight.js\/9.8.0\/highlight.min.js/' schema_1_syncope2.html 
+curl -o /tmp/syncope.wadl http://localhost:9080/syncope/syncope.wadl
+# now CTRL+C to stop cargo
+
 svn checkout https://svn.apache.org/repos/asf/syncope/site/ site
 
 cd $SYNCOPE_SITE_DIR
@@ -653,7 +665,7 @@ mvn -P site -Dsite.deploymentBaseUrl=fil
 
 cd &lt;absolute path to/site&gt;/$VERSION
 
-# if releasing from 1_2_X              
+# if releasing from 1_2_X         
 cp -r &lt;absolute path to syncope-$VERSION above&gt;/target/site/apidocs apidocs/1.2              
 cp -r &lt;absolute path to syncope-$VERSION above&gt;/common/target/generated/wadl/ rest/1.2
 rm -rf apidocs/2.0
@@ -675,7 +687,7 @@ svn commit -m &quot;Staging site for rel
 <li>
             From <tt>$SYNCOPE_RELEASE_DIR</tt> execute (this step will create a maven staging repository):
             
-<div class="source"><pre class="prettyprint">mvn -P apache-release release:perform -Darguments=&quot;-DbuildNumber=syncope-$VERSION&quot; [-Duser.name=&lt;your_apache_uid&gt;]</pre></div>
+<div class="source"><pre class="prettyprint">mvn -P apache-release release:perform -Darguments=&quot;-P all,docker -DbuildNumber=syncope-$VERSION&quot; [-Duser.name=&lt;your_apache_uid&gt;]</pre></div>
         
             
 <p>
@@ -768,7 +780,7 @@ svn commit -m &quot;Staging site for rel
             </ol>
             then commit and push:
             
-<div class="source"><pre class="prettyprint">git commit -a -m &quot;Updating Eclipse files for next development iteration&quot;
+<div class="source"><pre class="prettyprint">git commit -a -m &quot;Updating Eclipse and Docker files for next development iteration&quot;
 git push</pre></div>            
           </li>
         </ol>
@@ -796,13 +808,13 @@ GIT source tag (XXXXXXXXXXXXXXXX):
 https://git-wip-us.apache.org/repos/asf?p=syncope.git;a=tag;h=XXXXXXXXXXXXXXXX
 
 List of changes:
-https://git-wip-us.apache.org/repos/asf?p=syncope.git;a=blob_plain;f=CHANGES;h=0a7fb550234f89f4ad315272cf934f2e050250f7;hb=acbc816bdd6a75b27d8fb12b46905fe07e2cd977              
+https://git-wip-us.apache.org/repos/asf?p=syncope.git;a=blob_plain;f=CHANGES;h=XXXXXXXXXXXXXXXX;hb=YYYYYYYYYYYYYYYYYYYYY              
 
 Staging artifacts:
 https://dist.apache.org/repos/dist/dev/syncope/$VERSION
 
 Maven staging repo:
-https://repository.apache.org/content/repositories/orgapachesyncope-YYY/
+https://repository.apache.org/content/repositories/orgapachesyncope-ZZZZ/
 
 Staging site:
 http://syncope.apache.org/$VERSION/
@@ -818,27 +830,6 @@ Vote will be open for 72 hours.
           </li>
           
 <li>
-            Create a <tt>DISCUSS</tt> email thread on <a class="externalLink" href="mailto:dev@syncope.apache.org">syncope-dev</a> for any vote questions, e.g.:
-            
-<div>
-<pre>
-To: dev@syncope.apache.org
-Subject: [DISCUSS] Apache Syncope $VERSION
-
-Discussion thread for vote on $VERSION release, with GIT source tag (XXXXXXXXXXXXXXXX).
-
-For more information on the release process, check out http://www.apache.org/dev/release.html
-
-Some of the things to check before voting are:
-- does &quot;mvn apache-rat:check&quot; pass on the source
-- can you build the contents of source release zip and GIT tag
-- do all of the staged jars/wars/zips contain the required LICENSE and NOTICE files
-- are all of the staged jars/wars/zips signed and the signature verifiable
-- is the signing key in the project's KEYS file and on a public server (i.e. http://www.apache.org/dist/syncope/)
-            </pre></div>
-          </li>
-          
-<li>
             Perform a review of the release and cast your vote; more details on
             <a class="externalLink" href="http://www.apache.org/dev/release.html">Apache releases</a>.
           </li>
@@ -955,6 +946,11 @@ svn mv $VERSION/* .
 svn rm $VERSION
 svn commit -m &quot;Promoting the staging site&quot;</pre></div>
           </li>
+          
+<li>
+            If releasing from 2_0_X, deploy the updated Docker images to <a class="externalLink" href="https://hub.docker.com/">DockerHub</a> by adjusting the GIT tag
+             name then running the <a class="externalLink" href="https://builds.apache.org/job/Syncope-2_0_X-Docker">dedicated Jenkins job</a>.
+          </li>
         </ol>
       </div>