Enhancements to GH Actions Pipeline #8
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
maintenance
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kharms-dev/discord-power-bot#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 withlatestand git SHArelease- tags an already-built container image with a static version number e.g:v0.0.1for human readable releasesEnd to end pipeline should probably look something like this:
linting- Probably usingautopep8andpylinttesting- Using built inunittest/nose/pytestand calculate code coveragevulns- Static code analysis & CVE scanningbuild- Builds the app container imagevulns-image- Scan built image for CVEspush- Push built image to reporelease- Manually triggered, or triggered with a push to a specific branch or tag to build a "released" image and creates a GitHub "Release"/reopen more to come :)