getporter / magefiles Goto Github PK
View Code? Open in Web Editor NEWMagefile helpers for porter repositories
Home Page: https://getporter.org
License: Apache License 2.0
Magefile helpers for porter repositories
Home Page: https://getporter.org
License: Apache License 2.0
Right now we have a mage target that installs porter:
But it grabs the "latest" version, which is a v0.38.* release. It would be great to have a target, like EnsurePorterAt(version string)
that let's you get a specific version of porter so that mixins and plugins that install porter for testing can pick a prerelease version instead.
Let's add some common functions to get plugins and mixins.
Originally posted by @carolynvs in getporter/operator#98 (comment)
Now that magex supports installing into a local directory (for direct downloads, not installing from the go package), we can start installing necessary tools into a local directory, like bin/ or tools/. That will give us more control over how the tools are resolved, and which version we want to use without altering anyone's system.
Instead of having each mixin/plugin add a workaround to the apple silicon copy bug, we could add a helper function like ReplaceBinary/Dir
that runs a rm before doing a copy.
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...
Line 89 in 7001d7f
Using XBuildAll
to build a plugin tries to publish to a mixin directory structure.
Should thePlublishMixinForPublish
be relocated to the mixins package or perhaps a plugins package?
Current kind is at v0.12.0 and will create clusters at v1.23. Updating kind to v0.20.0 will create clusters at v1.27.3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.