-
-
Notifications
You must be signed in to change notification settings - Fork 635
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
Having preconditions without fail #275
Comments
I found a workaround using composer:
ignore_error: true
cmds:
- test -f composer.lock && composer update
npm:
ignore_error: true
cmds:
- test -f package-lock.json && npm update But this is not ideal, because I won't have any feedback if the task really fails. |
Hi @soullivaneuh, thanks for opening this issue! I'd say Perhaps if we introduced a new keywords called something like |
Hi @andreynering and sorry for the delay. Yes, this is perfectly what I'm looking for! It would be a great addition, opening multiple possibilities to go-task. Smart CI jobs can be written this way for example. 👍 If you want to learn more, here is the project I'm setting up : https://gitlab.com/nexylan/kmi/merge_requests/1 |
I like how ConcourseCI does this. It feels very natural and quite powerful: |
I think #608 would address this use case, so I'm closing this one. If anyone has thoughts, let me know. |
In order to make a project dependencies update tools, I'm interested by the
preconditions
options.It allow me to run the different dependencies managers if the condition are met:
But the way this option is working does not fit my needs. It fail immediately if one of the task as unmet condition:
I didn't find any option to solve this issue, so I guess it was designed for.
Would you consider an evolution about this?
Regards
The text was updated successfully, but these errors were encountered: