Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

This article describes how to deploy/update build ui bundle on rancher environment

Job: ui-bundle-deploy Build UI

Parameters

Tenant id for which UI bundle should build
ParameterTypeDescription
refresh_parametersCLUSTERbooleanService parameter for parameters refreshing
rancher_cluster_namelist<string>Name of cluster where project environment hosted
rancher_project_namelist<string>Name of environment which changes should be applied
ui_bundle_taglist<string>Name of UI bundle that already builded with UI-Build job
ui_bundle_buildbooleanTrue if new UI bundle should be created. False if ui_bundle_tag parameter should be used
folio_repositorylist<string>Repository from which UI bundle should build
folio_branchlist<string>Branch of selected repo from which UI bundle should build
tenant_idstringlist<string>(Required) Select cluster
NAMESPACElist<string>

(Required) Select cluster namespace

FOLIO_REPOSITORYlist<string>Repository from which UI bundle should build
FOLIO_BRANCHlist<string>

(Required) Select what 'platform-complete' branch use for build UI bundle

TENANT_IDstringTenant id used for UI bundle creation
CUSTOM_HASHstringCommit hash for UI bundle build from specific commit
CONSORTIAbooleanIf 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.

Steps

...

  1. Go to Jenkins
  2. Navigate to Rancher → Update → ui-bundle-deploy folioRancher -> folioDevTools -> uiManagement -> buildUI -> buildUI
  3. Click Build with Parameters (if you didn't see this button, contact Kitfox team)
  4. Select parameters
    1. rancher_cluster_name CLUSTER- Select name of the cluster where your rancher environment located
    2. rancher_project_name - Select name of target environment
    3. ui_bundle_tag - If you previously build ui bundle image or you want to rollback, then select it name from drop-down list and leave next ui_bundle_build parameter as false
    4. ui_bundle_build - If you want build and deploy new (fresh) ui bundle then set this parameter to true
    5. folio_repository - Select repository from which ui bundle should build (platform-complete or platform-core)
    6. folio_branch - Select branch from which ui bundle should build
    7. tenant_id - Set correct tenant id for which this ui bundle should be used
    8. NAMESPACE - Select cluster namespace
    9. FOLIO_REPOSITORY - Repository from which UI bundle should build
    10. FOLIO_BRANCH - Select what 'platform-complete' branch use for build UI bundle
    11. TENANT_ID - Tenant id used for UI bundle creation
    12. CUSTOM_HASH - Commit hash for UI bundle build from specific commit
    13. CONSORTIA - If True consortia tenant should be added to UI bundle
  5. Click Build button
  6. Wait for completion

Example

ExampleImage RemovedImage Added