Skip to content

Update ACN Pipeline for Compliance #3597

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

Open
wants to merge 75 commits into
base: master
Choose a base branch
from
Open

Conversation

sheylatrudo
Copy link
Contributor

Reason for Change:

Issue Fixed:

Requirements:

Notes:

@Copilot Copilot AI review requested due to automatic review settings April 18, 2025 04:52
@sheylatrudo sheylatrudo requested a review from a team as a code owner April 18, 2025 04:52
@sheylatrudo sheylatrudo requested a review from matmerr April 18, 2025 04:52
Copy link
Contributor

@Copilot 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 updates the ACN pipelines for compliance by standardizing pool configurations and enhancing Dockerfile reference management. Key changes include:

  • Updated pool definitions in multiple pipeline templates to use "type: linux" and "isCustom: true".
  • Removal of outdated steps in the aks-swift E2E step template.
  • Introduction of new utility scripts for renaming Dockerfile references along with enhancements to build and manifest generation steps.

Reviewed Changes

Copilot reviewed 48 out of 57 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.pipelines/singletenancy/aks/e2e-job-template.yaml Added custom pool settings for improved job configuration.
.pipelines/singletenancy/aks-swift/e2e-step-template.yaml Removed legacy environment setup steps.
.pipelines/singletenancy/aks-swift/e2e-job-template.yaml Standardized pool setups and added checkout steps.
.pipelines/cni/k8s-e2e/k8s-e2e-job-template.yaml Updated pool configuration and inserted a checkout step.
.pipelines/build/utils/rename-dockerfile-references.steps.yaml Introduced new utility steps for Dockerfile renaming.
.pipelines/build/publish-manifest.steps.yaml Added new steps to publish manifest data.
.pipelines/build/ob-prepare.steps.yaml Integrated new Dockerfile renaming templates and cleanup.
.pipelines/build/manifests.jobs.yaml Added jobs to generate and publish image manifests.
.pipelines/build/image.steps.yaml Refined image build and output steps with updated arguments.
.pipelines/build/generate-manifest.steps.yaml Created steps to populate image manifest data using jq.
.pipelines/build/binary.steps.yaml Added steps to build binaries with pre-requisites and artifact preparation.
Files not reviewed (9)
  • .pipelines/OneBranch.NonOfficial.CrossPlat.yaml: Language not supported
  • .pipelines/OneBranch.Official.CrossPlat.yaml: Language not supported
  • .pipelines/cni/k8s-e2e/k8s-e2e.jobs.yaml: Language not supported
  • .pipelines/containers/container-template.steps.yaml: Language not supported
  • .pipelines/containers/manifest-template.steps.yaml: Language not supported
  • .pipelines/multitenancy/swiftv2-e2e.jobs.yaml: Language not supported
  • .pipelines/singletenancy/aks-swift/aks-swift-e2e.jobs.yaml: Language not supported
  • .pipelines/singletenancy/aks/aks-e2e.jobs.yaml: Language not supported
  • .pipelines/singletenancy/aks/aks-e2e.steps.yaml: Language not supported
Comments suppressed due to low confidence (1)

.pipelines/build/utils/rename-dockerfile-references.steps.yaml:7

  • The word 'fascilitates' appears to be misspelled. Consider replacing it with 'facilitates'.
#   'Dockerfile'. This fascilitates the creation of this template in order to 

# $target_dockerfile. This is a dumb sed replace; set with care.
#
# replace_path (string|default) - The directory for which to search for
# references to the old dockerfile name. Replce will default to $target_path
Copy link
Preview

Copilot AI Apr 18, 2025

Choose a reason for hiding this comment

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

The word 'Replce' appears to be misspelled. Consider replacing it with 'Replace'.

Suggested change
# references to the old dockerfile name. Replce will default to $target_path
# references to the old dockerfile name. Replace will default to $target_path

Copilot uses AI. Check for mistakes.

mkdir -p "$TARGET_REL_PATH"
cp -r "$SOURCE_REL_PATH"/* "$TARGET_REL_PATH"
else
echo >&2 "##[info]Target path ('$TARGET_REL_PATH') exits. Nothing to do."
Copy link
Preview

Copilot AI Apr 18, 2025

Choose a reason for hiding this comment

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

The word 'exits' seems to be a typo. Consider replacing it with 'exists'.

Suggested change
echo >&2 "##[info]Target path ('$TARGET_REL_PATH') exits. Nothing to do."
echo >&2 "##[info]Target path ('$TARGET_REL_PATH') exists. Nothing to do."

Copilot uses AI. Check for mistakes.

@sheylatrudo sheylatrudo force-pushed the smtrudo/acn-onebranch branch from 0a8eb80 to 69f9083 Compare April 18, 2025 21:25
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