• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

redhat-openshift-ecosystem / openshift-preflight / 37334527603
100%

Build:
DEFAULT BRANCH: main
Ran 05 Oct 2026 03:40PM UTC
Jobs 1
Files 66
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Oct 2026 03:38PM UTC coverage: 100.0%. Remained the same
37334527603

push

github

acornett21
check container: copy preflight.log into offline artifacts tar (CERTSA-78)

root.go's preRunConfig writes the offline log file once to the top-level
--artifacts directory, while the offline tar step only tars the
platform-specific subdirectory - so preflight.log was silently excluded
from every real --offline artifacts.tar, even though
submit-offline-artifacts requires it alongside cert-image.json/
results.json/rpm-manifest.json to submit results to Red Hat.

Add copyPreflightLogIntoDir, called from checkContainerRunE's offline
tar step, to copy the log into the platform-specific directory before
artifactsTar() is invoked. The log is always written as DefaultLogFile
(preflight.log) in the tar regardless of what --logfile was set to,
since submit-offline-artifacts and other consumers expect to find it by
that exact name. The destination file's permissions are explicitly set
to 0o600 via Chmod (not just OpenFile's mode, which only applies when a
new file is created) so a re-run with a pre-existing destination file
doesn't end up with looser permissions, matching how root.go writes the
original log.

Refs: CERTSA-78
Co-authored-by: Cursor <cursoragent@cursor.com>

36 of 36 new or added lines in 1 file covered. (100.0%)

6426 of 6426 relevant lines covered (100.0%)

160.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37334527603.1 05 Oct 2026 03:40PM UTC 66
100.0
GitHub Action Run
Source Files on build 37334527603
  • Tree
  • List 66
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37334527603
  • 79759f0f on github
  • Prev Build on main (#36896563571)
  • Next Build on main (#37661140588)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc