This is an automated email from the ASF dual-hosted git repository.
porcelli pushed a commit to branch 10.2.x
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git
The following commit(s) were added to refs/heads/10.2.x by this push:
new d12128f5 release: [fix] legal and compliance files adjustment
d12128f5 is described below
commit d12128f5f1a536fa81559fc81b01be002134c356
Author: Alex Porcelli <[email protected]>
AuthorDate: Tue Mar 24 15:06:10 2026 -0400
release: [fix] legal and compliance files adjustment
---
tools/zip-sources-all.sh | 2 +-
tools/zip-sources-files/BUILD | 69 ++++++++------------------
tools/zip-sources-files/build.sh | 103 ---------------------------------------
3 files changed, 21 insertions(+), 153 deletions(-)
diff --git a/tools/zip-sources-all.sh b/tools/zip-sources-all.sh
index 28afff6f..bec2e0a6 100755
--- a/tools/zip-sources-all.sh
+++ b/tools/zip-sources-all.sh
@@ -88,7 +88,7 @@ function zip_sources() {
#Add LICENSE, NOTICE and DISCLAIMER files to the root folder of the zip file
echo "Adding LICENSE, NOTICE and DISCLAIMER files to the zip file"
- cp ./tools/zip-sources-files/{LICENSE,NOTICE,DISCLAIMER-WIP}
${SOURCES_DIRECTORY_NAME}
+ cp ./tools/zip-sources-files/{LICENSE,NOTICE,DISCLAIMER-WIP,BUILD}
${SOURCES_DIRECTORY_NAME}
#Creating ZIP
pushd ${SOURCES_DIRECTORY_NAME}
diff --git a/tools/zip-sources-files/BUILD b/tools/zip-sources-files/BUILD
index b78364f6..78ddfa04 100644
--- a/tools/zip-sources-files/BUILD
+++ b/tools/zip-sources-files/BUILD
@@ -1,33 +1,19 @@
Building Apache KIE
-There are two ways to build the KIE projects:
-
-Option 1: Using the Automated Build Script
-
-Run the provided build script (in case of windows you have to use WSL with
bash):
-- ./build.sh
-
-Option 2: Manual Step-by-Step Build
-
-If you prefer to build manually, follow these steps:
-
-Prerequisites
-- Temurin JDK 17.0.11
+Complete Environment Requirements
+- Temurin JDK 17
- Maven 3.9.11
-- GraalVM for JDK 17
-- Docker 25+
-- Python 3.12.5
-- Make 4.3+
-- Node 20
-- PNPM 9.3.0
-- Go 1.21.9
+- GraalVM CE 17
+- Docker 26.1.4+
+- Python 3
+- Make
+- Node 24.13.0+
+- PNPM 10.29.2
+- Go 1.24.13
- Helm 3.15.2
-Install Python packages:
-pip install cekit==4.11.0 docker==7.0.0 docker-squash==1.2.0
ruamel.yaml==0.18.5
-
Docker Configuration
-If using an alternative container runtime:
+If using an alternative container runtime, set DOCKER_HOST accordingly:
For Colima:
export DOCKER_HOST=unix://${HOME}/.colima/default/docker.sock
@@ -38,51 +24,36 @@ export DOCKER_HOST=unix://$HOME/.rd/docker.sock
For Podman:
export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock
+It is recommended to clean the local ~/.m2 repository, because its content
will be incorporated in some container images during the build.
+
Build Steps
-1. Build Drools:
+1. Build Drools (requires: JDK, Maven):
cd incubator-kie-drools
git init .
mvn clean install -DskipTests -Dfull -Donly.reproducible=true
cd ..
-2. Build OptaPlanner:
+2. Build OptaPlanner (requires: JDK, Maven):
cd incubator-kie-optaplanner
mvn clean install -DskipTests -Dfull -Donly.reproducible=true
cd ..
-3. Build Kogito Runtimes:
+3. Build Kogito Runtimes (requires: JDK, Maven):
cd incubator-kie-kogito-runtimes
mvn clean install -DskipTests -Dfull -Donly.reproducible=true
cd ..
-4. Build Kogito Apps:
+4. Build Kogito Apps (requires: JDK, Maven, GraalVM, Docker):
+Note: If using Podman, add: -Djib.dockerClient.executable=$(which podman)
cd incubator-kie-kogito-apps
mvn clean install -DskipTests -Dfull -Donly.reproducible=true
-Pjitexecutor-native
cd ..
-5. Build Kogito Images:
-cd incubator-kie-kogito-images
-cekit --descriptor kogito-base-builder-image.yaml build docker --platform
linux/amd64
-make build-image KOGITO_APPS_TARGET_BRANCH=main ignore_test=true
image_name=kogito-data-index-ephemeral
-make build-image KOGITO_APPS_TARGET_BRANCH=main ignore_test=true
image_name=kogito-data-index-postgresql
-make build-image KOGITO_APPS_TARGET_BRANCH=main ignore_test=true
image_name=kogito-jit-runner
-make build-image KOGITO_APPS_TARGET_BRANCH=main ignore_test=true
image_name=kogito-jobs-service-allinone
-make build-image KOGITO_APPS_TARGET_BRANCH=main ignore_test=true
image_name=kogito-jobs-service-ephemeral
-make build-image KOGITO_APPS_TARGET_BRANCH=main ignore_test=true
image_name=kogito-jobs-service-postgresql
-cd ..
-
-6. Build KIE Tools:
+5. Build KIE Tools (requires: JDK, Maven, Node, PNPM, Go, Python, Helm,
Docker, Make):
cd incubator-kie-tools
-git init .
git config user.name "Builder"
git config user.email "[email protected]"
-git add . && git commit -m "Initial commit"
-pnpm bootstrap
-export KIE_TOOLS_BUILD__runTests=false
-export KIE_TOOLS_BUILD__buildExamples=true
-export KIE_TOOLS_BUILD__buildContainerImages=true
-pnpm -r --workspace-concurrency=1 build:prod
+git init . && git add . && git commit -m "."
+pnpm bootstrap && KIE_TOOLS_BUILD__runTests=false
KIE_TOOLS_BUILD__buildExamples=true KIE_TOOLS_BUILD__buildContainerImages=true
pnpm -r --workspace-concurrency=1 build:prod
cd ..
-
-Note: The KIE Sandbox Quarkus Accelerator does not require building. The
source itself is the artifact.
diff --git a/tools/zip-sources-files/build.sh b/tools/zip-sources-files/build.sh
deleted file mode 100755
index 69d11c9e..00000000
--- a/tools/zip-sources-files/build.sh
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/bash
-# build.sh
-
-# Check required tools
-check_requirements() {
- local requirements=(
- "java:17.0.11"
- "mvn:3.9.11"
- "docker:25"
- "python3:3.12"
- "make:4.3"
- "node:20"
- "pnpm:9.3.0"
- "go:1.21.9"
- "helm:3.15.2"
- )
-
- echo "Checking requirements..."
- for req in "${requirements[@]}"; do
- IFS=':' read -r cmd version <<< "$req"
- if ! command -v "$cmd" &> /dev/null; then
- echo "ERROR: $cmd is not installed"
- exit 1
- fi
- done
-
- # Check Python packages
- pip3 install cekit==4.11.0 docker==7.0.0 docker-squash==1.2.0
ruamel.yaml==0.18.5
-}
-
-# Set Docker host based on container runtime
-setup_docker_host() {
- if command -v colima &> /dev/null; then
- export DOCKER_HOST="unix://${HOME}/.colima/default/docker.sock"
- elif command -v rancher &> /dev/null; then
- export DOCKER_HOST="unix://$HOME/.rd/docker.sock"
- elif command -v podman &> /dev/null; then
- export DOCKER_HOST="unix://$XDG_RUNTIME_DIR/podman/podman.sock"
- fi
-}
-
-# Build components
-build_components() {
- # Build Drools
- cd incubator-kie-drools || exit 1
- git init .
- mvn clean install -DskipTests -Dfull -Donly.reproducible=true
- cd ..
-
- # Build OptaPlanner
- cd incubator-kie-optaplanner || exit 1
- mvn clean install -DskipTests -Dfull -Donly.reproducible=true
- cd ..
-
- # Build Kogito Runtimes
- cd incubator-kie-kogito-runtimes || exit 1
- mvn clean install -DskipTests -Dfull -Donly.reproducible=true
- cd ..
-
- # Build Kogito Apps
- cd incubator-kie-kogito-apps || exit 1
- mvn clean install -DskipTests -Dfull -Donly.reproducible=true
-Pjitexecutor-native
- cd ..
-
- # Build Kogito Images
- cd incubator-kie-kogito-images || exit 1
- cekit --descriptor kogito-base-builder-image.yaml build docker --platform
linux/amd64
-
- local images=(
- "kogito-data-index-ephemeral"
- "kogito-data-index-postgresql"
- "kogito-jit-runner"
- "kogito-jobs-service-allinone"
- "kogito-jobs-service-ephemeral"
- "kogito-jobs-service-postgresql"
- )
-
- for image in "${images[@]}"; do
- make build-image KOGITO_APPS_TARGET_BRANCH=main ignore_test=true
image_name="$image"
- done
- cd ..
-
- # Build KIE Tools
- cd incubator-kie-tools || exit 1
- git init .
- git config user.name "Builder"
- git config user.email "[email protected]"
- git add . && git commit -m "Initial commit"
- pnpm bootstrap
- export KIE_TOOLS_BUILD__runTests=false
- export KIE_TOOLS_BUILD__buildExamples=true
- export KIE_TOOLS_BUILD__buildContainerImages=true
- pnpm -r --workspace-concurrency=1 build:prod
-}
-
-# Main execution
-main() {
- check_requirements
- setup_docker_host
- build_components
-}
-
-main "$@"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]