Skip to content
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

Merged
merged 7 commits into from
Jan 28, 2025

Conversation

filariow
Copy link
Member

Signed-off-by: Francesco Ilario [email protected]

@filariow filariow requested a review from sadlerap January 24, 2025 17:44
@filariow filariow force-pushed the perf-test branch 8 times, most recently from 0e8d120 to 5e927b0 Compare January 27, 2025 13:48
@@ -6,7 +6,7 @@ ARG TARGETARCH
WORKDIR /namespace-lister

# Copy the Go Modules manifests
COPY go.mod go.sum .
COPY go.mod go.sum ./
Copy link
Collaborator

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?

Copy link
Member Author

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.

Copy link
Collaborator

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?

Suggested change
COPY go.mod go.sum ./
COPY go.mod go.sum /namespace-lister/

Copy link
Member Author

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

Makefile Outdated Show resolved Hide resolved
@filariow filariow merged commit e42c2f4 into konflux-ci:main Jan 28, 2025
9 checks passed
@filariow filariow deleted the perf-test branch January 28, 2025 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants