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

[teleport-update] Add Makefile build target #48531

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

vapopov
Copy link
Contributor

@vapopov vapopov commented Nov 6, 2024

In this PR added build target for teleport-update binary

@vapopov vapopov added the no-changelog Indicates that a PR does not require a changelog entry label Nov 6, 2024
@vapopov vapopov requested review from sclevine and hugoShaka November 6, 2024 17:43
@github-actions github-actions bot requested review from gzdunek and nklaassen November 6, 2024 17:44
Makefile Outdated
@@ -395,6 +395,10 @@ $(BUILDDIR)/tbot: BUILDFLAGS_TBOT += $(if $(TBOT_CGO_FLAGS), -buildmode=pie)
$(BUILDDIR)/tbot:
GOOS=$(OS) GOARCH=$(ARCH) $(TBOT_CGO_FLAGS) go build -tags "$(FIPS_TAG) $(KUSTOMIZE_NO_DYNAMIC_PLUGIN)" -o $(BUILDDIR)/tbot $(BUILDFLAGS_TBOT) ./tool/tbot

.PHONY: $(BUILDDIR)/teleport-update
$(BUILDDIR)/teleport-update:
GOOS=$(OS) GOARCH=$(ARCH) $(CGOFLAG) go build -o $(BUILDDIR)/teleport-update $(BUILDFLAGS) ./tool/teleport-update
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this binary require CGO? If not, should we enforce that by always setting CGO_ENABLED=0 here?

@vapopov vapopov added this pull request to the merge queue Nov 6, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 6, 2024
@vapopov vapopov added this pull request to the merge queue Nov 6, 2024
Merged via the queue into master with commit 53cc181 Nov 6, 2024
39 checks passed
@vapopov vapopov deleted the vapopov/add-build-teleport-update-makefile branch November 6, 2024 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants