-
Notifications
You must be signed in to change notification settings - Fork 0
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
Build all Erlang versions and upload to PackageCloud #6
Conversation
dotenv, a dependecy by fpm, requires modern ruby versions, install an old one to go around it
In a script, run by GH Actions.
Caused issues in Depot as it has arm64 nativly, but we still tried to cross compile
An alternative approach could be like we have done over at cloudamqp/rabbitmq-erlang where we have a workflow that can build a single version (in that case there, it is a version combo) and then we trigger multiple builds of that workflow. That would avoid long running builds, and make it more clear what version a certain build built, and easy to re-run individual builds. |
Yes, was thinking of that too but couldn't figure out a good way to trigger new jobs, only repository_dispatch. Depot.dev is also pretty fast and supports native arm64 builds. |
It would all live inside this repo so |
ok! can continue tmrw |
one workflow dispatch per image/erlang_version/platform? downside with that is that we will trigger a lot of workflows. alterantive is to use a matrix, so a single workflow but many jobs, but don't get how you can pass a hash to workflow_dispatch which then can be used as a |
can't limit the number of concurrent workflows afaik, and then we can run into issues with depot.dev.. |
It is a bit quirky but our workflow https://github.com/cloudamqp/rabbitmq-erlang/blob/4a7c65bf8505ce0bb70e95019345f9b6415774a8/.github/workflows/docker_http_trigger.yml#L3-L20 takes an array of hashes as input |
Ok, thanks! |
Used a multi step workflow instead, and |
no multi threading
show version first as it's easier in the GH action UI
but dist is required for packagecloud
In a script, run by GH Actions.