Table of Contents |
---|
Info | ||
---|---|---|
| ||
Pattern for tenant UI: https://<cluster-name>-<project-name>-<tenant-name>.ci.folio.org |
This article describes how to deploy ui bundle on rancher environment
Job: Deploy UI
Parameters
Parameter | Type | Description |
---|---|---|
CLUSTER | list<string> | (Required) Select cluster |
NAMESPACE | list<string> | (Required) Select cluster namespace |
FOLIO_REPOSITORY | list<string> | Repository from which UI bundle should build |
FOLIO_BRANCH | list<string> | (Required) Select what 'platform-complete' branch use for build UI bundle |
TENANT_ID | string | Tenant id used for UI bundle creation |
UI_BUNDLE_BUILD | boolean | True if new UI bundle should be created. False if UI_BUNDLE_TAG parameter should be used |
UI_BUNDLE_TAG | list<string> | Choose image tag for UI |
CUSTOM_HASH | string | (Optional) Commit hash for UI bundle build from specific commit |
CONSORTIA | boolean | (Optional) If True consortia tenant should be added to UI bundle |
To update UI bundle you should know in what cluster you environment located. See Projects(Namespaces) page.
...
- Go to Jenkins
- Navigate to folioRancher -> folioDevTools -> uiManagement -> deployUI -> deployUI
- Click Build with Parameters (if you didn't see this button, contact Kitfox team)
- Select parameters
- rancher_cluster_name CLUSTER - Select name of the cluster where your rancher environment located
- rancher_project_name NAMESPACE - Select name of target environment
- FOLIO_REPOSITORY - Select repository from which ui bundle should build (platform-complete or platform-core)
- FOLIO_BRANCH - Select branch from which ui bundle _tag - If you should build
- TENANT_ID - Set correct tenant id for which this ui bundle should be used
- UI_BUNDLE_BUILD - If you want build and deploy new ui bundle then set this parameter to true
- UI_BUNDLE_TAG - If you previously build ui bundle image or you want to rollback, then select it's name from drop-down list and leave next ui_bundle_build parameter as falseui
- CUSTOM_bundle_build - If you want build and deploy new (fresh) ui bundle then set this parameter to true
- folio_repository - Select repository from which ui bundle should build (platform-complete or platform-core)
- folio_branch - Select branch from which ui bundle should build
- tenant_id - Set correct tenant id for which this ui bundle should be usedHASH - Commit hash for UI bundle build from specific commit
- CONSORTIA - If True consortia tenant should be added to UI bundle, in case of creation new UI bundle.
- Click Build button
- Wait for completion
...
...
Example
...