The Remote Engine is a key piece for executing components with Talend Pipeline Designer. To customize it for testing purposes, a helper tool is available.
Important
|
The following content and the tool it describes are not officially supported as a Talend Cloud feature and are provided "as it" without any guarantee. |
The remote-engine-customizer
is a simple tool that reads the Remote Engine docker-compose.yml
file, extracts the connectors
image and rebuilds it adding configured connectors to the image.
By default, it replaces the original image with the newly built one and saves the old file in the .remote_engine_customizer/backup/
directory of the Remote Engine.
The customizer is provided as a docker container.
You can run the tool using the register-component-archive
command:
docker run tacokit/remote-engine-customizer:${version} \
register-component-archive [options]
You can get more details about the tool with the following command:
docker run tacokit/remote-engine-customizer:${version} help
Tip
|
You can find out all the available versions at https://hub.docker.com/r/tacokit/remote-engine-customizer/tags. |
The command accepts the following parameters:
link:{partialsdir}/generated_remote-engine-customizer-help.adoc[role=include]
When running using the docker container, you must mount several files/folders. For example:
docker run \
-v /opt/talend/pipeline-remote-engine/:/opt/talend/pipeline-remote-engine/ \ (1)
-v /opt/talend/downloads_exchange/:/opt/talend/downloads_exchange/ \ (2)
-v /var/run/docker.sock:/var/run/docker.sock \ (3)
tacokit/remote-engine-customizer:${version} \
register-component-archive \
--remote-engine-dir=/opt/talend/pipeline-remote-engine/
--component-archive=/opt/talend/downloads_exchange/mailio-1.0.0.car
-
Mount the Remote Engine folder to let the docker image read and modify it.
-
Mount the folder hosting your local component if you want the Docker image to be able to use it.
-
Mount the docker daemon to let the program create a new docker image on the host.
Important
|
Once you have built the new image, you must restart the Remote Engine.
You can verify that the new image is available by running docker run --entrypoint sh -it [newimage] before.
|