Deploy an Integration
Deploying builds an image from the source of the integration and rolls it out in an environment.
Use this guide to put an integration into an environment for the first time, or to move a verified version to the next environment.
Prerequisites
- An integration. See Create an integration.
- An environment with its Camel Integration Service activated and healthy.
Procedure
- Open the integration and choose Bind to environment.
- For a Git source, choose what to build: a branch in development, a release elsewhere.
- Add the settings the environment needs: property files, environment variables, compute resources.
- Choose Apply changes.
What happens
Applying an integration runs two phases. Knowing which phase failed tells you where to look.
| Phase | Work done | Fails on |
|---|---|---|
| Build | Maven resolves dependencies, the image is built and pushed to the registry of the environment | Unresolved dependency, source that does not compile, registry credentials |
| Rollout | The image is started with its settings | Missing property or file, memory limit, failing readiness |
A change of settings alone skips the build phase.
Point the next environment at the same release that was verified in the previous one. A branch may have moved in between.
Promotion across environments
Bind the same integration to the next environment and point it at the same release. Each environment builds and deploys on its own runtime plane, with its own settings.
Rollback Procedure
Each deployment is a revision. Roll back to an earlier revision from the page of the integration.
Verification
- The integration is running and ready.
- Its service answers inside the environment:
curl http://<integration>/<path>.
If not, see Builds and deployments.