Skip to content

Commit

Permalink
Release 5.8.0 (#71)
Browse files Browse the repository at this point in the history
* EPMRPP-81362 || Fix security vulnerabilities (#58)

* EPMRPP-81362 || Update gson version to make able jcloud work (#59)

* Merge master to 5.7.5 (#66)

* EPMRPP-80865|| Update bom version

* [Gradle Release Plugin] - new version commit:  '5.7.5'.

* EPMRPP-82673-exec-jar promote.yml update (added exec jar)

---------

Co-authored-by: miracle8484 <76156909+miracle8484@users.noreply.github.com>
Co-authored-by: reportportal.io <support@reportportal.io>
Co-authored-by: rkukharenka <ryhor_kukharenka@epam.com>
Co-authored-by: Ryhor <125865748+rkukharenka@users.noreply.github.com>

* Update version

* EPMRPP-83538 || Job service version is missing on Login page

* Update version

---------

Co-authored-by: miracle8484 <76156909+miracle8484@users.noreply.github.com>
Co-authored-by: Ivan Kustau <86599591+IvanKustau@users.noreply.github.com>
Co-authored-by: reportportal.io <support@reportportal.io>
Co-authored-by: rkukharenka <ryhor_kukharenka@epam.com>
Co-authored-by: Ryhor <125865748+rkukharenka@users.noreply.github.com>
Co-authored-by: Andrei Piankouski <andrei_piankouski@epam.com>
  • Loading branch information
7 people authored May 11, 2023
1 parent fc293ca commit 1da3d20
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
env:
GH_USER_NAME: github.actor
SCRIPTS_VERSION: 5.7.0
BOM_VERSION: 5.7.4
BOM_VERSION: 5.7.5
REPOSITORY_URL: 'https://maven.pkg.github.com/'

jobs:
Expand Down
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM alpine:latest
LABEL version=5.7.4 description="EPAM Report portal. Service jobs" maintainer="Andrei Varabyeu <andrei_varabyeu@epam.com>, Hleb Kanonik <hleb_kanonik@epam.com>"
FROM amazoncorretto:11.0.17
LABEL version=5.8.0 description="EPAM Report portal. Service jobs" maintainer="Andrei Varabyeu <andrei_varabyeu@epam.com>, Hleb Kanonik <hleb_kanonik@epam.com>"
ARG GH_TOKEN
RUN apk -U -q upgrade && apk --no-cache -q add openjdk11 ca-certificates && \
echo 'exec java ${JAVA_OPTS} -jar service-jobs-5.7.4-exec.jar' > /start.sh && chmod +x /start.sh && \
wget --header="Authorization: Bearer ${GH_TOKEN}" -q https://maven.pkg.github.com/reportportal/service-jobs/com/epam/reportportal/service-jobs/5.7.4/service-jobs-5.7.4-exec.jar
ARG GH_URL=https://__:$GH_TOKEN@maven.pkg.github.com/reportportal/service-jobs/com/epam/reportportal/service-jobs/5.8.0/service-jobs-5.8.0-exec.jar
RUN curl -O -L $GH_URL \
--output service-jobs-5.8.0-exec.jar && \
echo 'exec java ${JAVA_OPTS} -jar service-jobs-5.8.0-exec.jar' > /start.sh && chmod +x /start.sh
ENV JAVA_OPTS="-Xmx512m -XX:+UseG1GC -XX:InitiatingHeapOccupancyPercent=70 -Djava.security.egd=file:/dev/./urandom"
VOLUME ["/tmp"]
EXPOSE 8080
Expand Down
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot' version '2.5.14'
id 'org.springframework.boot' version '2.7.0'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
Expand Down Expand Up @@ -74,11 +74,15 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-amqp'
implementation 'org.apache.jclouds.api:s3:2.5.0'
implementation 'org.apache.jclouds.provider:aws-s3:2.5.0'
//Needed for correct jcloud work
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'org.apache.httpcomponents:httpclient:4.5.13'
// https://avd.aquasec.com/nvd/cve-2020-8908
// implementation 'com.google.guava:guava:30.0-jre';

compile "com.rabbitmq:http-client:2.1.0.RELEASE"
//Fix CVE
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.4.2'

runtimeOnly 'org.postgresql:postgresql'

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=5.7.5
version=5.8.0
description=EPAM Report portal. Service jobs
dockerServerUrl=unix:///var/run/docker.sock
dockerPrepareEnvironment=apk -U -q upgrade && apk --no-cache -q add openjdk11 ca-certificates
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ info.build.repo=${repo}
server.port=8686
management.endpoints.web.exposure.include=info, health
management.endpoints.web.base-path=/
management.endpoint.info.enabled=true
management.endpoint.info.enabled=true
management.info.env.enabled=true

0 comments on commit 1da3d20

Please sign in to comment.