Skip to content

Commit

Permalink
Revert "Merge staging to prod - Version update (#125)"
Browse files Browse the repository at this point in the history
  • Loading branch information
gkwan-ibm authored Jun 4, 2021
1 parent 95004fb commit 6052189
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 17 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017, 2021 IBM Corporation and others.
// Copyright (c) 2017, 2019 IBM Corporation and others.
// Licensed under Creative Commons Attribution-NoDerivatives
// 4.0 International (CC BY-ND 4.0)
// https://creativecommons.org/licenses/by-nd/4.0/
Expand Down Expand Up @@ -114,7 +114,7 @@ The application supports two roles, `admin` and `user`.
Navigate to the `start` directory to begin.

[role='command']
include::{common-includes}/devmode-lmp33-start.adoc[]
include::{common-includes}/devmode-start.adoc[]

[role="code_command hotspot", subs="quotes"]
----
Expand Down
8 changes: 4 additions & 4 deletions finish/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@
<dependency>
<groupId>org.eclipse.microprofile</groupId>
<artifactId>microprofile</artifactId>
<version>4.0.1</version>
<version>3.3</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<!-- For tests -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.7.1</version>
<version>5.6.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.13</version>
<version>4.5.12</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -55,7 +55,7 @@
<plugin>
<groupId>io.openliberty.tools</groupId>
<artifactId>liberty-maven-plugin</artifactId>
<version>3.3.4</version>
<version>3.2.3</version>
</plugin>
<!-- Plugin to run functional tests -->
<plugin>
Expand Down
7 changes: 4 additions & 3 deletions scripts/dailyBuild.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#!/bin/bash
while getopts t:d: flag; do
while getopts t:d:b:u: flag; do
case "${flag}" in
t) DATE="${OPTARG}" ;;
d) DRIVER="${OPTARG}" ;;
*) echo "Invalid option";;
b) BUILD="${OPTARG}" ;;
u) DOCKER_USERNAME="${OPTARG}" ;;
esac
done

sed -i "\#<artifactId>liberty-maven-plugin</artifactId>#a<configuration><install><runtimeUrl>https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/$DATE/$DRIVER</runtimeUrl></install></configuration>" pom.xml
sed -i "\#<artifactId>liberty-maven-plugin</artifactId>#a<configuration><install><runtimeUrl>https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/"$DATE"/"$DRIVER"</runtimeUrl></install></configuration>" pom.xml
cat pom.xml

../scripts/testApp.sh
5 changes: 1 addition & 4 deletions scripts/testApp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ set -euxo pipefail
# liberty:create - Create a Liberty server.
# liberty:install-feature - Install a feature packaged as a Subsystem Archive (esa) to the Liberty runtime.
# liberty:deploy - Copy applications to the Liberty server's dropins or apps directory.
mvn -Dhttp.keepAlive=false \
-Dmaven.wagon.http.pool=false \
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
-q clean package liberty:create liberty:install-feature liberty:deploy
mvn -q clean package liberty:create liberty:install-feature liberty:deploy

## Run the tests
# These commands are separated because if one of the commands fail, the test script will fail and exit.
Expand Down
8 changes: 4 additions & 4 deletions start/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@
<dependency>
<groupId>org.eclipse.microprofile</groupId>
<artifactId>microprofile</artifactId>
<version>4.0.1</version>
<version>3.3</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<!-- For tests -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.7.1</version>
<version>5.6.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.13</version>
<version>4.5.12</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -55,7 +55,7 @@
<plugin>
<groupId>io.openliberty.tools</groupId>
<artifactId>liberty-maven-plugin</artifactId>
<version>3.3.4</version>
<version>3.2.3</version>
</plugin>
<!-- Plugin to run functional tests -->
<plugin>
Expand Down

0 comments on commit 6052189

Please sign in to comment.