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

Release and build pipelines #65

Merged
merged 51 commits into from
Sep 19, 2024
Merged

Release and build pipelines #65

merged 51 commits into from
Sep 19, 2024

Conversation

debonte
Copy link
Contributor

@debonte debonte commented Sep 18, 2024

Adds an AzDO pipeline, Sarif-Tools-Release that can publish to PyPi using a service connection so no PAT is required.

The first successful run, publishing 3.0.2, is here.

With the introduction of this pipeline, the release process will be:

  1. Update version in pyproject.toml and __init__.py.
  2. Update changelog.
  3. Run pipeline against main
  4. When the pipeline pauses for validation, download the wheel from the GitHub Release assets and test it.
  5. When done testing, press the "Review" button on the pipeline view. Press "Resume" if the tests passed, otherwise press "Reject" to abort publishing.
  6. Update the draft GitHub Release description with changelog info.
  7. Publish GitHub Release.

I documented this on a new Release Process wiki page.

I also added a CI build pipeline as part of this -- Sarif-Tools-Build. I was planning to use this for PR builds as well, but realized that that doesn't make sense since the results wouldn't be visible to external users. I'll create a GitHub Action for that.

@debonte debonte merged commit 686547d into main Sep 19, 2024
1 check passed
@debonte debonte deleted the releasePipeline branch September 19, 2024 17:38
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.

1 participant