Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
90c6d28
Beginning to consolidate the pipelines. Only trying it for the CI pip…
MiYanni May 3, 2024
4314cbf
Invalid syntax for parameter object.
MiYanni May 3, 2024
8bb9f60
Trying to access a variable properly.
MiYanni May 3, 2024
13806ca
Commenting out extra stuff for now.
MiYanni May 3, 2024
578acea
Changed runTests to be runtime variable and only modify the condition…
MiYanni May 3, 2024
a3b3795
Does this work for PhaseName?
MiYanni May 3, 2024
5287d25
What does this do?
MiYanni May 3, 2024
0cc1f46
Trying oneEsPt as object name for template parameter object. Trying S…
MiYanni May 3, 2024
90bb924
Let's see if Agent.JobName does anything for fun.
MiYanni May 4, 2024
8bf4cb4
Added ability to set buildArchitecture. Fixing signing issue with mis…
MiYanni May 4, 2024
7fafb93
Passing the variables down.
MiYanni May 4, 2024
6fc8aee
In-progress for non-windows builds. Fixing signing using _TeamName.
MiYanni May 4, 2024
be2f780
Trying to add an ubuntu run.
MiYanni May 4, 2024
a3bf938
The linux containers don't have powershell on them. Lovely.
MiYanni May 4, 2024
442a51c
Try using bash instead of script task.
MiYanni May 4, 2024
96724b2
Do not do signing when running tests.
MiYanni May 4, 2024
17a7020
Added RuntimeIdentifier variable. Added MacOS section. Commenting out…
MiYanni May 7, 2024
2294de3
Messed up build section alignment.
MiYanni May 7, 2024
7d2e73a
Remove nativeToolsOnMachine for non-windows. Set job name based on if…
MiYanni May 7, 2024
f783097
Converted everything to use compile-time parameters instead of matrix…
MiYanni May 9, 2024
be09faa
My test default doesn't work. 💢
MiYanni May 9, 2024
4f82464
I think it doesn't like parameters that start with an underscore.
MiYanni May 9, 2024
3ee96ef
Just testing this.
MiYanni May 9, 2024
c4afded
Trying to use the matrix.
MiYanni May 9, 2024
9b90e6c
Forgot to remove this.
MiYanni May 9, 2024
5b0ebdc
Setting these parameters directly.
MiYanni May 9, 2024
4746438
Does this work?
MiYanni May 9, 2024
03aaf13
No default params.
MiYanni May 9, 2024
e26bd78
Set it up so that job-matrix is only for passing the parameters requi…
MiYanni May 9, 2024
db296fd
Needed empty default variable set.
MiYanni May 9, 2024
e2f9740
Changed it to assignment.
MiYanni May 9, 2024
3bd0000
Trying basic Linux build. Added Linux os/arch specific scripts.
MiYanni May 9, 2024
4c3a078
Wrong indentation.
MiYanni May 9, 2024
758ce4b
Still had tabbing wrong.
MiYanni May 9, 2024
8381441
Does this work?
MiYanni May 9, 2024
0498c93
Is this the problem?
MiYanni May 9, 2024
f1b94ee
Comment this section out.
MiYanni May 9, 2024
20791c8
Huh
MiYanni May 9, 2024
e0b4bf0
Variables was wrong.
MiYanni May 9, 2024
3955f5f
Does this work?
MiYanni May 9, 2024
1ffbfe4
I don't understand.
MiYanni May 9, 2024
a86ca5f
Does this work?
MiYanni May 9, 2024
b6039ad
How about this?
MiYanni May 9, 2024
b81a92f
Trying Linux build adjustments.
MiYanni May 9, 2024
73b97c2
Trying to fix using Agent.JobName since it is bugged and uses the dis…
MiYanni May 10, 2024
2b24aa1
Added signArgument so that it is only used for windows. Checking if H…
MiYanni May 10, 2024
c9eafc3
Added the rest of the CI windows and linux build jobs.
MiYanni May 10, 2024
51c4d0c
Added the rest of the jobs for Mac and the linux test jobs.
MiYanni May 10, 2024
661b380
Just set it to false.
MiYanni May 10, 2024
149e8d3
Enabled various other pipeline jobs/stages that were previously runni…
MiYanni May 13, 2024
78fd4d1
Comment out source build and dotnet format again.
MiYanni May 13, 2024
3aa2926
Comment out onelocbuild.
MiYanni May 13, 2024
9515ff2
Commenting out post-build.
MiYanni May 13, 2024
c50ed05
Commenting out publish-build-assets.
MiYanni May 13, 2024
cdc29b4
Comment if statement.
MiYanni May 13, 2024
24dd70f
Trying to use templateFolderName for partial path. Trying to fix log …
MiYanni May 13, 2024
30308e1
Specified the template folder name improperly.
MiYanni May 13, 2024
87c6e5c
Changed to using publishTaskPrefix. Set EnableDefaultArtifacts to fal…
MiYanni May 13, 2024
cf7da3e
Added EnableToolsetPublish to only publish the toolset nupkg once.
MiYanni May 13, 2024
d8eaca9
Enabled publishing for installer assets. Testing component governance…
MiYanni May 14, 2024
9798e19
Use centosStream8 instead. Fix aot command path. Trying to fix test p…
MiYanni May 14, 2024
a934331
Added missing PgoTerm logic for Directory.Build.props. Fix AoT worklo…
MiYanni May 14, 2024
a4006bb
Trying to escape the semicolon.
MiYanni May 14, 2024
950105f
Changed _CustomHelixTargetQueue to CustomHelixTargetQueue. Made AoT w…
MiYanni May 15, 2024
c4c2b76
Trying another workaround for specifying multiple projects.
MiYanni May 15, 2024
5640710
Trying workaround for PowerShell projects syntax. Trying to get alpin…
MiYanni May 15, 2024
cfa29b3
Set alpine back to HostOSName.
MiYanni May 15, 2024
3754ba4
Adding container to the helix testing queue declaration.
MiYanni May 16, 2024
b9046e4
Converted the .vsts-pr.yml to use the new templates. Minor formatting…
MiYanni May 16, 2024
b8224bf
Changed containers format from dictionary to list.
MiYanni May 16, 2024
1d3aea2
Added information to specify helix container for testing. Moved publi…
MiYanni May 16, 2024
3e02e40
Trying to escape parentheses for the helix queue param.
MiYanni May 16, 2024
3891837
Fix CustomHelixTargetQueue formatting. Disable tests for all containe…
MiYanni May 16, 2024
dfb0876
Fixed running publish only for non-test runs. Cleaned up commented co…
MiYanni May 16, 2024
d1783b7
Disable SBOM for alpine jobs.
MiYanni May 17, 2024
fd61dda
Made sdk-job-matrix.yml have the default parameter sets per OS. Made …
MiYanni May 17, 2024
16ca606
Realized the else condition won't work. Instead, made each explicit a…
MiYanni May 17, 2024
a7b6c48
Changed the CI parameter runTests to runTestBuild to not be confused …
MiYanni May 17, 2024
af0112b
Realized you cannot make the template engine testProjects a variable …
MiYanni May 17, 2024
ce7ee9c
Made enableDefaultArtifacts only run on the main official windows build.
MiYanni May 17, 2024
c445c77
Remove no longer used templates. Remove the richnav pipeline as it ha…
MiYanni May 17, 2024
7d07210
Publish fsharp and roslyn packages only on the default artifacts leg
ViktorHofer May 21, 2024
98922be
Update Directory.Build.props
ViktorHofer May 21, 2024
0f48ec7
Merge branch 'main' into feature/pipeline-refactor
ViktorHofer May 21, 2024
0407b3f
Update .vsts-ci.yml
ViktorHofer May 21, 2024
f256ddd
Correctly set DotNetReleaseShipping=true in Publishing.props
ViktorHofer May 21, 2024
379cbc7
Always sign and publish .wixpack.zip
ViktorHofer May 21, 2024
700e4e5
Include missing VS non-windows-x64 packages
ViktorHofer May 21, 2024
35e60fd
Merge branch 'main' into feature/pipeline-refactor
ViktorHofer May 21, 2024
2a72654
disable formatting sdk repo
ViktorHofer May 21, 2024
1487429
Merge branch 'main' into feature/pipeline-refactor
ViktorHofer May 21, 2024
67a92fe
Fix DetermineSourceBuiltSdkVersion target
ViktorHofer May 21, 2024
84c6015
Update Directory.Build.targets
ViktorHofer May 21, 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
Prev Previous commit
Next Next commit
Trying oneEsPt as object name for template parameter object. Trying S…
…ystem.JobName.
  • Loading branch information
MiYanni committed May 3, 2024
commit 0cc1f46282d1cd9369c804ef97069f121695b532
8 changes: 4 additions & 4 deletions .vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ extends:
image: 1es-windows-2022
os: windows
helixTargetQueue: Windows.Amd64.VS2022.Pre
jobTemplatePath: /eng/common/templates-official/job/job.yml
publishTaskName: '1ES.PublishBuildArtifacts@1'
phaseName: $(System.PhaseName)
oneEsPt:
jobTemplatePath: /eng/common/templates-official/job/job.yml
publishTaskName: 1ES.PublishBuildArtifacts@1
variables:
runTests: ${{ parameters.runTests }}
# containers:
Expand Down Expand Up @@ -133,7 +133,7 @@ extends:
testFullMSBuild: true
TestAsTools:
testInBuildProperties: /p:RunTestsAsTool=true
# This uses the build step for testing, so the explicit test step is not necessary.
# This uses the build step for testing, so the extra test step is not necessary.
runTests: false
TemplateEngine:
testName: TemplateEngineTests
Expand Down
17 changes: 9 additions & 8 deletions eng/pipelines/templates/jobs/sdk-build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
parameters:
jobTemplatePath: /eng/common/templates/job/job.yml
publishTaskName: 'PublishBuildArtifacts@1'
oneEsPt:
jobTemplatePath: /eng/common/templates/job/job.yml
publishTaskName: PublishBuildArtifacts@1
# buildCategory: Build
buildArchitecture: x64
# # Agent OS identifier and used as job name
Expand All @@ -13,10 +14,10 @@ parameters:
# strategy: ''

jobs:
- template: ${{ parameters.jobTemplatePath }}
- template: ${{ parameters.oneEsPt.jobTemplatePath }}
parameters:
name: ${{ parameters.phaseName }}_${{ parameters.pool.os }}_${{ parameters.buildArchitecture }}
displayName: ${{ parameters.phaseName }} ${{ parameters.pool.os }} ${{ parameters.buildArchitecture }}
name: ${{ variables['System.JobName'] }}_${{ parameters.pool.os }}_${{ parameters.buildArchitecture }}
displayName: ${{ variables['System.JobName'] }} ${{ parameters.pool.os }} ${{ parameters.buildArchitecture }}
pool: ${{ parameters.pool }}
strategy: ${{ parameters.strategy }}
helixRepo: dotnet/sdk
Expand Down Expand Up @@ -118,11 +119,11 @@ jobs:
continueOnError: true
condition: always()

- task: ${{ parameters.publishTaskName }}
- task: ${{ parameters.oneEsPt.publishTaskName }}
displayName: Publish Logs
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: '${{ parameters.pool.os }}_$(Agent.JobName)_$(Build.BuildNumber)'
PathtoPublish: $(Build.ArtifactStagingDirectory)
ArtifactName: ${{ parameters.pool.os }}_$(Agent.JobName)_$(Build.BuildNumber)
publishLocation: Container
continueOnError: true
condition: always()