-
Notifications
You must be signed in to change notification settings - Fork 23
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
isolate remote zeitgeist functionality/dependencies to separate command/package #547
Conversation
/assign @justaugustus @saschagrunert |
/approve Making the CI work for both binaries would be cool to have. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, saschagrunert 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 |
/hold until release questions are resolved |
it makes sense for the artifacts we build/release to contain the remote functionality... I'm not very familiar with the release setup here, so I took a stab at changes in the last commit but those need close review |
will take a look on this tomorrow (06/jun/2023) |
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.
lgtm
just a small nit
go build -trimpath -ldflags "$(LDFLAGS)" -o ./output/zeitgeist . | ||
# build remote version | ||
go build -trimpath -ldflags "$(LDFLAGS)" -o ./output/zeitgeist ./remote/zeitgeist |
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.
go build -trimpath -ldflags "$(LDFLAGS)" -o ./output/zeitgeist ./remote/zeitgeist | |
go build -trimpath -ldflags "$(LDFLAGS)" -o ./output/zeitgeist-remote ./remote/zeitgeist |
otherwise it will overwrite the build that is done above
@saschagrunert one question to double check, should we build both binaries and images for the local and remote one? or when we release we just build the full one? cc @kubernetes-sigs/release-engineering |
I think we can only build the full one since it contains all the features. |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@liggitt i will take this over to rebase and fix the conflicts if you are okay with that |
sgtm, thanks |
@liggitt: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
will close this in favor of #854 |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Isolates remote functionality into a subpackage and separate command, so that downstreams relying on the main zeitgeist command to verify local files only don't take dependencies on large numbers of remote libraries (github, gitlab, aws, etc).
My scans of in-project use looked like we only relied on the local dependencies.yaml with no upstreams specified (xref #543 (comment))
Which issue(s) this PR fixes:
xref #543
Best reviewed commit-by-commit
Does this PR introduce a user-facing change?