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

Be able to provide different settings (paths) for different types (cron, pr, push) of builds #83

Open
yarikoptic opened this issue Jun 9, 2021 · 0 comments

Comments

@yarikoptic
Copy link
Member

I do not have yet a good idea on how we should enable that. Probably some way to establish conditionals for values, e.g.

path[type=pr]: {common}/{type}-{type_id}
path[type=cron]: {common}/{type_id}

or probably cleaner to make types: [cron, pr, push] into

types:
  cron: 
    ci: ... and all what could be specified there
  pr:
   ...
  push:
   ...

or alike (cons: might lead to needing to duplicate, in particular when e.g. both pr and push could have the same config).

But kept thinking that flexibility is desired while test driving it on datalad/git-annex where most of the jobs are cron, and we do not care about {build_commit} since it doesn't correspond to commit in git-annex anyways and nearly always the same (unless we add a patch etc), as we would care for a PR.

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

1 participant