Skip to content

Commit

Permalink
[1.16.x] Bump Quarkus version to 2.7.0.Final (#1902)
Browse files Browse the repository at this point in the history
* [1.16.x] Bump Quarkus version to 2.7.0.CR1

* fallback assertj version

* temporary solution for classloading tests

* temporary solution for classloading tests (2)

* correct kafka persistence test

* updated to 2.7.0.Final

* updated to 2.7.0.Final

* trigger pr

* update

* trigger

* Revert "trigger"

This reverts commit ae2be91.

Co-authored-by: Jenkins CI <jenkins@eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com>
Co-authored-by: radtriste <[email protected]>
  • Loading branch information
3 people committed Jan 28, 2022
1 parent a309e44 commit 8e07f18
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 22 deletions.
8 changes: 7 additions & 1 deletion .ci/jenkins/Jenkinsfile.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,13 @@ pipeline {
stage('Build & Test') {
steps {
script {
getMavenCommand().withProperty('maven.test.failure.ignore', true).skipTests(params.SKIP_TESTS).run('clean install')
getMavenCommand()
.withProperty('maven.test.failure.ignore', true)
// `-Dquarkus.bootstrap.effective-model-builder` is a temporary fix due to quarkus resolver on tests
// https://github.com/quarkusio/quarkus/issues/23205
.withProperty('quarkus.bootstrap.effective-model-builder', true)
.skipTests(params.SKIP_TESTS)
.run('clean install')
}
}
post {
Expand Down
3 changes: 3 additions & 0 deletions .ci/jenkins/Jenkinsfile.native
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ pipeline {
script {
getNativeMavenCommand('kogito-runtimes')
.withProperty('maven.test.failure.ignore', true)
// `-Dquarkus.bootstrap.effective-model-builder` is a temporary fix due to quarkus resolver on tests
// https://github.com/quarkusio/quarkus/issues/23205
.withProperty('quarkus.bootstrap.effective-model-builder', true)
.run('clean install')
}
}
Expand Down
22 changes: 3 additions & 19 deletions .ci/jenkins/Jenkinsfile.quarkus
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ pipeline {
script {
getMavenCommand('kogito-runtimes')
.withProperty('maven.test.failure.ignore', true)
// `-Dquarkus.bootstrap.effective-model-builder` is a temporary fix due to quarkus resolver on tests
// https://github.com/quarkusio/quarkus/issues/23205
.withProperty('quarkus.bootstrap.effective-model-builder', true)
.run('clean install')
}
}
Expand All @@ -89,25 +92,6 @@ pipeline {
}
}
}
stage('Check Runtimes integration-tests with persistence') {
steps {
script {
getMavenCommand('integration-tests')
.withProfiles(['persistence'])
.withProperty('maven.test.failure.ignore', true)
.run('clean verify')
}
}
post {
always {
script {
junit testResults: '**/target/surefire-reports/**/*.xml, **/target/failsafe-reports/**/*.xml', allowEmptyResults: true
util.archiveConsoleLog()
cleanContainers()
}
}
}
}
stage('Build optaplanner') {
steps {
script {
Expand Down
3 changes: 3 additions & 0 deletions .ci/jenkins/Jenkinsfile.sonarcloud
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ pipeline {
script {
getMavenCommand()
.withProfiles(['run-code-coverage'])
// `-Dquarkus.bootstrap.effective-model-builder` is a temporary fix due to quarkus resolver on tests
// https://github.com/quarkusio/quarkus/issues/23205
.withProperty('quarkus.bootstrap.effective-model-builder', true)
.run('clean install')
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
quarkus.http.test-port=0
quarkus.infinispan-client.devservices.enabled=false

kogito.persistence.type=infinispan
kogito.persistence.type=infinispan

# Temporary fix for test to pass due to issue in Quarkus classloading resolver
quarkus.class-loading.parent-first-artifacts=org.testcontainers:testcontainers
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ quarkus.datasource.devservices.enabled=false
#run create tables scripts
kogito.persistence.auto.ddl=true

# Temporary fix for test to pass due to issue in Quarkus classloading resolver
quarkus.class-loading.parent-first-artifacts=org.testcontainers:testcontainers
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ quarkus.http.test-port=0
kogito.persistence.type=kafka
quarkus.kafka-streams.application-id=kogito
kafka.bootstrap.servers=localhost:9092

# Temporary fix for test to pass due to issue in Quarkus classloading resolver
quarkus.class-loading.parent-first-artifacts=org.testcontainers:testcontainers,com.github.docker-java:docker-java-api
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ quarkus.http.test-port=0
kogito.persistence.type=mongodb
# MongoDB
quarkus.mongodb.database=kogito
quarkus.mongodb.devservices.enabled=false
quarkus.mongodb.devservices.enabled=false

# Temporary fix for test to pass due to issue in Quarkus classloading resolver
quarkus.class-loading.parent-first-artifacts=org.testcontainers:testcontainers
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ quarkus.datasource.reactive.url=postgresql://localhost:5432/kogito
#run create tables scripts
kogito.persistence.auto.ddl=true

# Temporary fix for test to pass due to issue in Quarkus classloading resolver
quarkus.class-loading.parent-first-artifacts=org.testcontainers:testcontainers

1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<name>Kogito Runtimes</name>
<description>Kogito Runtimes</description>


<url>http://kogito.kie.org</url>
<inceptionYear>2019</inceptionYear>
<organization>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Quarkus
# Temporary fix for test to pass due to issue in Quarkus classloading resolver
quarkus.class-loading.parent-first-artifacts=org.testcontainers:testcontainers

0 comments on commit 8e07f18

Please sign in to comment.