Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    ProGet: Feature Request: native integration with GitHub to perform automated tasks

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 10 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MaxCasconeM Offline
      MaxCascone
      last edited by

      We don't have this process fully designed yet, but i am hoping that a pattern will emerge that allows us to automate tagging a git commit when a package is promoted.
      I know there are already Webhooks available, but then i have to figure out how to use that. If there was a more sophisticated way to talk to github, it would make this a lot less challenging.

      thanks!

      stevedennisS 1 Reply Last reply Reply Quote 0
      • stevedennisS Offline
        stevedennis inedo-engineer @MaxCascone
        last edited by

        Hi @mcascone,

        Thanks for the feature request; this type of orchestration is something that should happen by at the CI/CD Pipeline-level, in a tool like BuildMaster.

        For example, consider our open-source Inedo.AssetDirectories .NET library (GitHub, Package).

        In the corresponding Inedo.AssetDirectories BuildMaster application, when someone promotes the package to Release (see the Deployment Pipeline), the source code is tagged immediately after the promotion:

        ProGet::Repack-Package
        (
            PackageSource: NuGetLibraries,
            Name: Inedo.AssetDirectories,
            Version: $ReleaseNumber-rc.$BuildNumber,
            NewVersion: $ReleaseNumber
        );
        
        ... snip ...
        
        # Tag Source Code
        # Tag the commit in source control using the id captured in the Build plan
        {
            GitHub::Tag
            (
                From: GitHub,
                Tag: Inedo.AssetDirectories-$ReleaseNumber.$BuildNumber,
                Branch: $Branch,
                CommitHash: $CommitId
            );
        }
        

        You may be able to do this with ProGet's webhooks, but ultimately ProGet isn't an orchestrator (i.e. it doesn't have an execution/automation engine), and you won't get the level of reliability or flexibility needed.

        1 Reply Last reply Reply Quote 0
        • MaxCasconeM Offline
          MaxCascone
          last edited by

          Thanks, I knew this one was a bit of a stretch. It'll be tough if not impossible to automate this in Jenkins, and is another tick on the "check out buildmaster" list.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation