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

Publish version of compiled targets #14

Open
sgettys opened this issue May 31, 2022 · 2 comments
Open

Publish version of compiled targets #14

sgettys opened this issue May 31, 2022 · 2 comments

Comments

@sgettys
Copy link
Contributor

sgettys commented May 31, 2022

I think it would be useful to compile and publish versioned tags of these targets so they can be ran directly from the binary without needing to have a local go file to run mage from. Ran into this use case when playing around with kind clusters in a different project that didn't have any go code in it and all that was needed was a reliable way to create a kind cluster.

Ex:


curl https://api.github.com/<repo/artifact...> -o mageutils

./mageutils EnsureTestCluster (or any other useful target)

Something like that...

@carolynvs
Copy link
Member

We could set up go-releaser and publish on tagged versions. 👍

For the name, I'd suggest picking something that isn't super generic to mage (e.g. mageutils) since everything in this repo is hyper-specific to Porter.

@carolynvs
Copy link
Member

Side note: Stuff like this makes me wish that porter had better ways to interact with the host. Because I feel like a lot of what you are asking for is something Porter would be great at if it had a way to auth/connect to the host.

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

No branches or pull requests

2 participants