Skip to content

Commit 18cc465

Browse files
author
Dennis Labordus
authored
Merge pull request #108 from com-pas/develop
New release
2 parents 29f8273 + 4e25d25 commit 18cc465

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

.github/workflows/build-project.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Set up JDK 1.11
18-
uses: actions/[email protected].0
18+
uses: actions/[email protected].1
1919
with:
2020
distribution: 'zulu'
2121
java-version: '11'
2222
- name: Create custom Maven Settings.xml
23-
uses: whelk-io/maven-settings-xml-action@v18
23+
uses: whelk-io/maven-settings-xml-action@v20
2424
with:
2525
output_file: custom_maven_settings.xml
2626
servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]'

.github/workflows/release-project.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ jobs:
1818
uses: docker/login-action@v1
1919
with:
2020
username: ${{ secrets.DOCKER_HUB_USERNAME }}
21-
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
21+
password: ${{ secrets.DOCKER_HUB_TOKEN }}
2222
- name: Extract tag name
2323
id: extract_tagname
2424
shell: bash
2525
# Extra the tagname form the git reference, value of GITHUB_REF will be something like refs/tags/<tag_name>.
2626
run: echo "##[set-output name=tagname;]$(echo ${GITHUB_REF##*/})"
2727
- name: Set up JDK 11
28-
uses: actions/[email protected].0
28+
uses: actions/[email protected].1
2929
with:
3030
distribution: 'zulu'
3131
java-version: '11'
3232
- name: Create custom Maven Settings.xml
33-
uses: whelk-io/maven-settings-xml-action@v18
33+
uses: whelk-io/maven-settings-xml-action@v20
3434
with:
3535
output_file: custom_maven_settings.xml
3636
servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]'

.github/workflows/sonarcloud-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919
- name: Set up JDK 11
20-
uses: actions/[email protected].0
20+
uses: actions/[email protected].1
2121
with:
2222
distribution: 'zulu'
2323
java-version: '11'
@@ -34,7 +34,7 @@ jobs:
3434
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
3535
restore-keys: ${{ runner.os }}-m2
3636
- name: Create custom Maven Settings.xml
37-
uses: whelk-io/maven-settings-xml-action@v18
37+
uses: whelk-io/maven-settings-xml-action@v20
3838
with:
3939
output_file: custom_maven_settings.xml
4040
servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]'

app/src/main/docker/Dockerfile.jvm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ RUN microdnf install curl ca-certificates ${JAVA_PACKAGE} \
4242

4343
# Configure the JAVA_OPTIONS, you can add -XshowSettings:vm to also display the heap size.
4444
ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
45+
ENV JAVA_MAX_MEM_RATIO="70"
4546
# We make four distinct layers so if there are application changes the library layers can be re-used
4647
COPY --chown=1001 target/quarkus-app/lib/ /deployments/lib/
4748
COPY --chown=1001 target/quarkus-app/*.jar /deployments/

app/src/main/docker/Dockerfile.legacy-jar

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ RUN microdnf install curl ca-certificates ${JAVA_PACKAGE} \
4242

4343
# Configure the JAVA_OPTIONS, you can add -XshowSettings:vm to also display the heap size.
4444
ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
45+
ENV JAVA_MAX_MEM_RATIO="70"
4546
COPY target/lib/* /deployments/lib/
4647
COPY target/*-runner.jar /deployments/app.jar
4748

0 commit comments

Comments
 (0)