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

Port the functionality to build snapshots from Azure Pipelines to GitHub workflows #45

Open
dscho opened this issue Mar 21, 2023 · 0 comments

Comments

@dscho
Copy link
Member

dscho commented Mar 21, 2023

We successfully ported the process to build release artifacts and to publish them from the Git Artifacts Azure Pipeline (and the corresponding Azure Release Pipeline) to the tag-git/git-artifacts/release-git GitHub workflows.

The Git Artifacts Azure Pipeline also builds Git for Windows' snapshots, though, and there is an Azure Release Pipeline to actually publish them.

This functionality needs to be ported, too, and then we need to make sure that the GitForWindowsHelper GitHub App triggers those builds.

The best approach would probably be to extend the git-artifacts workflow to take on building the snapshot builds, too, maybe by repurposing (or even renaming?) the existing-tag input to take a commit hash for which a light-weight, unsigned tag needs to be created on the fly.

The GitForWindowsHelper GitHub App could then detect when such a snapshot build finishes (identified by the title of the Check Run that is associated with the commit in git-for-windows/git, we would need to make sure that snapshot builds say something like Building snapshot <timestamp>).

As a bonus, we can build on top of this work to build test artifacts via /test-git-artifacts, which would then trigger the same build, but probably only for x86_64 and only the installer, portable and mingit artifacts. We would need to make sure that this gets a different title, to avoid having those snapshots getting uploaded to https://wingit.blob.core.windows.net/files/index.html.

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

No branches or pull requests

1 participant