@coweb/test-project v1.0.5
COW: \<component> / \<subservice>
In order to create a new subservice:
1. Create project in GitLab
2. Pull project to your local development branch
3. Copy and paste this project (except .git
directory) to the newly created project
4. Rename every test-project
you see in the files to either component-subservice
or indicate otherwise.
5. git commit -am "feat: initial commit"
6. git push
7. Open project in GitLab and go to Settings -> CI/CD
Under General Pipelines change Test Coverage Parsing to : `All files\s|\s(\d+).`
Under Runners activate COW Runner for your project
Under Variables add Protected variables of:
GL_TOKEN : <copy from this project's settings>
NPM_TOKEN : <copy fron this project's settings>
IMPORTANT: Do not commit these values to Git
* TODO: We actually have to move this to runner's Kubernetes secrets
8. Delete these steps and write something meaningful that explains the purpose of the subservice.
9. Start coding!