Skip to content

Commit cd11ea5

Browse files
committed
update docker info for the next release
1 parent 5eee207 commit cd11ea5

File tree

7 files changed

+17
-24
lines changed

7 files changed

+17
-24
lines changed

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*.properties text eol=crlf
2-
*.sh text eol=lf
2+
*.sh text eol=lf
3+
Dockerfile-* text eol=lf

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ sonarqube {
5656
property "sonar.exclusions", "**/wilma-functionaltest/**/*"
5757
}
5858
}
59-
//project.tasks["sonarqube"].onlyIf { project.hasProperty('systemProp.sonar.login') }
6059

6160
if (hasProperty('buildScan')) {
6261
buildScan {

config/docker/Dockerfile-Wilma

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ RUN \
1414
apt-get install -y openjdk-11-jre && \
1515
apt-get upgrade -y && \
1616
rm -rf /var/lib/apt/lists/* && \
17-
wget https://github.com/epam/Wilma/releases/download/V2.0.459/wilma-application-2.0.459.zip && \
18-
unzip wilma-application-2.0.459.zip && \
19-
mv wilma-2.0.459.jar wilma.jar && \
20-
rm -f wilma-application-2.0.459.zip
17+
wget https://github.com/epam/Wilma/releases/download/V2.1.460/wilma-application-2.1.460.zip && \
18+
unzip wilma-application-2.1.460.zip && \
19+
mv wilma-2.1.460.jar wilma.jar && \
20+
rm -f wilma-application-2.1.460.zip
2121

2222
COPY start_wilma.sh /data/
2323
RUN \

config/docker/Dockerfile-Wilma_and_Wilma_Message_Search

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ RUN \
1111
apt-get upgrade -y && \
1212
apt-get install -y openjdk-11-jdk && \
1313
rm -rf /var/libs/apt/lists/* && \
14-
wget https://github.com/epam/Wilma/releases/download/V2.0.459/wilma-message-search-2.0.459.zip && \
15-
unzip -o wilma-message-search-2.0.459.zip && \
16-
mv wilma-message-search-2.0.459.jar wilma-message-search.jar && \
17-
rm -f wilma-message-search-2.0.459.zip
14+
wget https://github.com/epam/Wilma/releases/download/V2.1.460/wilma-message-search-2.1.460.zip && \
15+
unzip -o wilma-message-search-2.1.460.zip && \
16+
mv wilma-message-search-2.1.460.jar wilma-message-search.jar && \
17+
rm -f wilma-message-search-2.1.460.zip
1818

1919
COPY start_wilma_and_message_search.sh /data/
2020
RUN \

config/environment/README.txt

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,9 @@ This README is about an example test environment, right now used for continuous
1212

1313
chmod 755 ./gradlew
1414

15-
#create "Wilma Stub Service and Proxy Application" and "Wilma Message Search Application"
16-
./gradlew -PlocalRepository=file:///opt/wilma/repo/ clean docs build sonarqube release -PbuildNumber=$BUILD_NUMBER
17-
18-
#create test client
19-
./gradlew -b wilma-test/wilma-test-client/build.gradle clean build -PbuildNumber=${BUILD_NUMBER} -x checkstyleMain -x checkstyleTest
20-
21-
#create test server
22-
./gradlew -b wilma-test/wilma-test-server/build.gradle clean build -PbuildNumber=${BUILD_NUMBER} -x checkstyleMain -x checkstyleTest
15+
#create "Wilma Stub Service and Proxy Application", "Wilma Message Search Application" and related applications/plugins
16+
#note: sonarqube target can be called as well with proper additional settings
17+
./gradlew -PlocalRepository=file:///opt/wilma/repo/ clean docs build release -PbuildNumber=$BUILD_NUMBER
2318

2419
- wilma-deploy job exists that is triggered by every successful wilma-continuous job
2520
wilma-deploy job executes this shell:
@@ -46,8 +41,5 @@ After this, the test environment is ready for integration/functional test.
4641

4742
chmod 755 ./gradlew
4843

49-
#create a DEV version of the wilma-service-api first
50-
./gradlew -b wilma-service-api/build.gradle clean build createPom uploadArchives -PlocalRepository=file:///opt/wilma/repo/
51-
5244
#run functional test
53-
./gradlew -b wilma-functionaltest/build.gradle clean run -PlocalRepository=file:///opt/wilma/repo/ -Pwilmahost=localhost -PbuildTag=$BUILD_NUMBER
45+
./gradlew runFunctionalTest -PlocalRepository=file:///opt/wilma/repo/ -Pwilmahost=localhost -PbuildTag=$BUILD_NUMBER

config/environment/start-wilma-environment.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ nohup /usr/bin/java -Xmx512m -jar wilma-message-search.jar message.search.conf.p
77
sleep 10s
88

99
# start wilma
10+
#in case JDK 13 is in use, it might be necessary to add further jdk parameters: -Djdk.tls.namedGroups="secp256r1, secp384r1, ffdhe2048, ffdhe3072"
1011
cd /opt/wilma/testenv/wilma
11-
nohup /usr/bin/java -Xmx512m -Djdk.tls.namedGroups="secp256r1, secp384r1, ffdhe2048, ffdhe3072" -jar wilma.jar wilma.conf.properties > wilma.out 2>&1 &
12+
nohup /usr/bin/java -Xmx512m -jar wilma.jar wilma.conf.properties > wilma.out 2>&1 &
1213

1314
# start test-server
1415
cd /opt/wilma/testenv/test-server

wilma-application/modules/wilma-webapp/src/main/java/com/epam/wilma/webapp/jetty/ServerFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ private HttpConfiguration getHttpConnector(final ServerProperties serverProperti
6767
//NOTE: serverProperties.getRequestBufferSize() is not used anymore
6868
return httpConfig;
6969
}
70-
70+
7171
}

0 commit comments

Comments
 (0)