ci: migrate from Azure Pipelines to GitHub Actions#196
Open
ci: migrate from Azure Pipelines to GitHub Actions#196
Conversation
Replaces Azure Pipeline with GitHub Actions to remove dependency on Azure tenant owner for CI/CD access. This unblocks deployments when the tenant admin is unavailable. The workflow reads publisher and extension metadata directly from vss-extension.json instead of requiring them as secrets. It implements the same versioning logic as the old pipeline by extracting semver from branch/tag names and appending commit count. Publishing uses tfx-cli with a Personal Access Token from marketplace.visualstudio.com/manage, so no tenant access is needed. The workflow matches the original behavior: feature/* branches publish to Development, hotfix/* to Hotfix, and tags to Release with GitHub releases.
Old Azure Pipeline only ran 'npm run package' which does initdev + build internally. Tests were never run in CI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces Azure Pipeline with GitHub Actions to remove dependency on Azure tenant owner for CI/CD access. This unblocks deployments when the tenant admin is unavailable.
The workflow reads publisher and extension metadata directly from vss-extension.json instead of requiring them as secrets. It implements the same versioning logic as the old pipeline by extracting semver from branch/tag names and appending commit count. Publishing uses tfx-cli with a Personal Access Token from marketplace.visualstudio.com/manage, so no tenant access is needed.
Changes
Testing
@ejohn20 - This PR needs you to set up secrets before it can work:
AZURE_DEVOPS_PAT:AZURE_DEVOPS_SHARE_WITH(comma-separated org names for dev/hotfix builds)See
.github/SETUP.mdfor details.