-
Notifications
You must be signed in to change notification settings - Fork 18
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
Cirrus Config via Starlark #45
Comments
It will be also possible to expose helper functions like |
To be honest, I'm a fan of this approach, except for the proposed language. I feel like new users shouldn't need to learn a whole new language just to do advanced configuration. I feel like Python would work much better for this. |
Starlark is a deterministic subset of Python basically. 👌 |
|
Actually it does, but that is awful following of EP 8 |
Plus, let's give the ability to call GitHub APIs via |
* Remove run's --file command-line option It makes little sense now as we're introducing Starlark. * Basic Starlark support Resolves #45.
YAML is pretty limiting and doesn't allow easily to have custom logic and makes it harder to be concise in some cases.
It will be great to have an option to generate tasks via
.cirrus.star
written in Starlark.ctx
will includectx.env
for getting environment variables andctx.functions
to invoke helper functions while generating a set of tasks.The text was updated successfully, but these errors were encountered: