otter icon indicating copy to clipboard operation
otter copied to clipboard

[Feature] Generate workspace with CI/CD capacity

Open kpanot opened this issue 1 year ago • 1 comments

Context

The generator of Otter project provide a way to have an empty workspace in which the different Application/Library/SDK can be added. Currently the Workspace is generated without Pipeline configuration.

Proposal

The workspace should be generated with basic CI/CD. This CICD generation schematics can be part of the workspace generator package/schematics or in an additional module.

This pipeline should contain the following items:

  • Cascading pipeline
  • Documentation regarding the branching strategy
  • UT and Linter check pipeline
  • Code Audit (including codeQL for Github)
  • Label auto apply (with label configuration file)
  • Package publication process

The following action should be added to the existing CI/CD by there dedicated package

  • IT environment setup (Verdaccio) and process run

The schematics should support several environments (Github, Azure DevOps, Bitbucket, etc...) but in only the implementation of Github Action is required for this task.

kpanot avatar Aug 28 '23 05:08 kpanot

Maybe add a parameter for the runner Update the .npmrc (with environment variables for the publish that should be created by the user)

sdo-1A avatar May 29 '24 08:05 sdo-1A