-
Notifications
You must be signed in to change notification settings - Fork 5
Added pipeline along with auto fetch of build ids and publishing the result to Dashboard! #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| - key: ob_outputDirectory | ||
| value: $(Build.ArtifactStagingDirectory)/e2e | ||
| steps: | ||
| - template: e2e-template.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e2e template is its own stage, you can't call it from steps or jobs. also, please call trident-platform-cicd-template.yml rather than e2e template.
see trident-cicd for how: https://github.com/microsoft/trident/blob/user/bfjelds/enable-idc-testing-artifact/.pipelines/trident-cicd.yml for how
| @@ -0,0 +1,51 @@ | |||
| # .pipelines/trident-pr-e2e-auto.yml | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be called something like trident-cicd-for-azl, it isn't a pr-e2e test.
| displayName: "Resolve run IDs (tag: ${{ parameters.baseImgTag }})" | ||
| env: | ||
| SYSTEM_ACCESSTOKEN: $(System.AccessToken) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stage 1 should call this to create an artifact with the build ids:
- template: stages/base_image_config/create-base-image-config-artifact.yml
parameters:
baseimgBuildType: dev
baseImagePipelineBuildId: $(ResolvedBaseImagePipelineBuildId)
baseImageArm64PipelineBuildId: $(ResolvedBaseImageArm64PipelineBuildId)| AUTH="Authorization: Bearer $(System.AccessToken)" | ||
| ACCEPT="Accept: application/json; api-version=7.1-preview.7" | ||
|
|
||
| fetch_latest_with_tag () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this code make sure that these builds are related to eachother? it seems like it is just finding the most recent.
🔍 Description
Added pipeline along with auto fetch of build ids and publishing the result to Dashboard!
Why is this PR needed?
This PR will address following.
1- A new pipeline which will pull build ID of ARM/AMD prod image run and call the trident run.
2- Trident test runs will publish the artifact
3- New pipeline will download junit test result and call template to upload to test result DB dashboard.
4- Also provide a feature to toggle bare metal test.