diff --git a/.github/workflows/inter-branch-merge-flow.yml b/.github/workflows/inter-branch-merge-flow.yml new file mode 100644 index 00000000000..7cd5b0c7a53 --- /dev/null +++ b/.github/workflows/inter-branch-merge-flow.yml @@ -0,0 +1,13 @@ +name: Inter-branch merge workflow +on: + push: + branches: + - release/** + +permissions: + contents: write + pull-requests: write + +jobs: + Merge: + uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main diff --git a/NuGet.config b/NuGet.config index 0e96bdcddaa..77e925b7fcf 100644 --- a/NuGet.config +++ b/NuGet.config @@ -5,6 +5,10 @@ + + + + @@ -19,6 +23,10 @@ + + + + diff --git a/azure-pipelines-pr.yml b/azure-pipelines-pr.yml index 9359704eedc..a72fd2fa517 100644 --- a/azure-pipelines-pr.yml +++ b/azure-pipelines-pr.yml @@ -26,9 +26,8 @@ variables: - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - group: Templating-SDLValidation-Params - + - ${{ if ne(variables['System.TeamProject'], 'public') }}: - - group: DotNetBuilds storage account read tokens - name: _InternalRuntimeDownloadArgs value: /p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64) @@ -56,6 +55,8 @@ stages: enablePublishBuildAssets: true enablePublishUsingPipelines: ${{ variables._PublishUsingPipelines }} enableSourceBuild: true + sourceBuildParameters: + enableInternalSources: true enableTelemetry: true helixRepo: dotnet/templating jobs: @@ -111,6 +112,9 @@ stages: arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token env: Token: $(dn-bot-dnceng-artifact-feeds-rw) + + - template: /eng/common/templates/steps/enable-internal-runtimes.yml + # Use utility script to run script command dependent on agent OS. - script: eng/common/cibuild.cmd -configuration $(_BuildConfig) @@ -141,6 +145,9 @@ stages: arguments: $(Build.SourcesDirectory)/NuGet.config $Token env: Token: $(dn-bot-dnceng-artifact-feeds-rw) + + - template: /eng/common/templates/steps/enable-internal-runtimes.yml + - script: eng/common/cibuild.sh --configuration $(_BuildConfig) --prepareMachine @@ -174,6 +181,9 @@ stages: arguments: $(Build.SourcesDirectory)/NuGet.config $Token env: Token: $(dn-bot-dnceng-artifact-feeds-rw) + + - template: /eng/common/templates/steps/enable-internal-runtimes.yml + - script: eng/common/cibuild.sh --configuration $(_BuildConfig) --prepareMachine diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4991faba232..145bb843105 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,7 +27,6 @@ variables: - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - group: Templating-SDLValidation-Params - ${{ if ne(variables['System.TeamProject'], 'public') }}: - - group: DotNetBuilds storage account read tokens - name: _InternalRuntimeDownloadArgs value: /p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64) @@ -86,6 +85,8 @@ extends: enablePublishBuildAssets: true enablePublishUsingPipelines: ${{ variables._PublishUsingPipelines }} enableSourceBuild: true + sourceBuildParameters: + enableInternalSources: true enableTelemetry: true helixRepo: dotnet/templating jobs: @@ -101,7 +102,7 @@ extends: - _SignType: test - ${{ if notin(variables['Build.Reason'], 'PullRequest') }}: - _SignType: real - - _InternalBuildArgs: '' + - _InternalBuildArgs: '' # Only enable publishing in non-public, non PR scenarios. - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: # DotNet-Symbol-Server-Pats provides: microsoft-symbol-server-pat, symweb-symbol-server-pat @@ -122,6 +123,9 @@ extends: arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token env: Token: $(dn-bot-dnceng-artifact-feeds-rw) + + - template: /eng/common/templates-official/steps/enable-internal-runtimes.yml + # Use utility script to run script command dependent on agent OS. - script: eng/common/cibuild.cmd -configuration $(_BuildConfig) @@ -135,7 +139,9 @@ extends: - job: OSX_${{ config.buildConfig }} displayName: OSX ${{ config.buildConfig }} pool: + name: 'Azure Pipelines' vmImage: 'macOS-latest' + os: macOS variables: - _BuildConfig: ${{ config.buildConfig }} - _SignType: none @@ -148,6 +154,9 @@ extends: arguments: $(Build.SourcesDirectory)/NuGet.config $Token env: Token: $(dn-bot-dnceng-artifact-feeds-rw) + + - template: /eng/common/templates-official/steps/enable-internal-runtimes.yml + - script: eng/common/cibuild.sh --configuration $(_BuildConfig) --prepareMachine @@ -155,7 +164,7 @@ extends: $(_InternalRuntimeDownloadArgs) name: Build displayName: Build - + - ${{ if in(variables['Build.Reason'], 'PullRequest') }}: - ${{ each config in parameters.buildConfigurations }}: - job: Linux_${{ config.buildConfig }} @@ -181,6 +190,9 @@ extends: arguments: $(Build.SourcesDirectory)/NuGet.config $Token env: Token: $(dn-bot-dnceng-artifact-feeds-rw) + + - template: /eng/common/templates-official/steps/enable-internal-runtimes.yml + - script: eng/common/cibuild.sh --configuration $(_BuildConfig) --prepareMachine @@ -189,7 +201,7 @@ extends: name: Build displayName: Build condition: succeeded() - + - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - template: eng/common/templates-official/post-build/post-build.yml@self parameters: diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 937bba47e6e..114de5a514a 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -57,9 +57,9 @@ - + https://github.com/dotnet/arcade - 2eab07c3d7b78219d10099b19fafeef2ecae1779 + fbc993a9e8fb4926ce04c95ba2e48852c9d9df65 diff --git a/eng/Versions.props b/eng/Versions.props index b3d56a7fbc0..5092a9886a7 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -4,7 +4,7 @@ true true - 6.0.424 + 6.0.425 rtm