-
Notifications
You must be signed in to change notification settings - Fork 989
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 user-agent string #352
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
GOFLAGS ?= "-tags=${CLOUD_PROVIDER}" | ||
|
||
RELEASE_REPO ?= public.ecr.aws/b6u6q9h4 | ||
RELEASE_VERSION ?= v0.2.0 | ||
RELEASE_VERSION ?= $(shell git describe --tags --always --dirty) | ||
RELEASE_MANIFEST = releases/${CLOUD_PROVIDER}/manifest.yaml | ||
|
||
## Inject the app version into project.Version | ||
LDFLAGS ?= "-ldflags=-X=github.com/awslabs/karpenter/pkg/utils/project.Version=${RELEASE_VERSION}" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How do these get picked up. Don't we need something on line 8? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, line 8 already includes ${GOFLAGS} which includes the LDFLAGS since they are apart of the GOFLAGS. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
GOFLAGS ?= "-tags=${CLOUD_PROVIDER} ${LDFLAGS}" | ||
WITH_GOFLAGS = GOFLAGS=${GOFLAGS} | ||
WITH_RELEASE_REPO = KO_DOCKER_REPO=${RELEASE_REPO} | ||
|
||
|
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.
What on earth?
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.
https://twitter.com/tabqwerty/status/45611899953491968?lang=en