[TT-17706] Add reusable action for distro tests and new OS#142
Merged
Conversation
Contributor
|
This PR expands the CI testing matrix to include Ubuntu 26.04 and RHEL 7, and introduces a new reusable workflow to standardize package upgrade testing. Files Changed Analysis
Architecture & Impact Assessment
graph TD
subgraph sg1 [Calling Workflow]
A[Build Package Artifacts] --> B("Call upgrade-tests.yml");
end
subgraph sg2 ["upgrade-tests.yml Workflow"]
direction LR
B -- inputs --> C{Matrix Jobs};
C -- "distro, arch" --> D[Generate Dockerfile];
D --> E[Build & Test in Docker];
end
subgraph sg3 ["Docker Build & Test Steps"]
direction TB
F("FROM base_distro_image") --> G[Install old package version];
G --> H[Upgrade with new package artifact];
H --> I[Run API tests];
end
A -.-> H
Scope Discovery & Context Expansion
Metadata
Powered by Visor from Probelabs Last updated: 2026-07-07T17:43:32.523Z | Triggered by: pr_updated | Commit: 0c22142 💡 TIP: You can chat with Visor using |
Contributor
Security Issues (3)
Architecture Issues (1)
Performance Issues (2)
Quality Issues (5)
Powered by Visor from Probelabs Last updated: 2026-07-07T17:43:16.446Z | Triggered by: pr_updated | Commit: 0c22142 💡 TIP: You can chat with Visor using |
asutosh
approved these changes
Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jira Ticket
Add RHEL7 and Ubuntu 26.04 to distro matrix; add upgrade-tests reusable workflow
Adds ubuntu:26.04 to the deb distro list. Adds a new rpm_amd64 output to the distro-matrix action for images that only support linux/amd64 (currently UBI7/RHEL7), keeping them separate from the main rpm list so existing pipelines are unaffected.
Introduces .github/workflows/upgrade-tests.yml, a reusable workflow that consolidates the upgrade smoke test logic (upgrade-deb, upgrade-rpm, upgrade-rpm-amd64) in one place. Future distro changes only require a PR here rather than a gromit template change.
TT-17706
Description
Type of Change
Changes Made
Testing
Checklist
README.md, actiondescriptionfields)shellcheck, used an appropriate shebang and error handling, and preserved required executable permissionsaction.ymlinterface, defaults, outputs, and examples as needed