Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

ci: Build darwin tag builds on linux#921

Closed
camscale wants to merge 3 commits intomasterfrom
camh/tag-build-darwin-on-linux
Closed

ci: Build darwin tag builds on linux#921
camscale wants to merge 3 commits intomasterfrom
camh/tag-build-darwin-on-linux

Conversation

@camscale
Copy link
Copy Markdown
Contributor

Build the tag builds of the terraform provider and event-handler for
darwin on linux. These are pure Go programs so can easily be
cross-compiled using GOOS/GOARCH. The "tricky" part is the universal
binary, solved by using https://github.com/konoui/lipo - a Go version of
lipo (the tool that constructs universal binaries) that can run on
Linux.

Build the tag builds of the terraform provider and event-handler for
darwin on linux. These are pure Go programs so can easily be
cross-compiled using GOOS/GOARCH. The "tricky" part is the universal
binary, solved by using https://github.com/konoui/lipo - a Go version of
lipo (the tool that constructs universal binaries) that can run on
Linux.
Comment thread .drone.yml Outdated
@wadells
Copy link
Copy Markdown
Contributor

wadells commented Sep 21, 2023

I've tested this at:

Both look good.

I downloaded the universal terraform binary and checked it on my mac, as well as the amd64 eventhandler plugin:

walt@work plugins % ./teleport-event-handler/teleport-event-handler version
Teleport event handler v14.0.0 go1.21.1
walt@work plugins % ./terraform-provider-teleport version                  
This binary is a plugin. These are not meant to be executed directly.
Please execute the program that consumes these plugins, which will
load any plugins automatically

@camscale
Copy link
Copy Markdown
Contributor Author

Closing this in favour of #922

@camscale camscale closed this Sep 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants