Replies: 1 comment 1 reply
-
Buildpacks, at least those currently provided by Paketo, aren't designed to replace your entire CI/CD system. Their primary focus is to build a production-grade container image. Given that, we'd expect the code to have been tested prior to the point at which buildpacks would create this image. If I think about it as being conceptually analogous to using a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been reading through the docs and I can't see a way to run custom commands for the golang buildpack.
In the nodejs buildpack you can specify specific commands to be run i.e
BP_NODE_RUN_SCRIPTS="test,lint"
which would allow us to fail the build if the unit tests failed.I can't see anything in the golang builder that would allow us to do this. Surely, as part of the build we should be checking that things like tests pass?
Beta Was this translation helpful? Give feedback.
All reactions