Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
-
21
-
Kitfox
Description
It is required to automate FOLIO set up in the Scratch dev environments.
If a developer needs to deploy a features/story for testing in the Scratch dev environment he could run a dedicated Jenkins job and provide the following:
- A tenantId
- a complete list of back-end modules required to set up the platform with the new functionality. For every module in the list the developer must provide either:
- Docker image repository and version number (latest is the possible value for the sake of simplicity). It will be used to launch an application
- Git repository and branch name. It will be used to build a jar file and docker image, and launch an application.
- The branch to use for the platform-complete deployment
As a result, a completely separate FOLIO platform must be deployed in the team’s project in Rancher.
- For every back-end module, a separate application must be launched. It must be registered as a separate deployment in OKAPI and enabled for the tenant provided within params.
- A new platform-complete application must be deployed using the branch provided
Once testing has been completed and the deployed platform is not needed any more there should be a dedicated Jenkins job intended for clean up. The developer has to provide just tenantId for that and all the applications launched by the previous Jenkins job will be removed as well as the DB schemas created during modules’ enablement for the tenant.
Attachments
Issue Links
- has to be done after
-
RANCHER-8 Create pipeline that updates Scratch environments
-
- Closed
-
- is duplicated by
-
FOLIO-2759 Improve terraform scripts to allow to setup FOLIO for several tenants
-
- Closed
-
-
FOLIO-2796 Create separate job on Rancher to run Users per-Setup script
-
- Closed
-
-
FOLIO-2806 Automate "Crate Users" script in the Rancher environments
-
- Closed
-
- relates to
-
RANCHER-190 Unified pipeline NG
-
- Closed
-
-
MODORDERS-427 Spike : Run-in of a new process for working with the team's environment
-
- Open
-
-
RANCHER-10 Set up multi-tenancy for Folijet
-
- Closed
-