Skip to content

Conversation

@sheylatrudo
Copy link
Contributor

  • Removes the file copy of the coverage-all.out file from the run unit tests stage.
  • Adds the image build steps to the 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:

Copilot AI review requested due to automatic review settings July 2, 2025 22:49
@sheylatrudo sheylatrudo requested a review from a team as a code owner July 2, 2025 22:49
@sheylatrudo sheylatrudo requested a review from bohuini July 2, 2025 22:49
Copy link
Contributor

Copilot AI left a 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.out in 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')) }}:

@sheylatrudo sheylatrudo enabled auto-merge July 2, 2025 23:06
@QxBytes
Copy link
Contributor

QxBytes commented Jul 3, 2025

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sheylatrudo sheylatrudo added this pull request to the merge queue Jul 3, 2025
Merged via the queue into master with commit c639a4e Jul 3, 2025
15 of 16 checks passed
@sheylatrudo sheylatrudo deleted the smtrudo/fix-cp branch July 3, 2025 02:40
@jpayne3506 jpayne3506 added ci Infra or tooling. needs-backport Change needs to be backported to previous release trains labels Jul 28, 2025
jpayne3506 pushed a commit that referenced this pull request Jul 28, 2025
* Remove File Copy

* Add Image Builds to Regular Pipeline Execution
github-merge-queue bot pushed a commit that referenced this pull request Jul 29, 2025
* 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]>
@jpayne3506 jpayne3506 removed the needs-backport Change needs to be backported to previous release trains label Jul 29, 2025
NihaNallappagari pushed a commit to NihaNallappagari/azure-container-networking that referenced this pull request Sep 4, 2025
…e#3769)

* Remove File Copy

* Add Image Builds to Regular Pipeline Execution
sivakami-projects pushed a commit that referenced this pull request Oct 23, 2025
* Remove File Copy

* Add Image Builds to Regular Pipeline Execution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Infra or tooling.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants