Skip to content

Enable azl-cicd to be triggered by pipeline and allow test results to be consumed#95

Merged
bfjelds merged 69 commits into
mainfrom
user/bfjelds/enable-idc-testing-artifact
Aug 14, 2025
Merged

Enable azl-cicd to be triggered by pipeline and allow test results to be consumed#95
bfjelds merged 69 commits into
mainfrom
user/bfjelds/enable-idc-testing-artifact

Conversation

@bfjelds
Copy link
Copy Markdown
Member

@bfjelds bfjelds commented Aug 8, 2025

🔍 Description

  1. Separate amd64 and arm64 in testing pipelines. This will allow us to trigger directly from architecture-specific pipelines from the azure linux team.

  2. Create junit artifacts.

    a. Create template that uploads test results and creates artifact
    b. Replace existing calls to upload test results with new template

  3. azl-cicd requires build-id variables to be configured and passed to pipeline internals. Currently, we are only handling parameters (which are compile time), but if the pipeline is triggered, we need to support runtime variables. To accomplish this, I moved the baseimage variables into an artifact, which can be read as needed rather than passing template parameters (which are not always compatible with runtime variables).

    a. Create and use read/create base image config artifact templates
    b. Remove parameters related to build id/type

  4. Introduce a way for the e2e template stages to wait for a prior stage (this allows a pipeline calling e2e-template to execute a stage before, for example to create a baseimage artifact)

    a. Create optional parameter that stores stage name to dependOn
    b. Modify primary templates called by e2e-template to depend on new parameter

  5. Modify trident-cicd to mimic what IDC will do and validate the above changes.

Verified pr: https://dev.azure.com/mariner-org/ECF/_build/results?buildId=897106&view=results
Verified pr-e2e: https://dev.azure.com/mariner-org/ECF/_build/results?buildId=896884&view=results
Verified azl-cicd: https://dev.azure.com/mariner-org/ECF/_build/results?buildId=896887&view=results
Verified pipeline-tester [ci]: https://dev.azure.com/mariner-org/ECF/_build/results?buildId=896890&view=results
Verified pipeline-tester [pre] w/o bm: https://dev.azure.com/mariner-org/ECF/_build/results?buildId=896892&view=results
Verified trident-scale: https://dev.azure.com/mariner-org/ECF/_build/results?buildId=896883&view=results
Verified trident-prism-cicd: https://dev.azure.com/mariner-org/ECF/_build/results?buildId=896886&view=results

@bfjelds bfjelds changed the title Enable azl-cicd to be triggered by pipeline Enable azl-cicd to be triggered by pipeline and allow test results to be consumed Aug 8, 2025
Comment thread .pipelines/trident-cicd.yml Outdated
Comment thread .pipelines/trident-cicd.yml Outdated
@bfjelds bfjelds marked this pull request as ready for review August 8, 2025 20:22
@bfjelds bfjelds requested a review from a team as a code owner August 8, 2025 20:22
Comment thread .pipelines/templates/stages/common_tasks/create-base-image-config-artifact.yml Outdated
Comment thread .pipelines/templates/e2e-arm64-template.yml Outdated
Comment thread .pipelines/templates/e2e-arm64-template.yml Outdated
Comment thread .pipelines/templates/stages/download_staged/download-staged.yml Outdated
Comment thread .pipelines/templates/stages/build_image/build-image.yml
Comment thread .pipelines/templates/stages/build_image/build-image.yml
Comment thread .pipelines/templates/e2e-template.yml
@bfjelds bfjelds merged commit e04ab59 into main Aug 14, 2025
11 checks passed
@bfjelds bfjelds deleted the user/bfjelds/enable-idc-testing-artifact branch September 24, 2025 18:35
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