You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by js...@apache.org on 2023/09/19 16:27:25 UTC
[incubator-kie-kogito-runtimes] branch apache_migration updated (d718d25f6a -> 4796e1abf5)
This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a change to branch apache_migration
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-runtimes.git
omit d718d25f6a Prepare for Apache migration
new 4796e1abf5 kie-issues#574 Initial ASF Jenkins CI Setup
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (d718d25f6a)
\
N -- N -- N refs/heads/apache_migration (4796e1abf5)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
[incubator-kie-kogito-runtimes] 01/01: kie-issues#574 Initial ASF Jenkins CI Setup
Posted by js...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch apache_migration
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-runtimes.git
commit 4796e1abf5ea32f0f01af33e3578bb6666e8c635
Author: radtriste <ra...@jenkins.redhat>
AuthorDate: Tue Aug 29 16:27:33 2023 +0200
kie-issues#574 Initial ASF Jenkins CI Setup
---
.ci/environments/common/update_quarkus.sh | 2 +-
.ci/environments/update.sh | 2 +-
.ci/jenkins/Jenkinsfile | 41 ++++++++
.ci/jenkins/Jenkinsfile.deploy | 23 ++---
.ci/jenkins/Jenkinsfile.promote | 5 +-
.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr | 17 ++--
.../Jenkinsfile.quarkus-3.rewrite.standalone | 18 ++--
.ci/jenkins/Jenkinsfile.setup-branch | 21 +---
.ci/jenkins/dsl/jobs.groovy | 35 +++----
.ci/jenkins/dsl/test.sh | 2 +-
.github/pull_request_template.md | 2 +-
.github/workflows/nightly-quarkus-ecosystem.yaml | 106 ---------------------
.github/workflows/pr-downstream.yml | 14 +--
.github/workflows/pr-jenkins.yml | 4 +-
.github/workflows/pr-kogito-runtimes.yml | 4 +-
15 files changed, 105 insertions(+), 191 deletions(-)
diff --git a/.ci/environments/common/update_quarkus.sh b/.ci/environments/common/update_quarkus.sh
index 388eccb9dd..3552e7674a 100755
--- a/.ci/environments/common/update_quarkus.sh
+++ b/.ci/environments/common/update_quarkus.sh
@@ -3,7 +3,7 @@ set -euo pipefail
mvn_cmd="mvn ${BUILD_MVN_OPTS:-} ${BUILD_MVN_OPTS_QUARKUS_UPDATE:-}"
-source <(curl -s https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/dsl/seed/scripts/install_quarkus.sh)
+source <(curl -s https://raw.githubusercontent.com/apache/incubator-kie-kogito-pipelines/main/dsl/seed/scripts/install_quarkus.sh)
echo "Update project with Quarkus version ${QUARKUS_VERSION}"
diff --git a/.ci/environments/update.sh b/.ci/environments/update.sh
index bda16c4ef8..0ee0695764 100755
--- a/.ci/environments/update.sh
+++ b/.ci/environments/update.sh
@@ -45,4 +45,4 @@ if [ -f "${env_path}/after.sh" ]; then
fi
# Download `setup_integration_branch` script and execute
-curl -s https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/dsl/seed/scripts/setup_integration_branch.sh | bash
\ No newline at end of file
+curl -s https://raw.githubusercontent.com/apache/incubator-kie-kogito-pipelines/main/dsl/seed/scripts/setup_integration_branch.sh | bash
\ No newline at end of file
diff --git a/.ci/jenkins/Jenkinsfile b/.ci/jenkins/Jenkinsfile
new file mode 100644
index 0000000000..95f83c835e
--- /dev/null
+++ b/.ci/jenkins/Jenkinsfile
@@ -0,0 +1,41 @@
+@Library('jenkins-pipeline-shared-libraries')_
+
+pr_check_script = null
+
+pipeline {
+ agent {
+ label 'ubuntu'
+ }
+ options {
+ timestamps()
+ timeout(time: 360, unit: 'MINUTES')
+ }
+ environment {
+ BUILDCHAIN_PROJECT = 'apache/incubator-kie-kogito-runtimes'
+
+ ENABLE_SONARCLOUD = 'true'
+ KOGITO_RUNTIMES_BUILD_MVN_OPTS = '-Dvalidate-formatting -Prun-code-coverage'
+ }
+ stages {
+ stage('Initialize') {
+ steps {
+ script {
+ // load `pr_check.groovy` file from kogito-pipelines:main
+ dir('kogito-pipelines') {
+ checkout(githubscm.resolveRepository('incubator-kie-kogito-pipelines', 'apache', 'main', false, 'ASF_Cloudbees_Jenkins_ci-builds'))
+ pr_check_script = load 'dsl/scripts/pr_check.groovy'
+ }
+ }
+ }
+ }
+ stage('PR check') {
+ steps {
+ script {
+ dir('kogito-pipelines') {
+ pr_check_script.launch()
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy
index 784e43dd8a..ad073fbf15 100644
--- a/.ci/jenkins/Jenkinsfile.deploy
+++ b/.ci/jenkins/Jenkinsfile.deploy
@@ -8,17 +8,15 @@ deployProperties = [:]
pipeline {
agent {
- label 'kie-rhel8 && docker && kie-mem16g && !built-in'
- }
-
- tools {
- maven env.BUILD_MAVEN_TOOL
- jdk env.BUILD_JDK_TOOL
+ docker {
+ image env.AGENT_DOCKER_BUILDER_IMAGE
+ args env.AGENT_DOCKER_BUILDER_ARGS
+ }
}
options {
timestamps()
- timeout(time: 180, unit: 'MINUTES')
+ timeout(time: 360, unit: 'MINUTES')
}
// parameters {
@@ -30,11 +28,8 @@ pipeline {
KOGITO_CI_EMAIL_TO = credentials("${JENKINS_EMAIL_CREDS_ID}")
- // Keep here for visibility
- MAVEN_OPTS = '-Xms1024m -Xmx4g'
-
PR_BRANCH_HASH = "${util.generateHash(10)}"
- MAVEN_DEPLOY_LOCAL_DIR = "${WORKSPACE}/maven_deploy_dir"
+ MAVEN_DEPLOY_LOCAL_DIR = "/tmp/maven_deploy_dir"
}
stages {
@@ -117,7 +112,7 @@ pipeline {
if (params.SKIP_TESTS) {
mvnCmd.skipTests() // Conflict somehow with Python testing. If `skipTests={anyvalue}` is set, then exec plugin is not executed ...
}
- util.runWithPythonVirtualEnv(mvnCmd.getFullRunCommand('clean install'), 'swf')
+ mvnCmd.run('clean install')
}
}
}
@@ -242,7 +237,7 @@ boolean shouldStageArtifacts() {
}
boolean shouldDeployToRepository() {
- return env.MAVEN_DEPLOY_REPOSITORY && env.MAVEN_REPO_CREDS_ID && getGitAuthor() == 'kiegroup'
+ return env.MAVEN_DEPLOY_REPOSITORY && env.MAVEN_REPO_CREDS_ID && getGitAuthor() == 'apache'
}
boolean isRelease() {
@@ -308,7 +303,7 @@ void runMavenDeploy(boolean localDeployment = false) {
mvnCmd.withDeployRepository(env.MAVEN_DEPLOY_REPOSITORY)
}
- util.runWithPythonVirtualEnv(mvnCmd.skipTests(true).getFullRunCommand('clean deploy'), 'swf')
+ mvnCmd.skipTests(true).run('clean deploy')
}
String getMavenRepoZipUrl() {
diff --git a/.ci/jenkins/Jenkinsfile.promote b/.ci/jenkins/Jenkinsfile.promote
index 47fdf98376..9e93fe32e7 100644
--- a/.ci/jenkins/Jenkinsfile.promote
+++ b/.ci/jenkins/Jenkinsfile.promote
@@ -6,7 +6,10 @@ pipelineProperties = [:]
pipeline {
agent {
- label 'rhel8 && !built-in'
+ docker {
+ image env.AGENT_DOCKER_BUILDER_IMAGE
+ args env.AGENT_DOCKER_BUILDER_ARGS
+ }
}
options {
diff --git a/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr b/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr
index 7b3691f9d8..192aad3251 100644
--- a/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr
+++ b/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.pr
@@ -8,11 +8,10 @@ changeTarget = env.ghprbTargetBranch ?: CHANGE_TARGET
pipeline {
agent {
- label 'kie-rhel8 && kie-mem16g && !built-in'
- }
- tools {
- maven env.BUILD_MAVEN_TOOL
- jdk env.BUILD_JDK_TOOL
+ docker {
+ image env.AGENT_DOCKER_BUILDER_IMAGE
+ args env.AGENT_DOCKER_BUILDER_ARGS
+ }
}
options {
timestamps()
@@ -39,9 +38,9 @@ pipeline {
steps {
script {
dir('drools') {
- githubscm.checkoutIfExists('drools', changeAuthor, changeBranch, 'kiegroup', changeTarget, true)
- util.runWithPythonVirtualEnv('.ci/environments/update.sh quarkus-3', 'swf')
- util.runWithPythonVirtualEnv(getMavenCommand().withProperty('quickly').getFullRunCommand('clean install'), 'swf')
+ githubscm.checkoutIfExists('incubator-kie-drools', changeAuthor, changeBranch, 'apache', changeTarget, true)
+ sh '.ci/environments/update.sh quarkus-3'
+ getMavenCommand().withProperty('quickly').run('clean install')
}
}
}
@@ -54,7 +53,7 @@ pipeline {
env.BUILD_MVN_OPTS = "${env.BUILD_MVN_OPTS ?: ''} -s ${MAVEN_SETTINGS_FILE} -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true"
echo "BUILD_MVN_OPTS = ${BUILD_MVN_OPTS}"
- util.runWithPythonVirtualEnv('.ci/environments/quarkus-3/before.sh rewrite', 'swf')
+ sh '.ci/environments/quarkus-3/before.sh rewrite'
}
}
}
diff --git a/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.standalone b/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.standalone
index 33aae1e1d4..c72c926cde 100644
--- a/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.standalone
+++ b/.ci/jenkins/Jenkinsfile.quarkus-3.rewrite.standalone
@@ -7,12 +7,10 @@ previousHash = ''
pipeline {
agent {
- label 'kie-rhel8 && kie-mem16g && !built-in'
- }
-
- tools {
- maven env.BUILD_MAVEN_TOOL
- jdk env.BUILD_JDK_TOOL
+ docker {
+ image env.AGENT_DOCKER_BUILDER_IMAGE
+ args env.AGENT_DOCKER_BUILDER_ARGS
+ }
}
options {
@@ -58,9 +56,9 @@ pipeline {
steps {
script {
dir('drools') {
- githubscm.checkoutIfExists('drools', getGitAuthor(), getBuildBranch(), getBaseAuthor(), getBaseBranch(), true)
- util.runWithPythonVirtualEnv('.ci/environments/update.sh quarkus-3', 'swf')
- util.runWithPythonVirtualEnv(getMavenCommand().withProperty('quickly').getFullRunCommand('clean install'), 'swf')
+ githubscm.checkoutIfExists('incubator-kie-drools', getGitAuthor(), getBuildBranch(), getBaseAuthor(), getBaseBranch(), true)
+ sh '.ci/environments/update.sh quarkus-3'
+ getMavenCommand().withProperty('quickly').run('clean install')
}
}
}
@@ -73,7 +71,7 @@ pipeline {
env.BUILD_MVN_OPTS = "${env.BUILD_MVN_OPTS ?: ''} -s ${MAVEN_SETTINGS_FILE} -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true"
echo "BUILD_MVN_OPTS = ${BUILD_MVN_OPTS}"
- util.runWithPythonVirtualEnv('.ci/environments/quarkus-3/before.sh rewrite', 'swf')
+ sh '.ci/environments/quarkus-3/before.sh rewrite'
}
}
}
diff --git a/.ci/jenkins/Jenkinsfile.setup-branch b/.ci/jenkins/Jenkinsfile.setup-branch
index 174f684f3b..3698b8c9e9 100644
--- a/.ci/jenkins/Jenkinsfile.setup-branch
+++ b/.ci/jenkins/Jenkinsfile.setup-branch
@@ -3,17 +3,15 @@ import org.jenkinsci.plugins.workflow.libs.Library
import org.kie.jenkins.MavenCommand
-droolsRepo = 'drools'
+droolsRepo = 'incubator-kie-drools'
dataIndexEphemeralImageName = 'quay.io/kiegroup/kogito-data-index-ephemeral'
pipeline {
agent {
- label 'kie-rhel8 && !built-in'
- }
-
- tools {
- maven env.BUILD_MAVEN_TOOL
- jdk env.BUILD_JDK_TOOL
+ docker {
+ image env.AGENT_DOCKER_BUILDER_IMAGE
+ args env.AGENT_DOCKER_BUILDER_ARGS
+ }
}
options {
@@ -21,17 +19,8 @@ pipeline {
timeout(time: 60, unit: 'MINUTES')
}
- // parameters {
- // For parameters, check into ./dsl/jobs.groovy file
- // }
-
environment {
- // Static env is defined into ./dsl/jobs.groovy file
-
KOGITO_CI_EMAIL_TO = credentials("${JENKINS_EMAIL_CREDS_ID}")
-
- // Keep here for visitibility
- MAVEN_OPTS = '-Xms1024m -Xmx4g'
}
stages {
diff --git a/.ci/jenkins/dsl/jobs.groovy b/.ci/jenkins/dsl/jobs.groovy
index 16e88fe941..abeca6d80e 100644
--- a/.ci/jenkins/dsl/jobs.groovy
+++ b/.ci/jenkins/dsl/jobs.groovy
@@ -2,10 +2,10 @@
* This file is describing all the Jenkins jobs in the DSL format (see https://plugins.jenkins.io/job-dsl/)
* needed by the Kogito pipelines.
*
-* The main part of Jenkins job generation is defined into the https://github.com/kiegroup/kogito-pipelines repository.
+* The main part of Jenkins job generation is defined into the https://github.com/apache/incubator-kie-kogito-pipelines repository.
*
* This file is making use of shared libraries defined in
-* https://github.com/kiegroup/kogito-pipelines/tree/main/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl.
+* https://github.com/apache/incubator-kie-kogito-pipelines/tree/main/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl.
*/
import org.kie.jenkins.jobdsl.model.JenkinsFolder
@@ -29,8 +29,6 @@ Closure setup4AMCronTriggerJobParamsGetter = { script ->
return jobParams
}
-
-
Map getMultijobPRConfig(JenkinsFolder jobFolder) {
String defaultBuildMvnOptsCurrent = jobFolder.getDefaultEnvVarValue('BUILD_MVN_OPTS_CURRENT') ?: ''
def jobConfig = [
@@ -49,27 +47,24 @@ Map getMultijobPRConfig(JenkinsFolder jobFolder) {
], [
id: 'kogito-apps',
dependsOn: 'kogito-runtimes',
- repository: 'kogito-apps',
- env : [
- NODE_OPTIONS: '--max_old_space_size=4096',
- ]
+ repository: 'incubator-kie-kogito-apps',
], [
id: 'kogito-quarkus-examples',
- repository: 'kogito-examples',
+ repository: 'incubator-kie-kogito-examples',
dependsOn: 'kogito-apps',
env : [
KOGITO_EXAMPLES_SUBFOLDER_POM: 'kogito-quarkus-examples/',
],
], [
id: 'kogito-springboot-examples',
- repository: 'kogito-examples',
+ repository: 'incubator-kie-kogito-examples',
dependsOn: 'kogito-apps',
env : [
KOGITO_EXAMPLES_SUBFOLDER_POM: 'kogito-springboot-examples/',
],
], [
id: 'serverless-workflow-examples',
- repository: 'kogito-examples',
+ repository: 'incubator-kie-kogito-examples',
dependsOn: 'kogito-apps',
env : [
KOGITO_EXAMPLES_SUBFOLDER_POM: 'serverless-workflow-examples/',
@@ -98,7 +93,7 @@ List getRuntimesBuildMvnOptions(JenkinsFolder jobFolder) {
}
// PR checks
-KogitoJobUtils.createAllEnvironmentsPerRepoPRJobs(this) { jobFolder -> getMultijobPRConfig(jobFolder) }
+Utils.isMainBranch(this) && KogitoJobTemplate.createPullRequestMultibranchPipelineJob(this, "${jenkins_path}/Jenkinsfile")
// Init branch
createSetupBranchJob()
@@ -119,7 +114,7 @@ setupReleasePromoteJob()
// Tools job
if (isMainStream()) {
- KogitoJobUtils.createQuarkusUpdateToolsJob(this, 'kogito-runtimes', [
+ KogitoJobUtils.createQuarkusVersionUpdateToolsJobForCurrentRepo(this, [
modules: [ 'kogito-dependencies-bom', 'kogito-build-parent', 'kogito-quarkus-bom', 'kogito-build-no-bom-parent' ],
compare_deps_remote_poms: [ 'io.quarkus:quarkus-bom' ],
properties: [ 'version.io.quarkus' ],
@@ -127,7 +122,8 @@ if (isMainStream()) {
// Quarkus 3
if (EnvUtils.isEnvironmentEnabled(this, 'quarkus-3')) {
- setupPrQuarkus3RewriteJob()
+ // TODO create PR job with branch source plugin. How to ?
+ // setupPrQuarkus3RewriteJob() // Deactivated due to ghprb not available on Apache Jenkins
setupStandaloneQuarkus3RewriteJob()
}
}
@@ -146,9 +142,8 @@ void setupSpecificBuildChainNightlyJob(String envName, Closure defaultJobParamsG
void createSetupBranchJob() {
def jobParams = JobParamsUtils.getBasicJobParams(this, 'kogito-runtimes', JobType.SETUP_BRANCH, "${jenkins_path}/Jenkinsfile.setup-branch", 'Kogito Runtimes Setup branch')
- JobParamsUtils.setupJobParamsDefaultMavenConfiguration(this, jobParams)
+ JobParamsUtils.setupJobParamsAgentDockerBuilderImageConfiguration(this, jobParams)
jobParams.env.putAll([
- REPO_NAME: 'kogito-runtimes',
JENKINS_EMAIL_CREDS_ID: "${JENKINS_EMAIL_CREDS_ID}",
GIT_AUTHOR: "${GIT_AUTHOR_NAME}",
@@ -174,7 +169,7 @@ void createSetupBranchJob() {
void setupReleaseDeployJob() {
def jobParams = JobParamsUtils.getBasicJobParams(this, 'kogito-runtimes-deploy', JobType.RELEASE, "${jenkins_path}/Jenkinsfile.deploy", 'Kogito Runtimes Deploy')
- JobParamsUtils.setupJobParamsDefaultMavenConfiguration(this, jobParams)
+ JobParamsUtils.setupJobParamsAgentDockerBuilderImageConfiguration(this, jobParams)
jobParams.env.putAll([
JENKINS_EMAIL_CREDS_ID: "${JENKINS_EMAIL_CREDS_ID}",
GIT_AUTHOR: "${GIT_AUTHOR_NAME}",
@@ -214,7 +209,7 @@ void setupReleaseDeployJob() {
void setupReleasePromoteJob() {
def jobParams = JobParamsUtils.getBasicJobParams(this, 'kogito-runtimes-promote', JobType.RELEASE, "${jenkins_path}/Jenkinsfile.promote", 'Kogito Runtimes Promote')
- JobParamsUtils.setupJobParamsDefaultMavenConfiguration(this, jobParams)
+ JobParamsUtils.setupJobParamsAgentDockerBuilderImageConfiguration(this, jobParams)
jobParams.env.putAll([
PROPERTIES_FILE_NAME: 'deployment.properties',
@@ -251,7 +246,7 @@ void setupReleasePromoteJob() {
void setupPrQuarkus3RewriteJob() {
def jobParams = JobParamsUtils.getBasicJobParamsWithEnv(this, 'kogito-runtimes.rewrite', JobType.PULL_REQUEST, 'quarkus-3', "${jenkins_path}/Jenkinsfile.quarkus-3.rewrite.pr", 'Kogito Runtimes Quarkus 3 rewrite patch regeneration')
- JobParamsUtils.setupJobParamsDefaultMavenConfiguration(this, jobParams)
+ JobParamsUtils.setupJobParamsAgentDockerBuilderImageConfiguration(this, jobParams)
jobParams.jenkinsfile = "${jenkins_path}/Jenkinsfile.quarkus-3.rewrite.pr"
jobParams.pr.putAll([
run_only_for_branches: [ "${GIT_BRANCH}" ],
@@ -271,7 +266,7 @@ void setupPrQuarkus3RewriteJob() {
void setupStandaloneQuarkus3RewriteJob() {
def jobParams = JobParamsUtils.getBasicJobParams(this, 'kogito-runtimes.quarkus-3.rewrite', JobType.TOOLS, "${jenkins_path}/Jenkinsfile.quarkus-3.rewrite.standalone", 'Kogito Runtimes Quarkus 3 rewrite patch regeneration')
jobParams.env.putAll(EnvUtils.getEnvironmentEnvVars(this, 'quarkus-3'))
- JobParamsUtils.setupJobParamsDefaultMavenConfiguration(this, jobParams)
+ JobParamsUtils.setupJobParamsAgentDockerBuilderImageConfiguration(this, jobParams)
jobParams.env.putAll([
AUTHOR_CREDS_ID: "${GIT_AUTHOR_CREDENTIALS_ID}",
JENKINS_EMAIL_CREDS_ID: "${JENKINS_EMAIL_CREDS_ID}",
diff --git a/.ci/jenkins/dsl/test.sh b/.ci/jenkins/dsl/test.sh
index ad8af34ac2..2d518eb9f9 100755
--- a/.ci/jenkins/dsl/test.sh
+++ b/.ci/jenkins/dsl/test.sh
@@ -1,6 +1,6 @@
#!/bin/bash -e
file=$(mktemp)
# For more usage of the script, use ./test.sh -h
-curl -o ${file} https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/dsl/seed/scripts/seed_test.sh
+curl -o ${file} https://raw.githubusercontent.com/apache/incubator-kie-kogito-pipelines/main/dsl/seed/scripts/seed_test.sh
chmod u+x ${file}
${file} $@
\ No newline at end of file
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 8d9ffd4d83..10bf8d7191 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -3,7 +3,7 @@ Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:
- [ ] You have read the [contributors guide](CONTRIBUTING.md)
-- [ ] Your code is properly formatted according to [this configuration](https://github.com/kiegroup/kogito-runtimes/tree/main/kogito-build/kogito-ide-config)
+- [ ] Your code is properly formatted according to [this configuration](https://github.com/apache/incubator-kie-kogito-runtimes/tree/main/kogito-build/kogito-ide-config)
- [ ] Pull Request title is properly formatted: `KOGITO-XYZ Subject`
- [ ] Pull Request title contains the target branch if not targeting main: `[0.9.x] KOGITO-XYZ Subject`
- [ ] Pull Request contains link to the JIRA issue
diff --git a/.github/workflows/nightly-quarkus-ecosystem.yaml b/.github/workflows/nightly-quarkus-ecosystem.yaml
deleted file mode 100644
index 3b8f2b90b8..0000000000
--- a/.github/workflows/nightly-quarkus-ecosystem.yaml
+++ /dev/null
@@ -1,106 +0,0 @@
-name: "Quarkus ecosystem CI"
-on:
- watch:
- types: [started]
-
- # For this CI to work, ECOSYSTEM_CI_TOKEN needs to contain a GitHub with rights to close the Quarkus issue that the user/bot has opened,
- # while 'ECOSYSTEM_CI_REPO_PATH' needs to be set to the corresponding path in the 'quarkusio/quarkus-ecosystem-ci' repository
-
-env:
- ECOSYSTEM_CI_REPO: quarkusio/quarkus-ecosystem-ci
- ECOSYSTEM_CI_REPO_FILE: context.yaml
- JAVA_VERSION: 11
-
- #########################
- # Repo specific setting #
- #########################
-
- ECOSYSTEM_CI_REPO_PATH: kogito-quarkus
-
-jobs:
- quarkus-main:
- name: "Build against latest Quarkus snapshot"
- runs-on: ubuntu-latest
- timeout-minutes: 360
- if: github.actor == 'quarkusbot'
- env:
- INTEGRATION_BRANCH: main-integration-quarkus-main
- steps:
- - name: Install yq
- run: sudo add-apt-repository ppa:rmescandon/yq && sudo apt update && sudo apt install yq -y
-
- - name: Set up Java
- uses: actions/setup-java@v3
- with:
- java-version: ${{ env.JAVA_VERSION }}
- distribution: temurin
- check-latest: true
-
- - name: Checkout Drools repository on integration branch
- uses: actions/checkout@v3
- with:
- repository: kiegroup/drools
- path: drools
- ref: ${{ env.INTEGRATION_BRANCH }}
-
- - name: Checkout current repository on integration branch
- uses: actions/checkout@v3
- with:
- path: current-repo
- ref: ${{ env.INTEGRATION_BRANCH }}
-
- - name: Checkout Ecosystem
- uses: actions/checkout@v3
- with:
- repository: ${{ env.ECOSYSTEM_CI_REPO }}
- ref: main
- path: ecosystem-ci
-
- - name: Setup and Run Tests against Quarkus main
- run: ./ecosystem-ci/setup-and-test
- env:
- ECOSYSTEM_CI_TOKEN: ${{ secrets.ECOSYSTEM_CI_TOKEN }}
-
- quarkus-lts:
- name: "Build against latest Quarkus LTS"
- runs-on: ubuntu-latest
- if: github.actor == 'quarkusbot'
- env:
- INTEGRATION_BRANCH: main-integration-quarkus-lts
- steps:
- - name: Install yq
- run: sudo add-apt-repository ppa:rmescandon/yq && sudo apt update && sudo apt install yq -y
-
- - name: Set up Java
- uses: actions/setup-java@v3
- with:
- java-version: ${{ env.JAVA_VERSION }}
- distribution: temurin
- check-latest: true
-
- - name: Checkout drools repository on integration branch
- uses: actions/checkout@v3
- with:
- repository: kiegroup/drools
- path: drools
- ref: ${{ env.INTEGRATION_BRANCH }}
-
- - name: Checkout current repository on integration branch
- uses: actions/checkout@v3
- with:
- path: current-repo
- ref: ${{ env.INTEGRATION_BRANCH }}
-
- - name: Checkout Ecosystem
- uses: actions/checkout@v3
- with:
- repository: ${{ env.ECOSYSTEM_CI_REPO }}
- ref: main
- path: ecosystem-ci
-
- - name: Setup and Run Tests against Quarkus LTS
- run: ./ecosystem-ci/setup-and-test
- env:
- ECOSYSTEM_CI_TOKEN: ${{ secrets.ECOSYSTEM_CI_TOKEN }}
- ALTERNATIVE: lts
- MAVEN_EXTRA_OPTS: -Dproductized -Ddata-index-ephemeral.image=quay.io/kiegroup/kogito-data-index-ephemeral
diff --git a/.github/workflows/pr-downstream.yml b/.github/workflows/pr-downstream.yml
index 062a2cef90..722d931c75 100644
--- a/.github/workflows/pr-downstream.yml
+++ b/.github/workflows/pr-downstream.yml
@@ -26,16 +26,16 @@ jobs:
maven-version: ['3.8.7']
include:
- job_name: kogito-apps
- repository: kogito-apps
+ repository: incubator-kie-kogito-apps
env_BUILD_MVN_OPTS: "-DskipUI"
- job_name: kogito-quarkus-examples
- repository: kogito-examples
+ repository: incubator-kie-kogito-examples
env_KOGITO_EXAMPLES_SUBFOLDER_POM: kogito-quarkus-examples/
- job_name: kogito-springboot-examples
- repository: kogito-examples
+ repository: incubator-kie-kogito-examples
env_KOGITO_EXAMPLES_SUBFOLDER_POM: kogito-springboot-examples/
- job_name: serverless-workflow-examples
- repository: kogito-examples
+ repository: incubator-kie-kogito-examples
env_KOGITO_EXAMPLES_SUBFOLDER_POM: serverless-workflow-examples/
fail-fast: false
runs-on: ${{ matrix.os }}
@@ -57,14 +57,14 @@ jobs:
uses: kiegroup/kie-ci/.ci/actions/build-chain@main
with:
annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }}
- starting-project: kiegroup/${{ matrix.repository }}
+ starting-project: apache/${{ matrix.repository }}
github-token: "${{ secrets.GITHUB_TOKEN }}"
- definition-file: https://raw.githubusercontent.com/${GROUP:kiegroup}/kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml
+ definition-file: https://raw.githubusercontent.com/${GROUP:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml
env:
BUILD_MVN_OPTS: ${{ matrix.env_BUILD_MVN_OPTS }}
KOGITO_EXAMPLES_SUBFOLDER_POM: ${{ matrix.env_KOGITO_EXAMPLES_SUBFOLDER_POM }}
- name: Junit Report
- uses: kiegroup/kogito-pipelines/.ci/actions/action-junit-report@main
+ uses: apache/incubator-kie-kogito-pipelines/.ci/actions/action-junit-report@main
if: ${{ always() }}
with:
report_paths: '**/*-reports/TEST-*.xml'
diff --git a/.github/workflows/pr-jenkins.yml b/.github/workflows/pr-jenkins.yml
index 94ba4c5a13..85d1306b13 100644
--- a/.github/workflows/pr-jenkins.yml
+++ b/.github/workflows/pr-jenkins.yml
@@ -51,6 +51,6 @@ jobs:
- name: DSL tests
uses: kiegroup/kie-ci/.ci/actions/dsl-tests@main
with:
- main-config-file-repo: kiegroup/kogito-pipelines
+ main-config-file-repo: apache/incubator-kie-kogito-pipelines
main-config-file-path: .ci/jenkins/config/main.yaml
- branch-config-file-repo: kiegroup/kogito-pipelines
\ No newline at end of file
+ branch-config-file-repo: apache/incubator-kie-kogito-pipelines
\ No newline at end of file
diff --git a/.github/workflows/pr-kogito-runtimes.yml b/.github/workflows/pr-kogito-runtimes.yml
index fc95b96b3e..d2b9573faa 100644
--- a/.github/workflows/pr-kogito-runtimes.yml
+++ b/.github/workflows/pr-kogito-runtimes.yml
@@ -44,11 +44,11 @@ jobs:
with:
annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }}
github-token: "${{ secrets.GITHUB_TOKEN }}"
- definition-file: https://raw.githubusercontent.com/${GROUP:kiegroup}/kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml
+ definition-file: https://raw.githubusercontent.com/${GROUP:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml
env:
BUILD_MVN_OPTS_CURRENT: '-T 1.5C'
- name: Junit Report
- uses: kiegroup/kogito-pipelines/.ci/actions/action-junit-report@main
+ uses: apache/incubator-kie-kogito-pipelines/.ci/actions/action-junit-report@main
if: ${{ always() }}
with:
report_paths: '**/*-reports/TEST-*.xml'
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org