Automated test script for Bash installer#11472
Conversation
Signed-off-by: Brooke Hamilton <45323234+brooke-hamilton@users.noreply.github.com>
Signed-off-by: Brooke Hamilton <45323234+brooke-hamilton@users.noreply.github.com>
Signed-off-by: Brooke Hamilton <45323234+brooke-hamilton@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds automated integration coverage for the Bash-based Radius CLI installer and wires it into CI so installer regressions are caught on PRs that touch installer-related files.
Changes:
- Added
deploy/test-install.shintegration test script that exercises installer flags/env vars and validates the installedradbinary is functional. - Updated
.github/workflows/validate-installers.yamlto run the new Bash installer tests onubuntu-24.04and to broaden thepull_request.pathsfilter to include the installer test scripts.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
deploy/test-install.sh |
New Bash integration test runner for deploy/install.sh, covering help/flags/env vars and install behaviors. |
.github/workflows/validate-installers.yaml |
Adds a Linux job to execute the new Bash installer integration tests in CI. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11472 +/- ##
=======================================
Coverage 51.23% 51.23%
=======================================
Files 699 699
Lines 44050 44050
=======================================
+ Hits 22567 22568 +1
+ Misses 19328 19326 -2
- Partials 2155 2156 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Brooke Hamilton <45323234+brooke-hamilton@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Brooke Hamilton <45323234+brooke-hamilton@users.noreply.github.com>
Radius functional test overviewClick here to see the test run details
Test Status⌛ Building Radius and pushing container images for functional tests... |
Description
Automated integration test script for the
deploy/install.shBash installer. This test script exercises every flag and environment variable documented in--help, installs into isolated temporary directories, and validates that theradCLI binary is placed correctly and is functional.Related to #11463 which updated the installer script. This PR adds the automated test infrastructure for that installer.
Changes
deploy/test-install.sh— New integration test script covering:--help/-hflags--version/-vand--install-dir/-d--include-rc/-rcflagsINSTALL_DIR,INCLUDE_RC, andRADIUS_INSTALL_DIRenvironment variables~/.local/bin).github/workflows/validate-installers.yaml— Updated workflow to:verify-bash-installerjob running onubuntu-24.04verify-powershell-installerfor claritydeploy/install.sh,deploy/test-install.sh, anddeploy/test-pwsh-install.ps1versions.yaml— Moved0.56RC entry out of supported and adjusted deprecated channel listType of change
Contributor checklist
Please verify that the PR meets the following requirements, where applicable: