Run tooling race contract with a pinned compiler image
Private module tooling / contract (pull_request) Successful in 32s
Private module tooling / contract (pull_request) Successful in 32s
Authored-By: Codex (GPT-6) <noreply@openai.com>
This commit is contained in:
@@ -96,6 +96,20 @@ input for public bases.
|
||||
|---|---|
|
||||
| `tag` | Numeric tag assigned (= `github.run_number`). |
|
||||
|
||||
## Private module contract validation
|
||||
|
||||
The private-module contract workflow runs its Go race tests in the digest-pinned
|
||||
standard Go compiler image in `tests/private-modules.Dockerfile`. The Fritzlab
|
||||
runner doesn't provide GCC. Only `tools/private-modules` enters that build context;
|
||||
the test runs with networking and module downloads disabled. The public compiler
|
||||
image must already be cached or obtainable through the existing image pull path.
|
||||
This check doesn't publish an image or change runner configuration.
|
||||
|
||||
```sh
|
||||
python3 -m unittest discover -s tests
|
||||
docker build --network none --file tests/private-modules.Dockerfile tools/private-modules
|
||||
```
|
||||
|
||||
## Smoke test patterns
|
||||
|
||||
Override entrypoint for a binary that expects no args:
|
||||
|
||||
Reference in New Issue
Block a user