-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: Add CI & CD #7
Conversation
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
TODO: fossa needs `secrets.FOSSA_API_TOKEN`. openssf needs adding the labels to readme after first job run. Signed-off-by: Víctor Cuadrado Juan <[email protected]>
distroless/static gives us only: - no libc (fine, we static-compile) - ca-certificates - A /etc/passwd entry for a root user (which we don't use) - A /tmp directory - tzdata See: https://github.com/GoogleContainerTools/distroless/blob/main/base/README.md We could also go with scratch. Signed-off-by: Víctor Cuadrado Juan <[email protected]>
Do it by using a reusable workflow for the container build. Lifted from kubewarden-controller. Signed-off-by: Víctor Cuadrado Juan <[email protected]>
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
Change `area/dependencies` to trigger patch releases instead of minor ones. Signed-off-by: Flavio Castelli <[email protected]>
Looking at the TODOs:
I think we have nothing to do in that regard. The fossa token is a secret shared with all the GH workers of our organization.
I've created #9 to keep track of that
This isn't clear to me, I found only Lines 51 to 55 in 7f416af
Can you file an issue that provides more context please? |
on the linters removal before release, it's just the block that you pointed at, so I would be ok without an issue. We should grep for TODOs before release anyways. |
Description
Fix #5
Test
Yes please.
Additional Information
At the end, ended up lifting the approach from kubewarden-controller, with renaming.
Successful container build job run in my fork, https://github.com/viccuad/audit-scanner/pkgs/container/audit-scanner.
release-drafter needs its config in main prior to working.
Tradeoff
Potential improvement
TODO:
secrets.FOSSA_API_TOKEN