-
Notifications
You must be signed in to change notification settings - Fork 2
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
add performance tests for namespace-lister #38
Conversation
0e8d120
to
5e927b0
Compare
@@ -6,7 +6,7 @@ ARG TARGETARCH | |||
WORKDIR /namespace-lister | |||
|
|||
# Copy the Go Modules manifests | |||
COPY go.mod go.sum . | |||
COPY go.mod go.sum ./ |
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.
I don't see a difference in behavior - why is this needed?
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.
I applied a fix for a complaint from my linter. When multiple files are copied, it's best practice to explicitly declare a folder.
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.
Then maybe we should have something like this?
COPY go.mod go.sum ./ | |
COPY go.mod go.sum /namespace-lister/ |
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.
we are already setting the WORKDIR to /namespace-lister
. I'd prefer this to remain relative to the WORKDIR
Signed-off-by: Francesco Ilario <[email protected]>
Signed-off-by: Francesco Ilario <[email protected]>
Signed-off-by: Francesco Ilario <[email protected]>
Signed-off-by: Francesco Ilario <[email protected]>
Signed-off-by: Francesco Ilario <[email protected]>
Signed-off-by: Francesco Ilario [email protected]