Skip to content

Commit ff3b44a

Browse files
authored
Fix unofficial build (#63470)
* Add missing r * Try something * options * git * Undo * Fixup
1 parent baa502d commit ff3b44a

File tree

1 file changed

+47
-15
lines changed

1 file changed

+47
-15
lines changed

.azure/pipelines/ci-unofficial.yml

Lines changed: 47 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ variables:
7575
exclude:artifacts
7676
- template: /eng/common/templates-official/variables/pool-providers.yml@self
7777

78-
esources:
78+
resources:
7979
repositories:
8080
# Repo: 1ESPipelineTemplates/1ESPipelineTemplates
8181
- repository: 1esPipelines
@@ -111,6 +111,9 @@ extends:
111111
jobName: Code_check
112112
jobDisplayName: Code check
113113
agentOs: Windows
114+
beforeBuild:
115+
- script: git submodule update --init
116+
displayName: Update submodules
114117
steps:
115118
- powershell: ./eng/scripts/CodeCheck.ps1 -ci $(_InternalRuntimeDownloadArgs)
116119
displayName: Run eng/scripts/CodeCheck.ps1
@@ -127,6 +130,9 @@ extends:
127130
jobName: Windows_build
128131
jobDisplayName: "Build: Windows x64/x86/arm64"
129132
agentOs: Windows
133+
beforeBuild:
134+
- script: git submodule update --init
135+
displayName: Update submodules
130136
steps:
131137
- ${{ if notIn(variables['Build.Reason'], 'PullRequest') }}:
132138
- script: echo "##vso[build.addbuildtag]daily-build"
@@ -258,6 +264,9 @@ extends:
258264
jobDisplayName: "Build: macOS arm64"
259265
agentOs: macOs
260266
timeoutInMinutes: 90
267+
beforeBuild:
268+
- script: git submodule update --init
269+
displayName: Update submodules
261270
buildArgs:
262271
--arch arm64
263272
--pack
@@ -289,6 +298,9 @@ extends:
289298
jobDisplayName: "Build: macOS x64"
290299
agentOs: macOs
291300
timeoutInMinutes: 90
301+
beforeBuild:
302+
- script: git submodule update --init
303+
displayName: Update submodules
292304
buildArgs:
293305
--pack
294306
--all
@@ -319,6 +331,9 @@ extends:
319331
jobDisplayName: "Build: Linux x64"
320332
agentOs: Linux
321333
useHostedUbuntu: false
334+
beforeBuild:
335+
- script: git submodule update --init
336+
displayName: Update submodules
322337
buildArgs:
323338
--arch x64
324339
--pack
@@ -350,6 +365,9 @@ extends:
350365
jobName: Linux_arm_build
351366
jobDisplayName: "Build: Linux ARM"
352367
agentOs: Linux
368+
beforeBuild:
369+
- script: git submodule update --init
370+
displayName: Update submodules
353371
buildArgs:
354372
--arch arm
355373
--pack
@@ -380,6 +398,9 @@ extends:
380398
jobName: Linux_arm64_build
381399
jobDisplayName: "Build: Linux ARM64"
382400
agentOs: Linux
401+
beforeBuild:
402+
- script: git submodule update --init
403+
displayName: Update submodules
383404
buildArgs:
384405
--arch arm64
385406
--pack
@@ -412,6 +433,9 @@ extends:
412433
jobDisplayName: "Build: Linux Musl x64"
413434
agentOs: Linux
414435
container: azureLinux30Net10BuildAmd64
436+
beforeBuild:
437+
- script: git submodule update --init
438+
displayName: Update submodules
415439
buildArgs:
416440
--arch x64
417441
--os-name linux-musl
@@ -446,6 +470,9 @@ extends:
446470
agentOs: Linux
447471
useHostedUbuntu: false
448472
container: azureLinux30Net10BuildAmd64
473+
beforeBuild:
474+
- script: git submodule update --init
475+
displayName: Update submodules
449476
buildArgs:
450477
--arch arm
451478
--os-name linux-musl
@@ -479,6 +506,9 @@ extends:
479506
agentOs: Linux
480507
useHostedUbuntu: false
481508
container: azureLinux30Net10BuildAmd64
509+
beforeBuild:
510+
- script: git submodule update --init
511+
displayName: Update submodules
482512
buildArgs:
483513
--arch arm64
484514
--os-name linux-musl
@@ -517,6 +547,8 @@ extends:
517547
/p:SkipIISExpressTests=true /p:SkipIISNewShimTests=true /p:RunBlazorPlaywrightTemplateTests=true /p:DoNotCleanUpTemplates=true
518548
$(_InternalRuntimeDownloadArgs)
519549
beforeBuild:
550+
- script: git submodule update --init
551+
displayName: Update submodules
520552
- powershell: "& ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
521553
displayName: Setup IISExpress test certificates and schema
522554
artifacts:
@@ -540,6 +572,8 @@ extends:
540572
isAzDOTestingJob: true
541573
buildArgs: --all --test --binaryLog /p:RunTemplateTests=false /p:SkipHelixReadyTests=true $(_InternalRuntimeDownloadArgs)
542574
beforeBuild:
575+
- script: git submodule update --init
576+
displayName: Update submodules
543577
- bash: "./eng/scripts/install-nginx-mac.sh"
544578
displayName: Installing Nginx
545579
artifacts:
@@ -561,6 +595,8 @@ extends:
561595
useHostedUbuntu: false
562596
buildArgs: --all --test --binaryLog /p:RunTemplateTests=false /p:SkipHelixReadyTests=true $(_InternalRuntimeDownloadArgs)
563597
beforeBuild:
598+
- script: git submodule update --init
599+
displayName: Update submodules
564600
- bash: "./eng/scripts/install-nginx-linux.sh"
565601
displayName: Installing Nginx
566602
- bash: "echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p"
@@ -582,6 +618,9 @@ extends:
582618
jobDisplayName: 'Tests: Helix x64 Subset 1'
583619
agentOs: Windows
584620
timeoutInMinutes: 240
621+
beforeBuild:
622+
- script: git submodule update --init
623+
displayName: Update submodules
585624
steps:
586625
# Build the shared framework
587626
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -pack -arch x64
@@ -611,6 +650,9 @@ extends:
611650
jobDisplayName: 'Tests: Helix x64 Subset 2'
612651
agentOs: Windows
613652
timeoutInMinutes: 240
653+
beforeBuild:
654+
- script: git submodule update --init
655+
displayName: Update submodules
614656
steps:
615657
# Build the shared framework
616658
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -pack -arch x64
@@ -642,6 +684,9 @@ extends:
642684
agentOs: Windows
643685
isAzDOTestingJob: true
644686
timeoutInMinutes: 240
687+
beforeBuild:
688+
- script: git submodule update --init
689+
displayName: Update submodules
645690
steps:
646691
- script: git submodule update --init
647692
displayName: Update submodules
@@ -670,17 +715,4 @@ extends:
670715
path: artifacts/log/
671716
publishOnError: true
672717
includeForks: true
673-
# Source build
674-
- template: /eng/common/templates-official/job/source-build.yml@self
675-
parameters:
676-
enableInternalSources: true
677-
platform:
678-
name: 'Managed'
679-
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream-10-amd64'
680-
buildScript: './eng/build.sh'
681-
buildArguments: '--source-build $(_InternalRuntimeDownloadArgs)'
682-
jobProperties:
683-
timeoutInMinutes: 120
684-
variables:
685-
# Log environment variables in binary logs to ease debugging
686-
MSBUILDLOGALLENVIRONMENTVARIABLES: true
718+

0 commit comments

Comments
 (0)