Refactor and simplify scripts
Description
This MR does a number of things -
- Re-organize GitLab jobs, variables to increase reusability.
- Sync Tutor env directory during Merge Request MR.
- Refactor tools-container scripts for reusability and simplicity.
- Refactor wrapper code to keep the difference between local and CI at a minimum.
- Re-organize the General TODO and Shared TODO section in README for better progress visibility.
Supporting information
https://tasks.opencraft.com/browse/BB-4550
Testing instructions
To test GitLab CI Jobs, you can either create a repo and test the whole flow.
Or
Check the following Job logs (I don't have fork permission in opencraft/dev
group :| and not being able to add you on my personal fork) - mr-create-job.txt and deployment-job.txt. And then check the running cluster in digitalocean.
And to test local commands, you can fork the private repo and try to run commands locally.
Deadline
ASAP - Adding new functionality should be based on this.
Other information
Reviewer
Edited by Piotr Surowiec