Deploy modules from json list
- 1 Parameters
- 2 Steps
- 3 Example
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
Parameters
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
Go to Jenkins
Navigate to folioRancher -> folioDevTools -> moduleDeployment -> deployModulesFromJson
Click Build with Parameters (if you didn't see this button, contact Kitfox team)
Select parameters
CLUSTER - Select name of the cluster where your rancher environment located
NAMESPACE - Select name of target environment where module should be deployed
CONFIG_TYPE - If needed select deployment config type
DEFAULT_TENANT_ID - Set tenant id where module should be registered
INSTALL_JSON - Type/Paste json formatted install list of modules
LOAD_REFERENCE - Set to true if reference data needed
LOAD_SAMPLE - Set to true if sample data needed
SIMULATE - Set to true to simulate installation before install
REINSTALL - Set to true if module should be reinstall (if same version already registered in okapi)
IGNORE_ERRORS - Set to true to ignore errors during install
Click Build button
Wait for completion