Copy Deploy/Update modules
This article describes how to deploy and enable modules from install json formatted list
The purpose of this job, is to give possibility for developers to update a set of modules
Parameters
Parameter | Type | Description |
---|---|---|
refresh_parameters | boolean | Service parameter for parameters refreshing |
rancher_cluster_name | list<string> | Name of cluster where project environment hosted |
rancher_project_name | list<string> | Name of target environment where changes should be applied |
config_type | list<string> | Config for module deployment (cpu, memory, replica count, etc) |
install_json | text | Json formatted install list of modules |
enable_modules | boolean | True if module should be registered in okapi, false if only deploy without registration |
tenant_id | string | Tenant id where module should be installed |
admin_username | string | Tenant admin user name |
admin_password | secure string | Tenant admin user password |
load_reference | boolean | True if reference data should be loaded during provisioning |
load_sample | boolean | True if sample data should be loaded during provisioning |
reinstall | boolean | True if force reinstall needed |
reindex_elastic_search | boolean | True if elasticsearch reindex needed |
recreate_elastic_search_index | boolean | True if elasticsearch index should be recreated |
Steps
- Go to Jenkins
- Navigate to Rancher → Update → backend-modules-deploy
- Click Build with Parameters (if you didn't see this button, contact Kitfox team)
- Select parameters
- rancher_cluster_name - Select name of the cluster where your rancher environment located
- rancher_project_name - Select name of target environment where module should be deployed
- config_type - If needed select deployment config type
- install_json - Type/Paste json formatted install list of modules
- enable_modules - Set to true if module should be registered, to false if module should be only deployed without registration in okapi
- tenant_id - Set tenant id where module should be registered
- admin_username - Set tenant admin username
- admin_password - Set tenant admin password
- load_reference - Set to true if reference data needed
- load_sample - Set to true if sample data needed
- reinstall - Set to true if module should be reinstall (if same version already registered in okapi)
- reindex_elastic_search - Set to true if elasticsearch reindex needed
- recreate_elastic_search_index - Set to true if elasitcsearch index should be recreated
- Click Build button
- Wait for completion