[RANCHER-1] [Doc] provide document for devops on maintaining scratch envs Created: 25/Feb/21  Updated: 21/Feb/22

Status: Draft
Project: rancher
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: P2
Reporter: Jakub Skoczen Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: devops-backlog, reviewed
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to FOLIO-3011 Create developer scratch environment ... Closed
Sprint:
Story Points: 2
Development Team: Kitfox

 Description   

We need documentation on how to maintain the scratch environments, incuding:

  • how to create a new scratch environment for a team and how to configure access for the team members
  • how to reset scratch environments to a known state (e.g initial state based on snapshot artifacts)
  • how to clean up scratch environments

John Malconian Wayne Schneider Ian Hardy Ankita Sen mark.stacy guys is there anything else that needs to be documented?

Preliminary create steps:

  • Build UI module via "Build-UI" Jenkins pipeline;
  • Define modules list;
    Delivery: backend( okapi-install.json), frontend(stripes-install.json)
    should be placed in platform-core/complete github branch;
  • Add that branch into Jenkins pipeline "Manage Scratch Environment ver 1.1" dropdown list by editing Jenkinsfile;
  • Choose team, platform version and branch name, create option and launch;
  • Planned: Choose UI docker image
  • Planned: Choose if "Create-Update-env" stage is required;

Possible issues:
1. modules registration can finish with error due to timeout
Resolution: replay pipeline
2. Error "finishConnect" during modules registration, OOM error
Resolution: Increase resources for module (90%), replay with commenting "sh "terraform apply -input=false tfplan" in Jenkins file



 Comments   
Comment by Jakub Skoczen [ 12/Apr/21 ]

Stanislav Miroshnichenko any chance you could put something together for this? Doesn't need to be much, just a basic stuff to get it started.

Generated at Thu Feb 08 23:25:09 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.