Skip to content
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

refactor(ci): Pipeline yml cleanup #23412

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

alexvy86
Copy link
Contributor

@alexvy86 alexvy86 commented Dec 30, 2024

Description

Cleans up a few things we had noticed in our yml files.

  • Some variables (releaseBuildVar, componentDetection) were not used anymore (if anything only printed, but not used for any functional purpose).
  • Some templates were being referenced just by their filenames, where we've tried to move to absolute paths everywhere for clarity and consistency.
  • include-policy-check.yml was not included as a PR/CI trigger for many build pipelines that depend on build-npm-package.yml (which in turn depends on include-policy-check.yml).
  • Change buildNumberInPatch from a string to a boolean, like it could have been from the start, and gave it a default to avoid passing an empty string explicitly in several pipelines. Its value ends up as VERSION_PATCH here, and that flag gets checked against "true". So replacing with a boolean should be fine

Reviewer Guidance

The review process is outlined on this wiki page.

AB#6994

@Copilot Copilot bot review requested due to automatic review settings December 30, 2024 22:39
@github-actions github-actions bot added the area: build Build related issues label Dec 30, 2024
@alexvy86 alexvy86 requested review from a team December 30, 2024 22:39
@github-actions github-actions bot added the base: main PRs targeted against main branch label Dec 30, 2024

Choose a reason for hiding this comment

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

Copilot reviewed 6 out of 21 changed files in this pull request and generated no comments.

Files not reviewed (15)
  • tools/pipelines/templates/include-set-package-version.yml: Evaluated as low risk
  • tools/pipelines/templates/include-test-perf-benchmarks.yml: Evaluated as low risk
  • tools/pipelines/build-build-common.yml: Evaluated as low risk
  • tools/pipelines/build-build-tools.yml: Evaluated as low risk
  • tools/pipelines/build-client.yml: Evaluated as low risk
  • tools/pipelines/build-common-utils.yml: Evaluated as low risk
  • tools/pipelines/templates/include-test-real-service.yml: Evaluated as low risk
  • tools/pipelines/templates/include-telemetry-setup.yml: Evaluated as low risk
  • tools/pipelines/templates/include-test-stability.yml: Evaluated as low risk
  • tools/pipelines/build-benchmark-tool.yml: Evaluated as low risk
  • tools/pipelines/build-api-markdown-documenter.yml: Evaluated as low risk
  • tools/pipelines/templates/include-publish-npm-package-deployment.yml: Evaluated as low risk
  • tools/pipelines/templates/build-docker-service.yml: Evaluated as low risk
  • tools/pipelines/build-protocol-definitions.yml: Evaluated as low risk
  • tools/pipelines/build-test-tools.yml: Evaluated as low risk
@alexvy86
Copy link
Contributor Author

@microsoft-github-policy-service rerun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build Build related issues base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant