From a465ef76973233de8f7bad9d7f7e97f8640f5da5 Mon Sep 17 00:00:00 2001 From: Dan Siegel Date: Fri, 25 Oct 2024 14:08:10 -0600 Subject: [PATCH] docs: private nuget source --- docs/pipelines/commercial-plus.md | 37 +++++++++++++++++++++++++++++++ docs/pipelines/toc.yml | 2 ++ docs/toc.yml | 2 ++ 3 files changed, 41 insertions(+) create mode 100644 docs/pipelines/commercial-plus.md create mode 100644 docs/pipelines/toc.yml diff --git a/docs/pipelines/commercial-plus.md b/docs/pipelines/commercial-plus.md new file mode 100644 index 0000000..05b5a94 --- /dev/null +++ b/docs/pipelines/commercial-plus.md @@ -0,0 +1,37 @@ +--- +uid: Pipelines.CommercialPlus +--- + +# Setting up the Commercial Plus private NuGet Feed + +## [GitHub Actions](#tab/github) + +First be sure to add the Prism NuGet feed and your credentials as secrets in GitHub. + +PRISM_NUGET_FEED: `https://nuget.prismlibrary.com/v3/index.json +PRISM_NUGET_USER: The email of the licensed user +PRISM_NUGET_API_KEY: The License Key you have generated on https://prismlibrary.com + +```yml +- name: Add NuGet Feed + shell: pwsh + run: | + dotnet nuget add source ${{ secrets.PRISM_NUGET_FEED }} -u ${{ secrets.PRISM_NUGET_USER }} -p ${{ secrets.PRISM_API_KEY }} -n InHouse --store-password-in-clear-text +``` + +## [Azure Pipelines](#tab/azure-pipelines) + +Go to your project Settings -> Service connections. Then add a `New service connection` and select `NuGet` then click Next. Be sure to select `Basic Authentication` + +Feed URL: `https://nuget.prismlibrary.com` +Username: The email of the licensed user +Password: The License Key you have generated on https://prismlibrary.com +Service connection name: This can be anything. For the sample below you will see we have set this to `Prism` + +```yml +- task: NuGetAuthenticate@1 + inputs: + nuGetServiceConnections: 'Prism' +``` + +--- diff --git a/docs/pipelines/toc.yml b/docs/pipelines/toc.yml new file mode 100644 index 0000000..9c1acc4 --- /dev/null +++ b/docs/pipelines/toc.yml @@ -0,0 +1,2 @@ +- name: Commercial Plus + href: commercial-plus.md \ No newline at end of file diff --git a/docs/toc.yml b/docs/toc.yml index ddf1023..2683ea3 100644 --- a/docs/toc.yml +++ b/docs/toc.yml @@ -22,3 +22,5 @@ href: magician/toc.yml - name: Plugins href: plugins/toc.yml +- name: Pipelines + href: pipelines/toc.yml