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

sblackmon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/streams.git


The following commit(s) were added to refs/heads/master by this push:
     new f1cf030  STREAMS-655 remove integration testing from release script 
(#497)
f1cf030 is described below

commit f1cf030f7fb731d1de9f4f211232134bfee8cca8
Author: Steve Blackmon <sblack...@apache.org>
AuthorDate: Tue Feb 25 11:39:19 2020 -0600

    STREAMS-655 remove integration testing from release script (#497)
    
    https://issues.apache.org/jira/browse/STREAMS-655
---
 pom.xml    |  5 +++--
 release.sh | 70 +++++++-------------------------------------------------------
 verify.sh  | 31 ++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+), 64 deletions(-)

diff --git a/pom.xml b/pom.xml
index 74f34f9..d48c318 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1530,11 +1530,12 @@
                                     <exclude>**/*.jar</exclude>
                                     <exclude>**/*.svg</exclude>
                                     <exclude>**/MANIFEST.MF</exclude>
-                                    <exclude>**/src/license/*</exclude>
-                                    
<exclude>**/src/license/licenses/*</exclude>
+                                    <exclude>**/src/test/resources/*</exclude>
                                     
<exclude>**/src/site/resources/**/*</exclude>
                                     <exclude>**/target/**</exclude>
                                     <exclude>apache-maven-*/**/*</exclude>
+                                    <exclude>**/src/license/*</exclude>
+                                    
<exclude>**/src/license/licenses/*</exclude>
                                 </excludes>
                             </configuration>
                         </plugin>
diff --git a/release.sh b/release.sh
index 7d6a33f..1cdcf61 100755
--- a/release.sh
+++ b/release.sh
@@ -27,7 +27,6 @@ if [[ -z "$REL" || -z "$DEV" ]]; then
     exit 1
 fi
 
-
 mkdir -p /tmp/streams_release
 mkdir -p logs
 
@@ -57,71 +56,18 @@ cd streams-$REL
 
 printInfo
 
-mvn clean verify $REPO > ../logs/streams_unittests.txt
-checkStatus ../logs/streams_unittests.txt
-
-mvn $REPO clean apache-rat:check -e -DskipTests=true  > 
../logs/streams-project_apache-rat_check.txt
-checkStatus ../logs/streams-project_apache-rat_check.txt
-
-cp ../streams-c84fa47bd759.p12 .
-cp ../*.conf .
-
-mvn -PdockerITs $REPO docker:start > ../logs/streams_docker-start.txt
-checkStatus ../logs/streams_docker-start.txt
-
-sleep 30
-docker ps
-head *.properties
-
-mvn clean verify $REPO -DskipTests=true -DskipITs=false > 
../logs/streams_integrationtests.txt
-checkStatus ../logs/streams_integrationtests.txt
-
-mvn -PdockerITs $REPO docker:stop > ../logs/streams_docker-stop.txt
-checkStatus ../logs/streams_docker-stop.txt
-
-mvn -Papache-release $REPO release:prepare -DpushChanges=false 
-DautoVersionSubmodules=true -DreleaseVersion=$REL 
-DdevelopmentVersion=$DEV-SNAPSHOT -Dtag=streams-project-$REL > 
../logs/streams-project_release-prepare.txt
-checkStatus ../logs/streams-project_release-prepare.txt
-
-mvn -Papache-release $REPO clean install release:perform 
-Darguments='-Dmaven.test.skip.exec=true' -Dgoals=deploy -DlocalRepoDirectory=. 
-DlocalCheckout=true > ../logs/streams-project_release-perform.txt
-checkStatus ../logs/streams-project_release-perform.txt
-
-cd ..
-
-#streams-examples
-git clone https://git-wip-us.apache.org/repos/asf/streams-examples.git 
./streams-examples-$REL
-cd streams-examples-$REL
-
-printInfo
-
-mvn $REPO clean apache-rat:check -e -DskipTests > 
../logs/streams-examples_apache-rat_check.txt
-checkStatus ../logs/streams-examples_apache-rat_check.txt
-
-mvn $REPO clean verify > ../logs/streams-examples_unittests.txt
-checkStatus ../logs/streams-examples_unittests.txt
-
-cp ../streams-c84fa47bd759.p12 .
-cp ../*.conf .
+mvn -Pcheck apache-rat:check -e -DskipTests=true 
-Drat.excludeSubprojects=false $REPO  > ../logs/streams_ratcheck.txt
+checkStatus ../logs/streams_ratcheck.txt
 
-mvn $REPO -PdockerITs -N docker:start > 
../logs/streams-examples_docker-start.txt
-checkStatus ../logs/streams-examples_docker-start.txt
-
-sleep 30
-docker ps
-head *.properties
-
-mvn $REPO clean verify -DskipTests=true -DskipITs=false  > 
../logs/streams-examples_integrationtests.txt
-checkStatus ../logs/streams-examples_integrationtests.txt
-
-mvn $REPO -Papache-release release:prepare -DpushChanges=false 
-DautoVersionSubmodules=true -DreleaseVersion=$REL 
-DdevelopmentVersion=$DEV-SNAPSHOT -Dtag=streams-examples-$REL > 
../logs/streams-examples_release-prepare.txt
-checkStatus ../logs/streams-examples_release-prepare.txt
+mvn clean test $REPO > ../logs/streams_unittests.txt
+checkStatus ../logs/streams_unittests.txt
 
-mvn $REPO -Papache-release clean install release:perform 
-Darguments='-Dmaven.test.skip.exec=true' -Dgoals=deploy -DlocalRepoDirectory=. 
-DlocalCheckout=true > ../logs/streams-examples_release-perform.txt
-checkStatus ../logs/streams-examples_release-perform.txt
+mvn -Papache-release $REPO release:prepare -DpushChanges=false 
-DautoVersionSubmodules=true -DreleaseVersion=$REL 
-DdevelopmentVersion=$DEV-SNAPSHOT -Dtag=streams-project-$REL > 
../logs/streams_release-prepare.txt
+checkStatus ../logs/streams_release-prepare.txt
 
-git push origin master
-git push origin streams-examples-$REL
+mvn -Papache-release $REPO clean install release:perform 
-Darguments='-Dmaven.test.skip.exec=true' -Dgoals=deploy -DlocalRepoDirectory=. 
-DlocalCheckout=true > ../logs/streams_release-perform.txt
+checkStatus ../logs/streams_release-perform.txt
 
-cd ../streams-$REL
 git push origin master
 git push origin streams-project-$REL
 
diff --git a/verify.sh b/verify.sh
new file mode 100644
index 0000000..fa7ba58
--- /dev/null
+++ b/verify.sh
@@ -0,0 +1,31 @@
+#!/bin/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.
+#
+
+mvn -PdockerITs docker:start > ../logs/streams_docker-start.txt
+checkStatus ../logs/streams_docker-start.txt
+
+sleep 30
+docker ps
+head *.properties
+
+mvn clean verify -DskipTests=true -DskipITs=false > 
../logs/streams_integrationtests.txt
+checkStatus ../logs/streams_integrationtests.txt
+
+mvn -PdockerITs docker:stop > ../logs/streams_docker-stop.txt
+checkStatus ../logs/streams_docker-stop.txt
+

Reply via email to