-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
Do not run clone step if no pipeline step will run #932
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
@qwerty287 #949 should make the whole pipeline functions way more readable :) |
After I tried this for a while, I was finally able to reproduce it and it looks like I found the issue: if a pipeline |
I pushed some commits that restore the old handling, but the issue is fixed. I also added a test to test the skipped clone. |
@woodpecker-ci/Maintainers Would be nice if you could review this PR :) |
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😆 It's still broken :/
to reproduce:
expect:
|
at some point I'll also have a look at this ... as I dislike how global pipeline filter do (internaly) work atm |
I had a look and debugged it as well a few days / maybe even weeks ago (sorry for that). I also experienced some issues with it while testing. In general this is pretty related to #770 and I would like to have a more generic way of checking dependencies and if a required pipeline (depends_on) failed / is existing at all. Having properties like |
So just close this and fix it later? |
Okay lets write down the cases again as I am not sure how you planned on handling each specific:
|
The corresponding
Yes, treated as successful.
Dependent pipelines are skipped as well. |
Nice. I have updated my comment.
I just checked it. The linter is not checking that a |
I'm going to close this. If somebody refactors the pipeline compiling, it would be good to look into this again. |
TODO:
Closes #778