runner-images icon indicating copy to clipboard operation
runner-images copied to clipboard

feat(ubuntu): add httpie package to toolsets

Open Ronitsabhaya75 opened this issue 6 months ago • 0 comments

Description

New tool / Improvement

This pull request adds httpie (a highly popular, user-friendly command-line HTTP client) to the Ubuntu runner images.

Summary of Changes:

  • Added "httpie" to the "cmd_packages" array under all supported Ubuntu toolset configurations (22.04, 24.04, and 26.04 for both x64 and arm64 architectures).
  • Updated images/ubuntu/scripts/tests/Apt.Tests.ps1 to map "httpie" to its actual executable binary name "http". This ensures the Pester post-build verification test suite passes successfully.

Motivation and Context:

Developers frequently need to test endpoints, perform REST calls, or debug API requests directly inside their CI/CD steps. While curl is standard, httpie offers an extremely intuitive syntax, default colorized formatting, and auto-formatted JSON parsing out-of-the-box. This helps keep workflow steps readable and clean.

Metadata for New Tools:

  • Total Disk Size: ~2.5 MB (including dependencies).
  • Installation Time: < 2 seconds via apt-get.

Co-Authorship & Testing:

This addition has been locally verified and co-tested in collaboration with:

Related issue:

N/A

Check list

  • [x] Related issue / work item is attached
  • [x] Tests are written (if applicable)
  • [x] Documentation is updated (if applicable)
  • [x] Changes are tested and related VM images are successfully generated

Ronitsabhaya75 avatar May 21 '26 18:05 Ronitsabhaya75