-
Notifications
You must be signed in to change notification settings - Fork 545
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(mocks): generate fakes and mocks in a container #564
feat(mocks): generate fakes and mocks in a container #564
Conversation
@@ -0,0 +1,9 @@ | |||
FROM golang:1.10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this not work correctly with 1.11?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't seem to for me.
Makefile
Outdated
@@ -117,26 +118,33 @@ codegen: | |||
$(CODEGEN) all $(PKG)/pkg/package-server/client $(PKG)/pkg/package-server/apis "packagemanifest:v1alpha1" | |||
|
|||
container-codegen: | |||
docker build -t olm:codegen -f codegen.Dockerfile . | |||
docker build -t olm:codegen -f mockgen.Dockerfile . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this still be codegen.Dockerfile
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup
75cb86a
to
0f8f406
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: njhale The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
feat(mocks): generate fakes and mocks in a container
Description
Adds the
container-mockgen
make rule for generating fakes and mocks in a container.