Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancements to GH Actions Pipeline #8

Open
mylesagray opened this issue Oct 28, 2022 · 1 comment · Fixed by #21, #18 or #22
Open

Enhancements to GH Actions Pipeline #8

mylesagray opened this issue Oct 28, 2022 · 1 comment · Fixed by #21, #18 or #22
Assignees
Labels
enhancement New feature or request maintenance Chores

Comments

@mylesagray
Copy link
Contributor

mylesagray commented Oct 28, 2022

Testing should be part of the pipeline for all PRs and commits to master - must pass with no errors to be merged/released.

https://stackoverflow.com/a/62882641/571593

Release pipeline should probably be two separate pipelines:

  • build - builds the application and container image, tags with latest and git SHA
  • release - tags an already-built container image with a static version number e.g: v0.0.1 for human readable releases

End to end pipeline should probably look something like this:

  • linting - Probably using autopep8 and pylint
  • testing - Using built in unittest/nose/pytest and calculate code coverage
  • vulns - Static code analysis & CVE scanning
  • build - Builds the app container image
  • vulns-image - Scan built image for CVEs
  • push - Push built image to repo
  • release - Manually triggered, or triggered with a push to a specific branch or tag to build a "released" image and creates a GitHub "Release"
@mylesagray
Copy link
Contributor Author

/reopen more to come :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment