Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
tgstation-server-ci[bot] committed Sep 19, 2024
2 parents 902863c + 6ed3d82 commit d8aa878
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1577,6 +1577,7 @@ jobs:
run: dotnet release_notes_bins/Tgstation.Server.ReleaseNotes.dll --winget-template-check ${{ steps.get-sha.outputs.pr_template_sha }}

ci-completion-gate:
if: always() && !cancelled()
name: CI Completion Gate
needs:
[
Expand All @@ -1592,8 +1593,10 @@ jobs:
]
runs-on: ubuntu-latest
steps:
- name: Mandatory Empty Step
run: exit 0
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@223e4bb7a751b91f43eda76992bcfbf23b8b0302
with:
jobs: ${{ toJSON(needs) }}

deployment-gate:
name: Deployment Start Gate
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/scripts/rerunFlakyTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const CONSIDERED_STEP_PREFIXES = [
const CONSIDERED_JOBS = [
"Windows Live Tests",
"Linux Live Tests",
"Build .deb Package"
"Build .deb Package",
"CI Completion Gate"
];

async function getFailedJobsForRun(github, context, workflowRunId, runAttempt) {
Expand Down Expand Up @@ -38,7 +39,7 @@ export async function rerunFlakyTests({ github, context }) {
context.payload.workflow_run.run_attempt
);

if (failingJobs.length > 3) {
if (failingJobs.length > 4) {
console.log("Many jobs failing. PROBABLY not flaky, Will not re-run.");
return;
}
Expand Down

0 comments on commit d8aa878

Please sign in to comment.