Skip to content

feat(pipeline): add Azure Pipelines configuration for building and publishing library#1085

Draft
MIchaelMainer wants to merge 10 commits into
mainfrom
mmainer/cd-enhancement
Draft

feat(pipeline): add Azure Pipelines configuration for building and publishing library#1085
MIchaelMainer wants to merge 10 commits into
mainfrom
mmainer/cd-enhancement

Conversation

@MIchaelMainer
Copy link
Copy Markdown
Contributor

@MIchaelMainer MIchaelMainer commented Jun 3, 2026

Validated that build stage runs successfully.

NOTE: Must update ADO config to target main once this PR is completed.

Copy link
Copy Markdown

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

Adds an Azure DevOps (1ES) pipeline to build, test, package, and publish msgraph-sdk-python-core to PyPI, while removing the prior GitHub Actions-based publish workflow.

Changes:

  • Added .azure-pipelines/cd-publish-python.yml to build/test/package and publish artifacts via ESRP Release.
  • Removed .github/workflows/publish.yml (GitHub Actions PyPI publish workflow).
  • Minor tooling/config updates (dev requirements markers and VS Code Azure Pipelines schema setting).

Reviewed changes

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

File Description
requirements-dev.txt Removes Python-version markers for dill and wrapt pins.
.vscode/settings.json Enables Azure Pipelines 1ES template schema support in VS Code settings.
.github/workflows/publish.yml Removes the GitHub Actions tag-based PyPI publish workflow.
.azure-pipelines/cd-publish-python.yml Introduces a 1ES Azure Pipelines build + ESRP-based PyPI publishing pipeline.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

stages:
- stage: build
displayName: "Build and Package msgraph-sdk-python-core"
condition: or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['Build.Reason'], 'Manual'))
- script: yapf -dr src
displayName: "Check code format"

- script: isort src
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 4, 2026

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