Skip to content

feat: Add container runtime (podman as new runtime)#741

Open
wprazuch wants to merge 10 commits intomainfrom
wprazuch/podman-runtime
Open

feat: Add container runtime (podman as new runtime)#741
wprazuch wants to merge 10 commits intomainfrom
wprazuch/podman-runtime

Conversation

@wprazuch
Copy link
Contributor

No description provided.

Signed-off-by: Wojciech Prazuch <wprazuch@nvidia.com>
@wprazuch wprazuch requested review from a team as code owners February 19, 2026 09:04
@copy-pr-bot
Copy link

copy-pr-bot bot commented Feb 19, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@wprazuch
Copy link
Contributor Author

/ok to test a53dad6

@wprazuch
Copy link
Contributor Author

/ok to test a75dc0e

@wprazuch
Copy link
Contributor Author

/ok to test d0df7b1

wprazuch and others added 2 commits March 4, 2026 13:21
- Merge main (3856241) into wprazuch/podman-runtime
- Resolve conflicts in executor.py (keep ContainerRuntime + add env_vars
  imports and secrets handling from main) and run.template.sh (keep $RUNTIME
  variable while adding reexport_cmd blocks from main)
- Add test_container_runtime.py: 14 unit tests for ContainerRuntime that mock
  shutil.which, so they run in CI without docker or podman installed
- Patch ContainerRuntime in test_local_executor.py dry-run tests to prevent
  RuntimeError in environments without docker/podman

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Wojciech Prazuch <wprazuch@nvidia.com>
Signed-off-by: Wojciech Prazuch <wprazuch@nvidia.com>
@wprazuch wprazuch force-pushed the wprazuch/podman-runtime branch from d0df7b1 to 9670cfc Compare March 4, 2026 12:46
@wprazuch
Copy link
Contributor Author

wprazuch commented Mar 4, 2026

/ok to test 9670cfc

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Wojciech Prazuch <wprazuch@nvidia.com>
@wprazuch
Copy link
Contributor Author

wprazuch commented Mar 4, 2026

/ok to test d44fb0a

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Wojciech Prazuch <wprazuch@nvidia.com>
@wprazuch
Copy link
Contributor Author

wprazuch commented Mar 4, 2026

/ok to test d3cf2b4

@wprazuch
Copy link
Contributor Author

wprazuch commented Mar 4, 2026

/ok to test 6e4cd6a

wprazuch and others added 2 commits March 4, 2026 17:22
test_telemetry.py and test_example_configs.py called LocalExecutor.execute_eval()
without mocking ContainerRuntime, causing failures in CI where docker/podman
are not available.

- Add mock_container_runtime fixture to conftest.py
- Apply @pytest.mark.usefixtures to TestExampleConfigs
- Patch ContainerRuntime in the two failing TestLocalExecutorTelemetryPropagation tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Wojciech Prazuch <wprazuch@nvidia.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Wojciech Prazuch <wprazuch@nvidia.com>
@wprazuch wprazuch requested review from a team and agronskiy as code owners March 5, 2026 08:16
wprazuch and others added 2 commits March 5, 2026 09:17
This reverts commit a1435ea.

Signed-off-by: Wojciech Prazuch <wprazuch@nvidia.com>
…e baseline line numbers

The detect-secrets baseline tracks hex strings at lines 509/530 in conftest.py.
Inserting the fixture earlier shifted them, causing the secrets detector to fail.
Moving the fixture to the end of the file keeps existing line numbers stable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Wojciech Prazuch <wprazuch@nvidia.com>
@wprazuch
Copy link
Contributor Author

wprazuch commented Mar 5, 2026

/ok to test 7907c85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant