SERVER-136184ClosedFixed

Require release Evergreen distros when the Bazel build wrapper uses release configurations

h2. Problem The Evergreen Bazel build wrapper can enable release configurations while running on a regular Evergreen distro. During review of [mongo PR #63636|https://github.com/10gen/mongo/pull/63636], s390x release compilation was moved to ARM64 builders, but the assignments used regular distros despite equivalent release distros being available. Add a runtime check to catch this configuration mistake before compilation. h2. Proposed change Add a shared check to {{evergreen/bazel_compile.sh}}

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc10248.3.169.0.78.0.377.0.49
Components
Server components related to this issue
Bazel
Labels
Tags and classification

No labels assigned.