-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change enables automatic generate of 'latest' aka.ms links for builds that publish installers and checksums and are applied to a channel What this does is generate an aka.ms for the blob by stripping away version numbers. So Runtime/5.0.0-alpha.1.20062.3/dotnet-apphost-pack-5.0.0-alpha.1.20062.3-osx-x64.pkg becomes Runtime/dotnet-apphost-pack-osx-x64.pkg. We then generate the aka.ms link as such: dotnet/<channel>/Runtime/dotnet-apphost-pack-osx-x64.pkg -> https://dotnetfeed.blob.core.windows.net/akamslinkstest/Runtime/5.0.0-alpha.1.20062.3/dotnet-apphost-pack-5.0.0-alpha.1.20062.3-osx-x64.pkg
- Loading branch information
Showing
14 changed files
with
664 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 0 additions & 49 deletions
49
src/Microsoft.DotNet.Deployment.Tasks.Links/src/AkaMSLinkBase.cs
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
src/Microsoft.DotNet.Deployment.Tasks.Links/src/AkaMSLinksBase.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
|
||
using System; | ||
using System.Net.Http; | ||
using System.Threading.Tasks; | ||
using Microsoft.Build.Framework; | ||
using Microsoft.IdentityModel.Clients.ActiveDirectory; | ||
|
||
namespace Microsoft.DotNet.Deployment.Tasks.Links | ||
{ | ||
public abstract class AkaMSLinksBase : Microsoft.Build.Utilities.Task | ||
{ | ||
[Required] | ||
// Authentication data | ||
public string ClientId { get; set; } | ||
[Required] | ||
// Authentication data | ||
public string ClientSecret { get; set; } | ||
[Required] | ||
public string Tenant { get; set; } | ||
} | ||
} |
Oops, something went wrong.