HomeFreeBSD

tests/ci: Add CIENV variable

Description

tests/ci: Add CIENV variable

The default behavior of of pre-commit script is to suppress all the logs
as it is assumed that developers will run this on their terminal for the
tests. But there are also other use cases like running these in
different CI tools like Cirrus, GH Actions etc where these build logs
are important in the web interface itself.

To fix this issue introduce a new variable named CIENV which defaults to
local if empty or undefined. If the CIENV is local in those cases the
logs are suppressed while for anything else it is not. This variable is
also important for some other WIP projects of CI I am working on like
running the CI tests on remote cloud AWS, Azure, GCP etc.

Approved by: lwhsu
Differential Revision: https://reviews.freebsd.org/D51178
Event: Oslo hackathon 202508

Details

Provenance
bofhAuthored on Aug 27 2025, 10:46 AM
Differential Revision
D51178: tests/ci: Add CIENV variable
Parents
rG77bf447759eb: arm64: Print ESR_EL1 on synchronous external abort
Branches
Unknown
Tags
Unknown