Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KX-11751 - Containerization #37

Merged
merged 22 commits into from
Mar 12, 2024
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
2dd8481
KX-11751 - Agent pool change
Mar 6, 2024
ba0bbe7
KX-11751 - Testing base/mcr-dotnet-sdk-6.0-servercore-ltsc2022 image
Mar 6, 2024
0b578fd
KX-11751 - Testing base/mcr-dotnet-sdk-8.0-servercore-ltsc2022 image
Mar 6, 2024
e688e18
KX-11751 - Testing base/mcr-dotnet-sdk-8.0-ubuntu-22.04 image
Mar 6, 2024
9dc76eb
KX-11751 - Testing base/mcr-dotnet-sdk-8.0-ubuntu-22.04 image 2
Mar 6, 2024
7fd5a3e
KX-11751 - Back to base/mcr-servercore-ltsc2022 image
Mar 6, 2024
3de2d88
KX-11751 - Testing image in release version
ZdenekS81 Mar 7, 2024
2f85783
KX-11751 - Testing base/mcr-dotnet-sdk-8.0-servercore-ltsc2022:releas…
ZdenekS81 Mar 7, 2024
df08327
KX-11751 - Back to base/mcr-servercore-ltsc2022:release image
ZdenekS81 Mar 7, 2024
9720478
KX-11751 - Remove "select dotnet version" task
ZdenekS81 Mar 7, 2024
380ecf1
KX-11751 - Switch to base/mcr-dotnet-sdk-8.0-servercore-ltsc2022 image
Mar 7, 2024
a68b8f2
KX-11751 - Testing ado/net8/solution-build-servercore-2022 image
Mar 7, 2024
6fe7cc7
KX-11751 - Back to base/mcr-dotnet-sdk-8.0-servercore-ltsc2022 image …
Mar 7, 2024
2f277a3
KX-11751 - Testing base/mcr-dotnet-sdk-6.0-servercore-ltsc2022 image …
Mar 7, 2024
1298a12
KX-11751 - Switch project to net8.0
Mar 7, 2024
b3bb8a9
Revert "KX-11751 - Switch project to net8.0"
Mar 8, 2024
c4eb43a
KX-11751 - Testing net8 image with --roll-forward Major for azuresign…
Mar 8, 2024
c69ef18
KX-11751 - Testing azuresigntool with --roll-forward LastMajor
Mar 8, 2024
ccb678d
KX-11751 - Testing azuresigntool with --allow-roll-forward
Mar 8, 2024
bd35ba4
KX-11751 - Testing azuresigntool with env variable DOTNET_ROLL_FORWARD
Mar 11, 2024
ce07320
KX-11751 - Testing env variable DOTNET_ROLL_FORWARD with Major
Mar 11, 2024
9cd19da
KX-11751 - Comment added to env variable DOTNET_ROLL_FORWARD
Mar 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions .azuredevops/pipelines/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,23 @@ parameters:
- name: AgentPoolName
displayName: Agent pool name
type: string
default: Default
default: ADO Windows Server 2022

- name: AgentName
displayName: Agent name - single char for any
type: string
default: " "

resources:
repositories:
- repository: self
type: git

containers:
- container: Windows
image: base/mcr-dotnet-sdk-8.0-servercore-ltsc2022:release
endpoint: xperienceagentshub.azurecr.io

variables:
- name: SIGN_FILE
value: true
Expand All @@ -29,6 +39,7 @@ stages:
${{ if ne(length(parameters.AgentName), 1) }}:
demands:
- Agent.Name -equals ${{ parameters.AgentName }}
container: Windows

variables:
- group: Code Sign KV Auth
Expand Down Expand Up @@ -61,12 +72,6 @@ stages:
inputs:
version: $(PACKAGE_JSON_NODE_VERSION)

- task: UseDotNet@2
displayName: Select dotnet version
inputs:
packageType: sdk
useGlobalJson: true

- task: DotNetCoreCLI@2
displayName: Restore dotnet tools
inputs:
Expand All @@ -92,6 +97,8 @@ stages:
arguments: --no-restore
env:
AuthenticodeClientSecret: $(AuthenticodeClientSecret)
# Roll-forward behavior set for AzureSignTool dotnet tool (see .config\dotnet-tools.json) which requires .Net 6.0 runtime
DOTNET_ROLL_FORWARD: Major

- task: DotNetCoreCLI@2
displayName: Create NuGet package
Expand Down Expand Up @@ -122,6 +129,7 @@ stages:
${{ if ne(length(parameters.AgentName), 1) }}:
demands:
- Agent.Name -equals ${{ parameters.AgentName }}
container: Windows

environment: integrations-release-nuget
workspace:
Expand Down