From b0365ea7bca89bda03d5e32bd8c80c554f4d2bd5 Mon Sep 17 00:00:00 2001 From: radtriste Date: Mon, 28 Aug 2023 15:48:06 +0200 Subject: [PATCH 1/9] Setup docs on current pipelines --- docs/current_pipelines.md | 57 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 docs/current_pipelines.md diff --git a/docs/current_pipelines.md b/docs/current_pipelines.md new file mode 100644 index 000000000..adcd3bc2f --- /dev/null +++ b/docs/current_pipelines.md @@ -0,0 +1,57 @@ +# Drools 8 / Kogito / OptaPlanner 8 pipelines + +## Which projects ? + +- Drools +- Kogito +- OptaPlanner + +## Seed generation + +TODO + +## Job Types + +### Nightly and PRs + +TODO + +### Setup branch + +TODO + +### Release + +TODO + +### Tools + +TODO + +## Job environments + +Environments can be found in branch seed configuration. + +Usually you may find those: + +- default + or the "empty" environment +- native + Execute nightly +- quarkus-branch +- quarkus-main +- quarkus-3 +- quarkus-lts +- native-lts + +TODO + +## Quarkus 3 current processes + +TODO + +## How-tos ? + +### Update Quarkus version + +TODO \ No newline at end of file From 41e04025640e651288073dfd5a60d3785aca4a78 Mon Sep 17 00:00:00 2001 From: radtriste Date: Tue, 29 Aug 2023 14:43:44 +0200 Subject: [PATCH 2/9] Setup pipelines doc --- docs/current_pipelines.md | 83 +++++++++++++++++++++++++++++---------- 1 file changed, 63 insertions(+), 20 deletions(-) diff --git a/docs/current_pipelines.md b/docs/current_pipelines.md index adcd3bc2f..e3f70c4da 100644 --- a/docs/current_pipelines.md +++ b/docs/current_pipelines.md @@ -6,47 +6,83 @@ - Kogito - OptaPlanner -## Seed generation +## Jenkins + +### Seed generation TODO -## Job Types +### Jenkins jobs + +### Job environments + +Environments can be found in the branch seed configuration. + +Usually you find those: + +- default + or the "empty" environment +- native + Execute build with native maven commands +- quarkus-branch + Check the project against the latest updates from the current quarkus branch used +- quarkus-main + Check the project against the latest updates from quarkus main branch (forward compatiblity) +- quarkus-3 + Migrate repositories to Quarkus 3 +- quarkus-lts + Check the project against the latest updates from quarkus LTS branch (backward compatiblity) +- native-lts + Check the project against the latest updates from quarkus LTS branch (backward compatiblity) in native mode -### Nightly and PRs +#### PRs TODO +#### Nightlies -### Setup branch +**Main nightly** TODO -### Release +**Environment nightlies** TODO -### Tools +#### Setup branch TODO -## Job environments +#### Release -Environments can be found in branch seed configuration. +TODO -Usually you may find those: +#### Tools -- default - or the "empty" environment -- native - Execute nightly -- quarkus-branch -- quarkus-main -- quarkus-3 -- quarkus-lts -- native-lts +TODO + +### Quarkus Platform nightly + +As we need to deploy a specific Quarkus Platform with our snapshot artifacts, there is a nightly existing, which is launched by the main nightly. + +### Quarkus 3 + +The Quarkus 3 flow is a bit specific as we are preparing for releasing versions in parallel of Quarkus 2.x version. + +#### Automatic Quarkus 3 branch creation + +TODO + +#### Quarkus 3 dsl configurations TODO -## Quarkus 3 current processes +#### Quarkus 3 specific jobs + +TODO + +## GitHub Actions + +### PR checks TODO @@ -54,4 +90,11 @@ TODO ### Update Quarkus version -TODO \ No newline at end of file +1) Create an issue on [kie-issues](https://github.com/kiegroup/kie-issues) +2) Launch `main/tools/update-quarkus-all` job with + * [Drools](https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/drools/job/main/job/tools/job/update-quarkus-all/) + * [Kogito](https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/tools/job/update-quarkus-all/) + * [OptaPlanner](https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/optaplanner/job/main/job/tools/job/update-quarkus-all/) +3) Wait for the PRs to arrive on [kogito-ci](https://kie.zulipchat.com/#narrow/stream/236603-kogito-ci) and [optaplanner-ci](https://kie.zulipchat.com/#narrow/stream/354864-optaplanner-ci) streams +4) Review the changes. + **Make sure there is no downgrade of dependency version !!!!** \ No newline at end of file From 220bb5c65d2347b986898551db2c30ea0a11293d Mon Sep 17 00:00:00 2001 From: radtriste Date: Mon, 4 Sep 2023 14:26:13 +0200 Subject: [PATCH 3/9] updates --- docs/current_pipelines.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/docs/current_pipelines.md b/docs/current_pipelines.md index adcd3bc2f..5b2346c22 100644 --- a/docs/current_pipelines.md +++ b/docs/current_pipelines.md @@ -1,10 +1,33 @@ # Drools 8 / Kogito / OptaPlanner 8 pipelines +Here is a small overview of current pipelines existing around Kogito project. + ## Which projects ? - Drools + - https://github.com/kiegroup/drools + - https://github.com/kiegroup/drools-website + - https://github.com/kiegroup/kie-benchmarks + - https://github.com/kiegroup/kie-pmml-integration - Kogito + - https://github.com/kiegroup/kogito-pipelines + - https://github.com/kiegroup/kogito-runtimes + - https://github.com/kiegroup/kogito-apps + - https://github.com/kiegroup/kogito-examples + - https://github.com/kiegroup/kogito-images + - https://github.com/kiegroup/kogito-operator + - https://github.com/kiegroup/kogito-docs + - https://github.com/kiegroup/kogito-serverless-operator + - https://github.com/kiegroup/kie-docs + - https://github.com/kiegroup/kie-tools - OptaPlanner + - https://github.com/kiegroup/optaplanner + - https://github.com/kiegroup/optaplanner-quickstarts + - https://github.com/kiegroup/optaplanner-website + +## Jenkins + +## GitHub Actions ## Seed generation @@ -48,7 +71,9 @@ TODO ## Quarkus 3 current processes -TODO +We make use of + +1) Migrate repository ## How-tos ? From 1d76224ce5db5d464c47fb2c40027e9fad18b0d5 Mon Sep 17 00:00:00 2001 From: radtriste Date: Mon, 4 Sep 2023 16:28:37 +0200 Subject: [PATCH 4/9] update docs --- docs/current_pipelines.md | 132 +++++++++++++++++++++++++++++++------- docs/nightly pipeline.md | 25 -------- docs/release checklist.md | 6 +- 3 files changed, 111 insertions(+), 52 deletions(-) diff --git a/docs/current_pipelines.md b/docs/current_pipelines.md index 2e1cca0c1..1d23e2161 100644 --- a/docs/current_pipelines.md +++ b/docs/current_pipelines.md @@ -25,15 +25,43 @@ Here is a small overview of current pipelines existing around Kogito project. - https://github.com/kiegroup/optaplanner-quickstarts - https://github.com/kiegroup/optaplanner-website -## Jenkins +### Projects' dependencies -## GitHub Actions +- Kogito snapshot depends on Drools snapshot + They remain extremely coupled and some pipelines will need first to run Drools before Kogito, like the `Prepare release branch` and `Release` pipelines +- OptaPlanner depends a Final version of Drools. + +All 3 projects can still be released + +### Kogito specificities + +Kogito contains both Artifacts and Cloud repositories. Those are "decoupled", which means there are: + +- 2 main release jobs, one for Artifacts and one for Cloud (but artifacts can call cloud) +- 2 main default nightly jobs, one for Artifacts and one for Cloud (but artifacts can call cloud) +- 2 main setup branch jobs, one for Artifacts and one for Cloud (but artifacts can call cloud) ## Jenkins ### Seed generation -TODO +For more information on the see generation, please look at the [jenkins](./jenkins.md) documentation. + +Main information to remember: + +- One main seed job will start the whole process and generate all jobs, for all defined branches. + In that process, it will create global root jobs as well as one folder per branch (defined into the `main.yaml` config file). + In each branch, it is created a branch seed job. + Logic of the seed job can be found in [here](../dsl/seed/jenkinsfiles/Jenkinsfile.seed.main) + Definition of the main seed job can found [here](../dsl/seed/jobs/seed_job_main.groovy) +- Each branch seed job will generate the jobs, based on the `.ci/jenkins/dsl/jobs.groovy` file, for each of the defined repository/branch. + For each branch, the information needed is defined into the `branch.yaml` file, being environments or repositories or credentials ... + Logic of the seed job can be found in [here](../dsl/seed/jenkinsfiles/Jenkinsfile.seed.branch) + Definition of a branch seed job can found [here](../dsl/seed/jobs/seed_job_branch.groovy) +- When branching (`prepare-release-branch` job), it should process 3 things: + - Create release branches for all concerned repositories + - Create config branch for the config files repository + - Create seed branch for the seed library (`kogito-pipelines` repository) ### Jenkins jobs @@ -58,58 +86,117 @@ Usually you find those: - native-lts Check the project against the latest updates from quarkus LTS branch (backward compatiblity) in native mode -#### PRs - -TODO #### Nightlies **Main nightly** -TODO +or default nightly. + +This one building, testing and deploying artifacts/images. **Environment nightlies** -TODO +Those jobs are only for artifacts' repositories. + +Environment jobs are defined in each concerned repositories. They use the environment definition and make a simple build. +Those jobs are making use of the build-chain via the [build-chain jenkinsfile](../dsl/seed/jenkinsfiles/Jenkinsfile.buildchain). + +The run of those builds use the `.ci/environments` folder of each repository. +This allows to have some specific updates for the build. +Updates are usually in a patch folder. But some `before.sh` and `after.sh` scripts can allow more changes. +For example, Quarkus 3 flows uses OpenRewrite + patches to do the migration, as the changes are quite big. + +Integration jobs are creating specific branches before perfoming the build. Branch name pattern is `{BASE_BRANCH}-integration-{ENVIRONMENT_NAME}`. + +#### PRs + +PR jobs are making use of the build-chain via the [build-chain jenkinsfile](../dsl/seed/jenkinsfiles/Jenkinsfile.buildchain). +The environment variables are determining what and how it should be launched for each environments. + +Like the nightlies, the PR check use the environments scripts if needed and existing. #### Setup branch -TODO +Those jobs are used: + +- when a release branch is created to update the release branch version and the main branch version +- after a release is done, so we can update the release branch to the next snapshot + +Like the default nightly, there is a main pipeline which is calling the other jobs from the folder. #### Release -TODO +Contains all release jobs. + +Like the default nightly and setup branch processes, there is a main release job which is calling the different deploy/promote jobs. + +For more information, you can also have a look to the [release page](./release%20pipeline.md). + +There is also a [release checklist](./release%20checklist.md). #### Tools -TODO +Useful tools for the pipelines, like updating an external dependency version, cleaning images ... ### Quarkus Platform nightly As we need to deploy a specific Quarkus Platform with our snapshot artifacts, there is a nightly existing, which is launched by the main nightly. -### Quarkus 3 +### Quarkus 3 jobs The Quarkus 3 flow is a bit specific as we are preparing for releasing versions in parallel of Quarkus 2.x version. +We end up with 2 streams: + +- Drools8/Kogito/OptaPlanner8 +- Drools9/Kogito2/OptaPlanner9 + +#### Quarkus 3 nightly integration jobs + +This is done in the `quarkus-3` environment nightly job (that can be found in `nightly.quarkus-3` folder). + +This environment has always a `0001_before_sh.patch` which is the result of the `before.sh` script, containing OpenRewrite automation. All other patches are manually maintained. -#### Automatic Quarkus 3 branch creation +When the nightly job is in failure, it usually means that the patches could not be correctly applied. Check the logs. +And `UNSTABLE` build, means only test failures. -TODO +The nightlies are creating specific branches: -#### Quarkus 3 dsl configurations +- Drools 9.x +- Kogito 2.x +- OptaPlanner 9.x -TODO +**NOTE: The Quarkus 3 integration jobs are not running any testing. They are only performing the code migration. Tests are performed in the nightly jobs of the created branches** -#### Quarkus 3 specific jobs +#### Quarkus 3 branches -TODO +**DSL config files** + +Main Config file for Quarkus 3 are can be found on separate from code: +- https://github.com/kiegroup/drools/tree/9.x-dsl-config +- https://github.com/kiegroup/kogito-pipelines/tree/2.x-dsl-config +- https://github.com/kiegroup/optaplanner/tree/9.x-dsl-config + +And jobs can be found in different Jenkins folders: +https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/optaplanner-9.x/ +- https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/drools-9.x/ +- https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito-2.x/ +- https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/optaplanner-9.x/ + +We keep separate configurations between the 2 streams because it is easier to manage. Jobs configuration can then be read. Compare to "Stream 8/1", some environments are disabled for now. ## GitHub Actions -### PR checks +Historically, GHA was used as a backup of Jenkins, at the time when Jenkins was very unstable. +Since then, we tried to keep both sync. +Also GHA is used to provide external users (outside Red Hat) some feedbacks in case anything fails. -We make use of +Unlike Jenkins, there is no DSL for GHA but it means job run is much more dynamic. Any change can be applied automatically. -1) Migrate repository +And we only have PR checks with GHA. + +### PR checks + +See the different workflows. They mostly use the build-chain for artifacts's repositories. For cloud, it is to run simple and quick jobs. ## How-tos ? @@ -122,4 +209,5 @@ We make use of * [OptaPlanner](https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/optaplanner/job/main/job/tools/job/update-quarkus-all/) 3) Wait for the PRs to arrive on [kogito-ci](https://kie.zulipchat.com/#narrow/stream/236603-kogito-ci) and [optaplanner-ci](https://kie.zulipchat.com/#narrow/stream/354864-optaplanner-ci) streams 4) Review the changes. - **Make sure there is no downgrade of dependency version !!!!** \ No newline at end of file + **Make sure there is no downgrade of dependency version !!!!** + diff --git a/docs/nightly pipeline.md b/docs/nightly pipeline.md index 1337390f3..a2711c45a 100644 --- a/docs/nightly pipeline.md +++ b/docs/nightly pipeline.md @@ -9,27 +9,11 @@ - [Nightly pipeline is failing](#nightly-pipeline-is-failing) - [Nightly pipeline is unstable](#nightly-pipeline-is-unstable) - [Build \& Deploy job is failing](#build--deploy-job-is-failing) - - [Promote job is failing](#promote-job-is-failing) - [Testing the Nightly Pipeline](#testing-the-nightly-pipeline) In order to perform, Nightly and Release pipelines need to call some deploy and promote jobs for runtimes, examples, images and operator. Those jobs should be present at the same level as the nightly and/or release job, so they can be found when called. -Here is the list of jobs and link to Jenkinsfiles: - -* [kogito-runtimes-deploy](https://github.com/kiegroup/kogito-runtimes/blob/main/Jenkinsfile.deploy) -* [kogito-runtimes-promote](https://github.com/kiegroup/kogito-runtimes/blob/main/Jenkinsfile.promote) -* [kogito-apps-deploy](https://github.com/kiegroup/kogito-apps/blob/main/Jenkinsfile.deploy) -* [kogito-apps-promote](https://github.com/kiegroup/kogito-apps/blob/main/Jenkinsfile.promote) -* [kogito-examples-deploy](https://github.com/kiegroup/kogito-examples/blob/main/Jenkinsfile.deploy) -* [kogito-examples-promote](https://github.com/kiegroup/kogito-examples/blob/main/Jenkinsfile.promote) -* [kogito-images-deploy](https://github.com/kiegroup/kogito-images/blob/main/Jenkinsfile.deploy) -* [kogito-images-promote](https://github.com/kiegroup/kogito-images/blob/main/Jenkinsfile.promote) -* [kogito-examples-images-deploy](https://github.com/kiegroup/kogito-operator/blob/main/Jenkinsfile.examples-images.deploy) -* [kogito-examples-images-promote](https://github.com/kiegroup/kogito-operator/blob/main/Jenkinsfile.examples-images.promote) -* [kogito-operator-deploy](https://github.com/kiegroup/kogito-operator/blob/main/Jenkinsfile.deploy) -* [kogito-operator-promote](https://github.com/kiegroup/kogito-operator/blob/main/Jenkinsfile.promote) - ## Nightly pipeline Architecture The Nightly Pipeline is composed of many steps, calling different other jobs to perform the build&test of runtimes/examples/images/operator as well as the deployment of jar artifacts and nightly container images. @@ -96,15 +80,6 @@ Here are some problems which can occur on a `Build & Deploy` job: * Test errors * Deployment problem (credentials) -### Promote job is failing - -In that case, identify the error (Groovy script error or test problem), correct it and rebuild the failing job. - -Here are some problems which can occur on a `Promote` job: - -* Groovy script error (Jenkinsfile.deploy has some problems) -* Deployment problem (credentials) - ## Testing the Nightly Pipeline In order to test the full Nightly Pipeline, and in order to avoid any problem, you will need to change some env in [Jenkinsfile.nightly](../Jenkinsfile.nightly), create jobs in Jenkins and setup some credentials. diff --git a/docs/release checklist.md b/docs/release checklist.md index 68c346a94..7d94c46e2 100644 --- a/docs/release checklist.md +++ b/docs/release checklist.md @@ -2,11 +2,7 @@ ## Cut-off -- Prepare release branch -- Retrieve PR created from the job -- Once PR is merged, execute `0-seed-job` (automation not yet fully available ...) - -Jobs should then be created for the branch and nightly are automatically activated. +Call the `0-prepare-release-branch` and wait for all the preparation. ## Before Release day From 822a9278953538607f1801920d2d62f71edff8ef Mon Sep 17 00:00:00 2001 From: radtriste Date: Tue, 5 Sep 2023 09:02:09 +0200 Subject: [PATCH 5/9] added apache jenkins --- docs/current_pipelines.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/current_pipelines.md b/docs/current_pipelines.md index 1d23e2161..9f42d3e44 100644 --- a/docs/current_pipelines.md +++ b/docs/current_pipelines.md @@ -211,3 +211,9 @@ See the different workflows. They mostly use the build-chain for artifacts's rep 4) Review the changes. **Make sure there is no downgrade of dependency version !!!!** +## Apache migration + +With IBM, we are working on porting the pipelines on [Apache Jenkins](https://ci-builds.apache.org/job/KIE/). +For that, each impacted repository contains a `apache_migration` branch where the needed changes are. + +Once the migration is done, we should be able to merge this branch on main and generate the final pipelines on Apache Jenkins. From e3c250a8644131cb0ffc2960d8c74ecc34e2a1c1 Mon Sep 17 00:00:00 2001 From: Tristan Radisson Date: Tue, 5 Sep 2023 09:11:13 +0200 Subject: [PATCH 6/9] Apply suggestions from code review --- docs/current_pipelines.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/current_pipelines.md b/docs/current_pipelines.md index 9f42d3e44..5836a1bea 100644 --- a/docs/current_pipelines.md +++ b/docs/current_pipelines.md @@ -43,9 +43,12 @@ Kogito contains both Artifacts and Cloud repositories. Those are "decoupled", wh ## Jenkins +All current Jenkins pipelines can be found in https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/ + +Each project has there its own folder (`drools`, `kogito`, `optaplanner`) and in there its own main seed job (see after). ### Seed generation -For more information on the see generation, please look at the [jenkins](./jenkins.md) documentation. +For more information on the seed generation, please look at the [jenkins](./jenkins.md) documentation. Main information to remember: @@ -182,7 +185,7 @@ https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/ - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito-2.x/ - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/optaplanner-9.x/ -We keep separate configurations between the 2 streams because it is easier to manage. Jobs configuration can then be read. Compare to "Stream 8/1", some environments are disabled for now. +NOTE: We keep separate configurations between the 2 streams because it is easier to manage. Jobs configuration can then be read. Compare to "Stream 8/1", some environments are disabled for now. ## GitHub Actions From e739e85e5296791c7e0db3d09c8cfe8405e97644 Mon Sep 17 00:00:00 2001 From: Tristan Radisson Date: Tue, 5 Sep 2023 13:58:44 +0200 Subject: [PATCH 7/9] Update docs/current_pipelines.md --- docs/current_pipelines.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/current_pipelines.md b/docs/current_pipelines.md index 5836a1bea..23bc1a4f1 100644 --- a/docs/current_pipelines.md +++ b/docs/current_pipelines.md @@ -180,7 +180,6 @@ Main Config file for Quarkus 3 are can be found on separate from code: - https://github.com/kiegroup/optaplanner/tree/9.x-dsl-config And jobs can be found in different Jenkins folders: -https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/optaplanner-9.x/ - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/drools-9.x/ - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito-2.x/ - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/optaplanner-9.x/ From f95dd77c9ddbdd4c41b9f247df05ded9c6f34bf5 Mon Sep 17 00:00:00 2001 From: jstastny-cz Date: Mon, 16 Oct 2023 15:59:09 +0200 Subject: [PATCH 8/9] update URLs to apache --- docs/current_pipelines.md | 56 +++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 31 deletions(-) diff --git a/docs/current_pipelines.md b/docs/current_pipelines.md index 23bc1a4f1..6d7d949dc 100644 --- a/docs/current_pipelines.md +++ b/docs/current_pipelines.md @@ -5,24 +5,24 @@ Here is a small overview of current pipelines existing around Kogito project. ## Which projects ? - Drools - - https://github.com/kiegroup/drools + - https://github.com/apache/incubator-kie-drools - https://github.com/kiegroup/drools-website - - https://github.com/kiegroup/kie-benchmarks + - https://github.com/apache/incubator-kie-benchmarks - https://github.com/kiegroup/kie-pmml-integration - Kogito - - https://github.com/kiegroup/kogito-pipelines - - https://github.com/kiegroup/kogito-runtimes - - https://github.com/kiegroup/kogito-apps - - https://github.com/kiegroup/kogito-examples - - https://github.com/kiegroup/kogito-images - - https://github.com/kiegroup/kogito-operator - - https://github.com/kiegroup/kogito-docs - - https://github.com/kiegroup/kogito-serverless-operator - - https://github.com/kiegroup/kie-docs + - https://github.com/apache/incubator-kie-kogito-pipelines + - https://github.com/apache/incubator-kie-kogito-runtimes + - https://github.com/apache/incubator-kie-kogito-apps + - https://github.com/apache/incubator-kie-kogito-examples + - https://github.com/apache/incubator-kie-kogito-images + - https://github.com/apache/incubator-kie-kogito-operator + - https://github.com/apache/incubator-kie-kogito-docs + - https://github.com/apache/incubator-kie-kogito-serverless-operator + - https://github.com/apache/incubator-kie-kie-docs - https://github.com/kiegroup/kie-tools - OptaPlanner - - https://github.com/kiegroup/optaplanner - - https://github.com/kiegroup/optaplanner-quickstarts + - https://github.com/apache/incubator-kie-optaplanner + - https://github.com/apache/incubator-kie-optaplanner-quickstarts - https://github.com/kiegroup/optaplanner-website ### Projects' dependencies @@ -43,7 +43,7 @@ Kogito contains both Artifacts and Cloud repositories. Those are "decoupled", wh ## Jenkins -All current Jenkins pipelines can be found in https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/ +All current Jenkins pipelines can be found in https://ci-builds.apache.org/job/KIE Each project has there its own folder (`drools`, `kogito`, `optaplanner`) and in there its own main seed job (see after). ### Seed generation @@ -175,14 +175,14 @@ The nightlies are creating specific branches: **DSL config files** Main Config file for Quarkus 3 are can be found on separate from code: -- https://github.com/kiegroup/drools/tree/9.x-dsl-config -- https://github.com/kiegroup/kogito-pipelines/tree/2.x-dsl-config -- https://github.com/kiegroup/optaplanner/tree/9.x-dsl-config +- https://github.com/apache/incubator-kie-drools/tree/9.x-dsl-config +- https://github.com/apache/incubator-kie-kogito-pipelines/tree/2.x-dsl-config +- https://github.com/apache/incubator-kie-optaplanner/tree/9.x-dsl-config -And jobs can be found in different Jenkins folders: -- https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/drools-9.x/ -- https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito-2.x/ -- https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/optaplanner-9.x/ +And jobs would be found in different Jenkins folders: +- https://ci-builds.apache.org/job/KIE/job/drools-9.x/ +- https://ci-builds.apache.org/job/KIE/job/kogito-2.x/ +- https://ci-builds.apache.org/job/KIE/job/optaplanner-9.x/ NOTE: We keep separate configurations between the 2 streams because it is easier to manage. Jobs configuration can then be read. Compare to "Stream 8/1", some environments are disabled for now. @@ -204,18 +204,12 @@ See the different workflows. They mostly use the build-chain for artifacts's rep ### Update Quarkus version -1) Create an issue on [kie-issues](https://github.com/kiegroup/kie-issues) +1) Create an issue on [kie-issues](https://github.com/apache/incubator-kie-issues) 2) Launch `main/tools/update-quarkus-all` job with - * [Drools](https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/drools/job/main/job/tools/job/update-quarkus-all/) - * [Kogito](https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/tools/job/update-quarkus-all/) - * [OptaPlanner](https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/optaplanner/job/main/job/tools/job/update-quarkus-all/) + * [Drools](https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/tools/job/update-quarkus-all/) + * [Kogito](https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/tools/job/update-quarkus-all/) + * [OptaPlanner](https://ci-builds.apache.org/job/KIE/job/optaplanner/job/main/job/tools/job/update-quarkus-all/) 3) Wait for the PRs to arrive on [kogito-ci](https://kie.zulipchat.com/#narrow/stream/236603-kogito-ci) and [optaplanner-ci](https://kie.zulipchat.com/#narrow/stream/354864-optaplanner-ci) streams 4) Review the changes. **Make sure there is no downgrade of dependency version !!!!** -## Apache migration - -With IBM, we are working on porting the pipelines on [Apache Jenkins](https://ci-builds.apache.org/job/KIE/). -For that, each impacted repository contains a `apache_migration` branch where the needed changes are. - -Once the migration is done, we should be able to merge this branch on main and generate the final pipelines on Apache Jenkins. From 1a666e09d02bfd3f24cfbc44f013ca5d13acbb59 Mon Sep 17 00:00:00 2001 From: jstastny-cz Date: Tue, 17 Oct 2023 07:57:52 +0200 Subject: [PATCH 9/9] fix duplicate kie- prefix --- docs/current_pipelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/current_pipelines.md b/docs/current_pipelines.md index 6d7d949dc..06a4b648b 100644 --- a/docs/current_pipelines.md +++ b/docs/current_pipelines.md @@ -18,7 +18,7 @@ Here is a small overview of current pipelines existing around Kogito project. - https://github.com/apache/incubator-kie-kogito-operator - https://github.com/apache/incubator-kie-kogito-docs - https://github.com/apache/incubator-kie-kogito-serverless-operator - - https://github.com/apache/incubator-kie-kie-docs + - https://github.com/apache/incubator-kie-docs - https://github.com/kiegroup/kie-tools - OptaPlanner - https://github.com/apache/incubator-kie-optaplanner