Commit Graph
8 Commits
Author SHA1 Message Date
dotCooCoo 1bc0c5ba78 CI: analyze main in SonarCloud only at the nightly's commit
SonarCloud ran a full instrumented analysis for every merge commit on main
(about 90 a day, 97 to 191 minutes each). Stage 2 only reads the analysis
of the commit the nightly builds, so main is now analyzed once a day:

- sonarcloud.yml drops the push trigger and starts when the unsigned
  nightly starts (workflow_run, requested). A first job fails the run when
  main has moved past the nightly's commit, so the analysis is never of
  another commit. Pull request analysis is unchanged.
- nightly-dispatch.yml waits, for up to 280 minutes, for the SonarCloud
  check on the producer's commit to complete before it dispatches the
  signer. A SonarCloud run that ended without a check stops the wait after
  20 minutes. The job gains checks: read and a 300-minute timeout.
- packaging/nightly-release-tests.py runs the dispatch script against a
  fake API: it dispatches only after the check completes, and refuses when
  the SonarCloud run ended without one or when the deadline passes.
- docs/nightly-release-preparation.md describes both workflows.
2026-12-05 08:06:12 -08:00
FredApps 88e12f37e3 Merge pull request #10128 from storytold/ci/rpm-release-smoke
Validate release RPM installation and GUI startup on target distributions
2026-11-30 05:04:55 +01:00
Codex bcd1fcac61 Harden RPM smoke lifecycle and cover failure paths 2026-11-29 23:58:30 +01:00
Dylan M. Taylor a3b93d585b ci(sonarcloud): give each main commit its own concurrency group (#10126) 2026-11-29 15:57:37 -05:00
Dylan M. Taylor d4d8da4544 chore(ci): allow manual workflow_dispatch for SonarCloud (#10070) 2026-11-29 06:43:03 -05:00
FredApps 5022ba5593 ci: note the shared SonarCloud archive job cap
The reusable workflow now defaults build-jobs to 2 so a cold instrumented
archive stays within hosted-runner memory (craft-common-actions#333).
2026-11-23 03:21:18 +01:00
Dylan M. Taylor c4fba30b9c ci(sonar): don't cancel superseded runs on main, so coverage is published (#3881) 2026-10-23 16:51:11 -04:00
Dylan M. Taylor a4c21343bb ci: add SonarCloud scan via shared reusable workflow
Calls storytold/craft-common-actions/.github/workflows/sonarcloud.yml@main
with secrets: inherit. Adds SonarCloud badge to README where missing and
removes the redundant sonar-project.properties (config now passed by the
reusable workflow).
2026-10-21 15:47:07 -04:00