Giter Site home page Giter Site logo

Comments (8)

kasunkv avatar kasunkv commented on May 23, 2024 1

Confirmed to have access :) Thanks. Can you email me the API key for NuGet to create the service connection?

from guardclauses.

ardalis avatar ardalis commented on May 23, 2024

That would be awesome, thanks. I assume that's mainly just an update to the azure-pipelines.yml file?

Questions I have on this:

  • How do I trigger a build? I'm assuming merging into a particular branch or creating a tagged release are my options. If the former, I would probably want to change the repo's defaults so that regular work occurred in a dev branch and releases were done by merging into master probably with a tagged branch number. Does that work? Better ideas? Is it possible for the tagged release bit to happen automatically as part of the process (with the tag matching the new package version number)?

  • I assume I'd need to store a nuget.org key in Azure. How/where do I do that?

from guardclauses.

kasunkv avatar kasunkv commented on May 23, 2024

Yes it would update the existing azure-pipelines.yml file. We would do few changes to how the NuGet package is released. Here is what i am thinking at the moment.

  • We need to separate the build and the release of the NuGet package. This way we can control the release of the package.
  • We can keep the current branching strategy if you want, and merge PRs in to master
  • The azure-pipelines.yml file will contain some tasks with conditions to only execute when not triggered from a PR build
  • We can setup a release definition that is triggered only when a tag is pushed to the master branch that matches certain pattern. In this case your version number.
  • But the Azure Pipelines Releases does not support YAML releases at the moment, but it will be coming in 2019. So we will have to create the release pipeline manually.
  • The API key needed for pushing the NuGet package to public NuGet registry can be stored with in Azure DevOps. We can create a Service Connection for the this and use the Service Connection to push the NuGet package in to NuGet.org

I've forked this repository to my GitHub account, I'll create a PoC and give you a run down on how we would release and any issues if they present themselves. Please let me know what you think.

from guardclauses.

ardalis avatar ardalis commented on May 23, 2024

Sounds good - looking forward to seeing it. Thanks!

from guardclauses.

kasunkv avatar kasunkv commented on May 23, 2024

Hi @ardalis,

I think i am done.. :) Created the PR with the new CI pipeline. We need to create the release pipeline next. How should i proceed? Will i able to get provisional access to the dev.azure.com/ardalis to create the pipeline? Please have a look at the new pipeline and the build.

from guardclauses.

ardalis avatar ardalis commented on May 23, 2024

I can probably get you access to my pipeline. Or you can just outline the steps I need to take here or in a new issue. To add you I probably need your email address.

from guardclauses.

kasunkv avatar kasunkv commented on May 23, 2024

My email address is kvkrusl[at]gmail.com I'm good with both Steve, what is your preference? Outlining the steps or me creating the release pipeline? :)

from guardclauses.

ardalis avatar ardalis commented on May 23, 2024

Invite sent. :)

from guardclauses.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.