Skip to content

test(tmachine): add Debian installer profile - #3461

Open
SDAChess wants to merge 4 commits into
mainfrom
feat/add-debian-installer-profile
Open

SDAChess wants to merge 4 commits into
mainfrom
feat/add-debian-installer-profile

Conversation

@SDAChess

@SDAChess SDAChess commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add a tmachine installer profile that installs the Ubuntu Debian package instead of copying loose CLI and gateway binaries. Release Dev and Release Tag inherit an additional Ubuntu conformance lane from the shared default matrix, while Branch E2E and manual integration remain explicitly binary-only.

Related Issue

Part 1 of #3454

Changes

  • Add an Ansible playbook and tmachine deb installer profile for artifacts/packages/openshell.deb.
  • Resolve installed OpenShell executables across /usr/local/bin and /usr/bin layouts.
  • Optionally stage the amd64 Debian artifact in shared integration inputs.
  • Add Ubuntu Debian-package conformance to the shared default matrix, with Branch E2E and manual integration retaining explicit binary-only matrices.
  • Document the installer input and release coverage.

Testing

  • mise run pre-commit passes (skipped at author request)
  • Unit tests added/updated (not applicable; configuration and workflow coverage)
  • E2E tests added/updated
  • nix build --no-link --print-out-paths .#tmachine-config
  • nix develop .#testing -c cargo test --manifest-path tests/tmachine/Cargo.toml
  • Ansible syntax checks for all touched playbooks
  • Focused Actionlint passes for all modified workflows
  • Focused Zizmor reviewed; findings are existing floating ci:latest image references
  • tasks/scripts/test-packaging-assets.sh (Debian subcheck skipped because dpkg-deb is unavailable)

Full-repository Actionlint also reports existing concurrency.queue schema findings in unrelated documentation workflows.

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

Signed-off-by: Simon Scatton <sscatton@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Sep 18, 2026

Copy link
Copy Markdown

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.

@github-actions

Copy link
Copy Markdown

@SDAChess

Copy link
Copy Markdown
Collaborator Author

Part 1 of #3454

Signed-off-by: Simon Scatton <sscatton@nvidia.com>
Comment thread .github/workflows/release-dev.yml
Comment thread tests/ansible/playbooks/conformance/cli.yaml
Comment thread .github/workflows/integration-runner.yml
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
Comment thread tests/ansible/roles/openshell_gateway/tasks/main.yaml
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
Comment on lines +36 to +64
- name: Load OpenShell runtime images
become: true
ansible.builtin.command:
argv:
- docker
- load
- --input
- "/var/tmp/{{ item }}.tar"
loop:
- openshell-sandbox
- openshell-supervisor

- name: Create OpenShell configuration directory
ansible.builtin.file:
path: /home/tmachine/.config/openshell
state: directory
mode: "0700"

- name: Configure candidate OpenShell runtime images
ansible.builtin.copy:
dest: /home/tmachine/.config/openshell/gateway.toml
mode: "0600"
content: |
[openshell]
version = 2

[openshell.drivers.docker]
sandbox_runtime_image = "docker.io/openshell/sandbox:tmachine"
supervisor_image = "docker.io/openshell/supervisor:tmachine"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is docker specific but since we dont have Ubuntu/Debian + Podman I think it's fine to have leave this as-is.

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.

2 participants