Skip to content

Commit

Permalink
KOGITO-9523 - Move Data Index DevService test to kogito-apps
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianonicolai committed Jul 12, 2023
1 parent 2bb10d6 commit 1165295
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 596 deletions.
7 changes: 1 addition & 6 deletions .ci/jenkins/Jenkinsfile.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pipeline {

KOGITO_CI_EMAIL_TO = credentials("${JENKINS_EMAIL_CREDS_ID}")

// Keep here for visitibility
// Keep here for visibility
MAVEN_OPTS = '-Xms1024m -Xmx4g'

BOT_BRANCH_HASH = "${util.generateHash(10)}"
Expand Down Expand Up @@ -98,7 +98,6 @@ pipeline {

// Need artifacts available locally
getMavenCommand().withProperty('quickly').run('clean install')
maven.mvnSetVersionProperty(getMavenCommand(getIntegrationTestHotReloadPath()), "data-index-ephemeral.image.test", "${getCurrentNightlyImage()}" )
maven.mvnSetVersionProperty(getMavenCommand(getWorkflowCommonDeploymentPath()), "data-index-ephemeral.image", "${getNextProdImage()}" )
}
}
Expand Down Expand Up @@ -335,10 +334,6 @@ String getWorkflowCommonDeploymentPath() {
return "${getRepoName()}/quarkus/extensions/kogito-quarkus-workflow-extension-common/kogito-quarkus-workflow-common-deployment"
}

String getIntegrationTestHotReloadPath() {
return "${getRepoName()}/quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes-integration-test-hot-reload"
}

String getCurrentNightlyImage() {
return maven.mvnGetVersionProperty(getMavenCommand(getWorkflowCommonDeploymentPath()), "data-index-ephemeral.image")
}
Expand Down
12 changes: 1 addition & 11 deletions .ci/jenkins/Jenkinsfile.promote
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ pipeline {
// Need artifacts available locally
getMavenCommand().withProperty('quickly').run('clean install')
maven.mvnSetVersionProperty(getMavenCommand(getWorkflowCommonDeploymentRelativePath()), "data-index-ephemeral.image", "${getCurrentNightlyImage()}" )
maven.mvnSetVersionProperty(getMavenCommand(getIntegrationTestHotReloadRelativePath()), "data-index-ephemeral.image.test", "use-default-image" )

commitAndCreatePR()
}
dir(getRepoName()) {
Expand Down Expand Up @@ -300,14 +298,6 @@ void runMavenDeploy() {
mvnCmd.skipTests(true).run('clean deploy')
}

String getWorkflowCommonDeploymentRelativePath() {
return "quarkus/extensions/kogito-quarkus-workflow-extension-common/kogito-quarkus-workflow-common-deployment"
}

String getIntegrationTestHotReloadRelativePath() {
return "quarkus/extensions/kogito-quarkus-processes-extension/kogito-quarkus-processes-integration-test-hot-reload"
}

String getCurrentNightlyImage() {
return maven.mvnGetVersionProperty(getMavenCommand(getIntegrationTestHotReloadRelativePath()), "data-index-ephemeral.image.test")
return "quay.io/kiegroup/kogito-data-index-ephemeral-nightly:latest"
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<properties>
<!-- excluded because of https://issues.redhat.com/browse/KOGITO-5831 -->
<quarkus.test.list.include>false</quarkus.test.list.include>
<data-index-ephemeral.image.test>use-default-image</data-index-ephemeral.image.test>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -125,7 +124,6 @@
<configuration>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<data-index-ephemeral.image.test>${data-index-ephemeral.image.test}</data-index-ephemeral.image.test>
</systemPropertyVariables>
</configuration>
</plugin>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 1165295

Please sign in to comment.