Building and deploying from a CI/CD stack
You might want to share your decision services on an environment where you can develop,
test, deploy, and execute them in a continuous way.
Before you begin
Having a dedicated CI/CD stack means that your decision automations are connected to a remote Git repository (remote repository). For more information about connecting to a remote repository, see Connecting to a remote repository automatically or Connecting to a remote repository manually.
About this task
You can use a continuous integration and delivery (CI/CD) stack to manage your builds and deployments.
For that, you need the following minimum requirements:
- A Git server where you deploy the decision service source files.
- A Git client to fetch the decision service source files and build them.
- A settings.xml file (~/.m2/settings.xml) whose sections repositories and pluginRepositories point to the artifact repository.
- An artifact repository to host the decision build Maven plug-in and the artifacts that are generated for external libraries.
Note: If you do not have your own artifact repository in place, you can find a sample
implementation on GitHub, https://github.com/icp4a/automation-decision-services-ci-cd-stack
, for you to install and use.