Skip to content

Add mechanism to more easily download a build artifact #24081

Closed

Description

@kilasuit

Summary of the new feature / enhancement

As a tester, I want to download an already built version of PowerShell from a PR instead of having to rebuild it locally, to save time in testing a feature that hasn't yet been merged into main and therefore not in a daily build (when they are working again)

Proposed technical implementation details (optional)

A new feed of sorts where build artifacts can be published to and easily identifyable using the following naming convention
PowerShell---

Example being PowerShell-win-x64-msi-24065-2-OS which should then give the 2nd build of #24065 and give you the Windows x64 MSI

However we may just want to publish zip's instead similar to how the daily build is done.

Activity

  1. added
    Issue-Enhancement
    Needs-Triage
    WG-Maintainers-Build
    Review - Committee
    on Jul 24, 2024
  2. MartinGC94 commented on Jul 24, 2024

    @MartinGC94
    Contributor

    This already exists. If you open one of the PRs on GitHub and scroll down to the workflow runs you will see that there's a build task for each platform, Windows for example has the name PowerShell-CI-windows (Build for Windows Windows Build) if you click on details -> View more details on Azure Pipelines you will be sent to a summary page that looks like this:
    image if you click on the "3 artifacts" link you will get to a page like this:
    image
    where you just click on the 3 dots and select download artifacts.

  3. kilasuit commented on Jul 24, 2024

    @kilasuit
    CollaboratorAuthor

    I know this way already exists and have used it in multiple other projects for over 5 years now. That said, it is both too many steps and hidden away for many, and also in my multiple attempts today failed, to download the artifact, whereas if it was a feed that could be subscribed to then it's much more accessible, saves time and is much easier to automate, further saving valuable time and effort.

    It's a suggestion, of something that I would myself work on the process to publish, along with a clean up process that only keeps x Amount of builds for x days and is on merge of the PR schedules a removal after x days too, to minimize cost and maintainance overhead of this if it were by the team & community thought would be of use & is used in other projects already often with bot notification of here's a download link for the build artifcat.

  4. MartinGC94 commented on Jul 24, 2024

    @MartinGC94
    Contributor

    Okay. It wasn't clear if you knew about this feature or not, since you talked about having to build things locally. I agree that the UX kinda sucks so if you think you can make it better then I have no problem with that.

  5. kilasuit commented on Jul 24, 2024

    @kilasuit
    CollaboratorAuthor

    I could have added about that method, and perhaps should have but also was in a rush to get it raised, though it's also good that you've pointed that out for others too, incase they didn't know. I mentioned about building locally as this can also be useful if there is a push to help get a PR that's stuck though via methods like pair or mob programming especially if it's on things like adding tests, which seems to be where many PR authors can find thier PR's being stuck or going stale for months at a time.

  6. removed
    Review - Committee
    on Jul 31, 2024
  7. SteveL-MSFT commented on Jul 31, 2024

    @SteveL-MSFT
    Member

    This doesn't need committee to review. As noted, there is a way to do it navigating through the AzDevOps GUI. I would think there's also a way to find the download link via a REST API. If someone can figure out that, then we need a way to automatically attach that link to the PR.

  8. kilasuit commented on Aug 20, 2024

    @kilasuit
    CollaboratorAuthor

    After lots of searching and trial and error & eventually finding the right GH API's to return the correct info that then allows for querying the AzDO API's, I managed to get a working function the end of last week. Will update by end of the week & have assigned this to me for now.

  9. kilasuit commented on Aug 26, 2024

    @kilasuit
    Author
  10. kilasuit commented on Sep 20, 2024

    @kilasuit
    Author
  11. kilasuit commented on Jan 26, 2025

    @kilasuit
    CollaboratorAuthor

    Am closing this as I released the BuildDownloader Repo which has commands that help in the downloading of Azure DevOps Build artifacts linked to a GitHub PR

  12. added
    Resolution-Fixed
    and removed
    Needs-Triage
    on Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Issue-EnhancementRelease-TestingResolution-FixedWG-Maintainers-Build

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions