Conductor Documentation

GitLab CI/CD

Studio Conductor can be used with GitLab CI/CD jobs, using Conductor Manager.

Make sure to read the general CI/CD Integration documentation for general concepts and terminology.

For more information about GitLab CI/CD refer to the GitLab CI/CD page.

Example

# .gitlab-ci.yml file
update-aws-deployment:
  rules:
    - changes:
        - inputs/inputs-aws.yaml
  image: cloudifyplatform/cloudify-cli:6.4.0
  variables:
    GIT_CHECKOUT: "true"
    INPUTS_FILE: "inputs/inputs-aws.yaml" # in inputs file from repo
    SKIP_INSTALL: "false"
    SKIP_UNINSTALL: "false"
    SKIP_REINSTALL: "false"
    INSTALL_FIRST: "false"
    OUTPUTS_FILE: "-"
    DELETE_OLD_BLUEPRINT: "false"
    LABELS: "-"
  script: >
    cfyci install-or-update 
    --name $AWS_EAAS_DEPLOYMENT_ID 
    --blueprint-id $EAAS_BLUEPRINT_ID 
    --delete-old-blueprint $DELETE_OLD_BLUEPRINT 
    --inputs-file $INPUTS_FILE 
    --labels $LABELS 
    --skip-install $SKIP_INSTALL 
    --skip-uninstall $SKIP_UNINSTALL 
    --skip-reinstall $SKIP_REINSTALL 
    --install-first $INSTALL_FIRST 
    --outputs-file $OUTPUTS_FILE
  tags:
    - docker

Extra variables need to be set:

Instructions how to set GitLab CI/CD variables.