Skip to content

fix: decouple container usage from runner label#75

Merged
jleni merged 1 commit intomainfrom
fix/decouple-container-from-runner-label
Feb 27, 2026
Merged

fix: decouple container usage from runner label#75
jleni merged 1 commit intomainfrom
fix/decouple-container-from-runner-label

Conversation

@jleni
Copy link
Copy Markdown
Member

@jleni jleni commented Feb 27, 2026

Summary

  • Remove hardcoded runs_on == 'zondax-runners' check from container and setup-ubuntu-packages conditions
  • Replace with runner_preset != 'macos-arm64' which correctly enables containers for all Linux runners regardless of their label
  • Fixes issues where non-zondax orgs (e.g. kunobi-ninja) using custom runner labels (e.g. kunobi-runners) get bare-metal execution without the Docker container, causing missing tools (cargo, node, etc.)

Affected workflows

  • _checks-rs.yaml
  • _checks-ts.yaml
  • _checks-links.yaml

Test plan

  • Verify the container condition evaluates correctly for zondax-runners (no behavior change)
  • Verify kunobi-runners now gets the container with zondax/ubuntu-ci:22.04
  • Verify macOS runners still skip the container

The container and setup-ubuntu-packages conditions were hardcoded to
only activate when runs_on == 'zondax-runners'. This prevented other
runner labels (e.g. kunobi-runners) from using the Docker container,
causing jobs to fail with missing tools (cargo, node, etc).

Replace the runner label check with runner_preset != 'macos-arm64',
which correctly enables containers for all Linux runners regardless
of their label.

Affected workflows:
- _checks-rs.yaml
- _checks-ts.yaml
- _checks-links.yaml
@jleni jleni merged commit 9460959 into main Feb 27, 2026
1 check passed
@jleni jleni deleted the fix/decouple-container-from-runner-label branch February 27, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant