@coweb/grading-endpoint

1.1.0 • Public • Published

COW: <component> / <subservice>

pipeline status coverage report

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 grading-endpoint 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!

Readme

Keywords

none

Package Sidebar

Install

npm i @coweb/grading-endpoint

Weekly Downloads

0

Version

1.1.0

License

GPL-3.0

Unpacked Size

21.4 kB

Total Files

4

Last publish

Collaborators

  • ozyinc