-
Notifications
You must be signed in to change notification settings - Fork 260
ci: Remove File Copy and Add Image Build Stage to Regular Build #3769
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
Conversation
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.
Pull Request Overview
This PR streamlines the CI by removing an unnecessary file copy step when no coverage output exists and ensures image manifests are built on non-pull requests.
- Remove copying of
coverage-all.outin unit test stage - Always run the main build stage (no pull-request gating)
- Wrap the manifests (image build) stage in a non-pull-request conditional
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .pipelines/templates/run-unit-tests.stages.yaml | Removed the cp coverage-all.out step to prevent errors |
| .pipelines/run-pipeline.yaml | Dropped PR-only condition on build stage; added non-PR conditional around manifests stage |
Comments suppressed due to low confidence (1)
.pipelines/run-pipeline.yaml:182
- Ensure this
- ${{ if ... }}block is indented exactly the same as the other top-level stages entries; a misaligned dash can break the YAML list structure and cause parsing errors.
- ${{ if not(contains(variables['Build.SourceBranch'], 'refs/pull')) }}:
|
/azp run Azure Container Networking PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
* Remove File Copy * Add Image Builds to Regular Pipeline Execution
* Fixing build pipeline for 1.6 release * ci: Remove File Copy and Add Image Build Stage to Regular Build (#3769) * Remove File Copy * Add Image Builds to Regular Pipeline Execution * ci: enable NPM build --------- Co-authored-by: Amilcar Aponte Jimenez <[email protected]> Co-authored-by: sheylatrudo <[email protected]>
…e#3769) * Remove File Copy * Add Image Builds to Regular Pipeline Execution
* Remove File Copy * Add Image Builds to Regular Pipeline Execution
Reason for Change:
There is an error on the file copy because the cover-all.out is not generated by the Official or Unofficial builds. Removing the copy should fix this.
The images aren't currently built during general pipeline execution. This will allow us to make sure that we are able to build images when changes are submitted.
Notes: