Name: kie-docker-ci-images
Owner: KIE (Drools, OptaPlanner and jBPM)
Description: Docker images used for CI (Continues Integration) and testing
Created: 2015-08-31 16:31:56.0
Updated: 2018-05-23 11:44:21.0
Pushed: 2018-05-23 11:44:20.0
Homepage: null
Size: 250
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This project is used to achieve a lightweight continuous integration system for our daily development. It Dockerizes some KIE applications and runs them in a Docker containers.
Project's modules are:
kie-jboss-modules
- Generates and assemblies the MySQL and PostgreSQL database modules for WildFlykie-wb
- Builds and runs the KIE Workbench
Docker image with latest build from master branch.kie-drools-wb
- Builds and runs the KIE Drools Workbench
Docker image with latest build from master branch.kie-server
- Builds and runs the KIE Execution Server
Docker image with latest build from master branch.kie-artifacts
- Deploy all the Maven artifacts used for all the previous applications into an specified local filesystem path, were they can be later consumedThe integration between Maven and Docker is done using the docker-maven-plugin
that you can find at GitHub.
The KIE Workbench
, KIE Drools Workbench
, KIE Execution Server
modules are used to build the Docker image for each application.
IMPORTANT NOTE
This images are quite different from the official community ones, that you can find at:
The images from this project are more complex and intended for achieving continuous integration testing purposes, so they have additional features (not included in the community ones) such as:
Final
releasesroot
accessSo having in mind all these previous considerations, if just want to run/try any KIE application it's recommended to use the official community ones presented above. This images are more complex and uses latest SNAPSHOT versions for building the images, so images can not be stable at all.
The build process for this project consist of the following steps:
kie-jboss-modules
)KIE Workbench
, KIE Drools Workbench
, KIE Execution Server
)KIE Workbench
, KIE Drools Workbench
, KIE Execution Server
using latest SNAPSHOT versions from both master
and product
branchesThe following Maven properties can be specified for customizing the Maven build endpoints, versions, etc:
docker.daemon.rest.url
- The URL for the Docker daemon REST API. Defaults to http://localhost:2375
.docker.registry
- The URL for the docker registry, if push is enabled on build (currently disabled). Defaults to localhost:5000
.docker.kie.repository
- The repository name for the generated images. Defaults to jboss-kie
.kie.artifacts.deploy.path
- The target local path on filesystem where artifacts used in the build process will be deployed. Defaults to /tmp/kie-artifacts
.Some Maven profiles are available for customizing the build process:
all
- Activated by default and using system property all
. This profile includes all the project's submodules.kie-wb
- Activated using system property kie-wb
. This profile includes only the build for kie-jboss-modules
and kie-wb
.kie-drools-wb
- Activated using system property kie-drools-wb
. This profile includes only the build for kie-jboss-modules
and kie-drools-wb
.kie-server
- Activated using system property kie-server
. This profile includes only the build for kie-jboss-modules
and kie-server
.kie-artifacts
- Activated using system property kie-artifacts
. This profile includes only the build for kie-artifacts
.You can run the complete build using:
mvn clean install -DskipTests
You can run the build only for KIE Workbench using:
mvn clean install -P !all,kie-wb
You can run the build only for KIE Drools Workbench using:
mvn clean install -P !all,kie-drools-wb
You can run the build only for KIE Execution Server using:
mvn clean install -P !all,kie-server
You can run the build only for deploying KIE Maven artifacts using:
mvn clean install -P !all,kie-artifacts
NOTE: There exist some helper scripts to perform common maintenance tasks and run more complex builds located at source folder `/scripts'. Feel free to take a look at them.
Docker version 1.6.2, build ba1f6c3/1.6.2
in a Red Hat Enterprise Linux version 7