Repository navigation
Opt-in Raider quality gate job in generated CI (3.9.0) - #162
Merged
Merged
Conversation
Both platform jobs upload to one build; without a shard total the gate froze on whichever finished first. iOS/Android now set RAIDER_SHARD_INDEX 1/2 and RAIDER_SHARD_TOTAL 2. The comment job also needs the gate job (still always()), so it carries the final gate line. README tells parallel jobs to set the shard env.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of feature 15 (quality gates), RaiderHQ/raider_saas#15. Releases 3.9.0. Requires raider_reporter 0.9.0, now on RubyGems.
What changes
raider-gateon GitHub,raider_gateon Azure. It runs only when the CI variableRAIDER_GATEis1, needs every test job, and runs on pushes and PRs. It runsbundle exec raider-reporter gatewithRAIDER_TOKEN,RAIDER_ENDPOINTand eitherGITHUB_TOKEN(withstatuses: write) orSYSTEM_ACCESSTOKEN.RAIDER_SHARD_INDEX1/2 andRAIDER_SHARD_TOTAL: 2, so the server waits for both platforms before computing the build's verdict. Without them, the gate could freeze on the first platform alone.raider_reporter ~> 0.9. Version 3.9.0.Tests
spec/integration+spec/systemagainst the published 0.9.0: 1166 examples, 0 failures, 1 pending.