Deploying to Docker - Cloud - 8.0

Talend Software Development Life Cycle Best Practices Guide

Version
Cloud
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend JobServer
Talend Management Console
Talend Remote Engine
Talend Studio
Content
Administration and Monitoring
Deployment
Design and Development
Last publication date
2024-02-29

Configure the pipeline script provided by Talend to deploy your artifacts to Docker.

Procedure

  1. From the Jenkins home page, select TalendSimplePipeline.
  2. Click Build with Parameters on the left panel to open the pipeline configuration page.
  3. In the MVN_GOALS parameter, define the Maven phase you want to achieve, and make sure the profile stated is -Pdocker.
    For more information on the Maven phases, see the Maven documentation.
    Tip: All build profiles (-Pdocker, -Pnexus, etc.) are listed in the parent pom.xml file of your project. Some default parameters, like the Docker image name or the Open JDK name, can also be overwritten in this file.

    Example

    Parameter Example of default value
    MVN_GOALS
    deploy -Pdocker

    For examples of filters you can apply to the execution of your project items, see Filtering the execution of your project on selected artifacts.

  4. To define the Docker registry in which you want to deploy the project artifacts, edit the Docker credentials stated in the TALEND_CI_BUILD_OPTIONS parameter.

    Example

    Parameter Example of default value
    TALEND_CI_BUILD_OPTIONS
    -Dtalend.docker.name=cicd4talend 
    -Djkube.docker.push.registry=talenddockerregistry 
    -Djkube.docker.username=talenduser 
    -Djkube.docker.password=Talenddock3rpassw0rd

    allows you to deploy artifacts as the Docker image you have previously defined in the Docker registry of your choice.

  5. Click Build to take your changes into account and build your artifacts.