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

infra: Fix faster CI never being true #173

Merged
merged 6 commits into from
Oct 25, 2023
Merged

infra: Fix faster CI never being true #173

merged 6 commits into from
Oct 25, 2023

Conversation

WarningImHack3r
Copy link
Member

@WarningImHack3r WarningImHack3r commented Oct 24, 2023

#159 did indeed make the CI faster, but also made it always faster: the conditions to actually use the "slow" steps seem to never be true.

It's weird because the bash script is correct but the output is not. Continuing investigating. Update: I'm just dumb, the bug wasn't from the scripts but rather from the incorrect usage of the output variables...

Additional changes

  • Fix conditions being overcomplicated
  • Add logs to debug easier
  • Break from loops whenever a condition is already met

@WarningImHack3r WarningImHack3r marked this pull request as ready for review October 24, 2023 23:09
@WarningImHack3r WarningImHack3r requested a review from a team as a code owner October 24, 2023 23:09
@WarningImHack3r WarningImHack3r merged commit d6d32b0 into main Oct 25, 2023
5 checks passed
@WarningImHack3r WarningImHack3r deleted the faster-ci-fix branch October 25, 2023 08:04
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

Successfully merging this pull request may close these issues.

2 participants