Skip to content

tests: enable rpm-based tests#570

Draft
bfjelds wants to merge 9 commits intomainfrom
user/bfjelds/azl-rpm-test-rebase-20260323
Draft

tests: enable rpm-based tests#570
bfjelds wants to merge 9 commits intomainfrom
user/bfjelds/azl-rpm-test-rebase-20260323

Conversation

@bfjelds
Copy link
Member

@bfjelds bfjelds commented Mar 23, 2026

🔍 Description

Enable trident tests to run from RPMs, base images, and containers generated from azurelinux builds (rather than building Trident, osmodifier, imagecustomizer, etc).

Changes

  • Align trident.spec to azurelinux/SPECS/trident/trident.spec
  • For most jobs in Trident pipelines, call repo checkout template and pass self|trident to it based on whether the template is invoked from a Trident-based pipeline or a pipeline from another repo.
  • Create trident source directory parameter for templates that do not checkout trident themselves
  • Enable usage of pre-built RPM-based artitfacts for Trident rpms
  • For RPMs built from dev pipelines where signing does not occur, enable secure-boot to be disabled in Trident tests
  • For pipelines based in other org/projects, create parameter to allow for differently named service connection for ACR access
  • Create stage type for this rpm-based test: azl-validation
  • Separate base image build id from rpm build id. This allows the rpms to be downloaded from the build (10+ minutes) and stored as a local artifact (30s download). Introduce '@' prefix for build ids to identify when to download a local artifact.

type: git
name: test-images
ref: refs/heads/main
ref: refs/heads/user/bfjelds/azl-rpm-test
Copy link
Member Author

Choose a reason for hiding this comment

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

undo before merging

type: git
name: platform-pipelines
ref: refs/heads/main
ref: refs/heads/user/bfjelds/azl-rpm-test
Copy link
Member Author

Choose a reason for hiding this comment

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

undo before merging

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.

1 participant