Deploy modules from json list

Deploy modules from json list

This article describes how to deploy modules from install json formatted list

The purpose of this job, is to give possibility for developers to deploy a set of modules

Job: deployModulesFromJson

Parameters

Parameter

Type

Description

Parameter

Type

Description

CLUSTER

list<string>

Name of cluster where project environment hosted

NAMESPACE

list<string>

Name of target environment where changes should be applied

CONFIG_TYPE

list<string>

Config for module deployment (cpu, memory, replica count, etc)

DEFAULT_TENANT_ID

string

Tenant id where module should be installed

INSTALL_JSON

text

Json formatted install list of modules

LOAD_REFERENCE

boolean

Set to true to load reference data during install

LOAD_SAMPLE

boolean

Set to true to load sample data during install

SIMULATE

boolean

Set to true to simulate installation before install

REINSTALL

boolean

Set to true to re-enable modules during install

IGNORE_ERRORS

boolean

Set to true to ignore errors during install

Steps

  1. Go to Jenkins

  2. Navigate to folioRancher -> folioDevTools -> moduleDeployment -> deployModulesFromJson

  3. Click Build with Parameters (if you didn't see this button, contact Kitfox team)

  4. Select parameters

    1. CLUSTER - Select name of the cluster where your rancher environment located

    2. NAMESPACE - Select name of target environment where module should be deployed

    3. CONFIG_TYPE - If needed select deployment config type

    4. DEFAULT_TENANT_ID - Set tenant id where module should be registered

    5. INSTALL_JSON - Type/Paste json formatted install list of modules

    6. LOAD_REFERENCE - Set to true if reference data needed

    7. LOAD_SAMPLE - Set to true if sample data needed

    8. SIMULATE - Set to true to simulate installation before install

    9. REINSTALL - Set to true if module should be reinstall (if same version already registered in okapi)

    10. IGNORE_ERRORS - Set to true to ignore errors during install

  5. Click Build button

  6. Wait for completion



Example