Skip to content

Commit

Permalink
Use slough artifactory for choco installs in yamato jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourcegraph committed Apr 2, 2024
1 parent d02ed86 commit 3a5958e
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 38 deletions.
24 changes: 12 additions & 12 deletions .yamato/_templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pre_pack_hdrp_template_Win_trunk:
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor\Unity.exe -projectPath com.unity.template-hd -batchmode -quit -logFile ./Editor.log
dependencies:
Expand Down Expand Up @@ -53,7 +53,7 @@ test_hdrp_template_Win_trunk:
- .yamato/_editor_priming.yml#editor:priming:trunk:Win
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u .\.Editor --project-path com.unity.template-hd
artifacts:
Expand Down Expand Up @@ -156,7 +156,7 @@ pre_pack_hdrp_template_Win_CUSTOM-REVISION:
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor\Unity.exe -projectPath com.unity.template-hd -batchmode -quit -logFile ./Editor.log
dependencies:
Expand Down Expand Up @@ -195,7 +195,7 @@ test_hdrp_template_Win_CUSTOM-REVISION:
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u .\.Editor --project-path com.unity.template-hd
artifacts:
Expand Down Expand Up @@ -306,7 +306,7 @@ pre_pack_hdrp_blank_template_Win_trunk:
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor\Unity.exe -projectPath com.unity.template.hdrp-blank -batchmode -quit -logFile ./Editor.log
dependencies:
Expand Down Expand Up @@ -345,7 +345,7 @@ test_hdrp_blank_template_Win_trunk:
- .yamato/_editor_priming.yml#editor:priming:trunk:Win
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u .\.Editor --project-path com.unity.template.hdrp-blank
artifacts:
Expand Down Expand Up @@ -448,7 +448,7 @@ pre_pack_hdrp_blank_template_Win_CUSTOM-REVISION:
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor\Unity.exe -projectPath com.unity.template.hdrp-blank -batchmode -quit -logFile ./Editor.log
dependencies:
Expand Down Expand Up @@ -487,7 +487,7 @@ test_hdrp_blank_template_Win_CUSTOM-REVISION:
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u .\.Editor --project-path com.unity.template.hdrp-blank
artifacts:
Expand Down Expand Up @@ -598,7 +598,7 @@ pre_pack_universal_template_Win_trunk:
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor\Unity.exe -projectPath com.unity.template-universal -batchmode -quit -logFile ./Editor.log
dependencies:
Expand Down Expand Up @@ -637,7 +637,7 @@ test_universal_template_Win_trunk:
- .yamato/_editor_priming.yml#editor:priming:trunk:Win
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u .\.Editor --project-path com.unity.template-universal
artifacts:
Expand Down Expand Up @@ -740,7 +740,7 @@ pre_pack_universal_template_Win_CUSTOM-REVISION:
image: package-ci/win10:v4.30.0
flavor: b1.large
commands:
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- .Editor\Unity.exe -projectPath com.unity.template-universal -batchmode -quit -logFile ./Editor.log
dependencies:
Expand Down Expand Up @@ -779,7 +779,7 @@ test_universal_template_Win_CUSTOM-REVISION:
- .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Win
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
- unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
- upm-ci template test -u .\.Editor --project-path com.unity.template-universal
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion .yamato/config/__shared.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ platforms:
del revdate.tmp
utr <UTR_FLAGS> & exit 0
unity_downloader_cli:
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli <EDITOR_REVISION_CMD> <COMPONENTS> --wait --published-only
retries: 2
Expand Down
2 changes: 1 addition & 1 deletion .yamato/config/urp_template.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ reuse_blocks:
unity_downloader_cli:
- [all]: <shared.platform.commands.setup_utr>
- [Win_DX11, Win_DX12, Win_Vulkan]:
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli <EDITOR_REVISION_CMD> -c editor --wait --published-only
retries: 2
Expand Down
8 changes: 4 additions & 4 deletions .yamato/postprocessing-win-dx11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PostProcessing_Win_DX11_playmode_mono_Linear_trunk:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
Expand Down Expand Up @@ -88,7 +88,7 @@ Build_PostProcessing_Win_DX11_Standalone_mono_Linear_trunk:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
Expand Down Expand Up @@ -125,7 +125,7 @@ PostProcessing_Win_DX11_playmode_mono_Linear_CUSTOM-REVISION:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
Expand Down Expand Up @@ -190,7 +190,7 @@ Build_PostProcessing_Win_DX11_Standalone_mono_Linear_CUSTOM-REVISION:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
Expand Down
8 changes: 4 additions & 4 deletions .yamato/postprocessing-win-dx12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PostProcessing_Win_DX12_playmode_mono_Linear_trunk:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
Expand Down Expand Up @@ -88,7 +88,7 @@ Build_PostProcessing_Win_DX12_Standalone_mono_Linear_trunk:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
Expand Down Expand Up @@ -125,7 +125,7 @@ PostProcessing_Win_DX12_playmode_mono_Linear_CUSTOM-REVISION:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
Expand Down Expand Up @@ -190,7 +190,7 @@ Build_PostProcessing_Win_DX12_Standalone_mono_Linear_CUSTOM-REVISION:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
Expand Down
8 changes: 4 additions & 4 deletions .yamato/postprocessing-win-vulkan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PostProcessing_Win_Vulkan_playmode_mono_Linear_trunk:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
Expand Down Expand Up @@ -88,7 +88,7 @@ Build_PostProcessing_Win_Vulkan_Standalone_mono_Linear_trunk:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
Expand Down Expand Up @@ -125,7 +125,7 @@ PostProcessing_Win_Vulkan_playmode_mono_Linear_CUSTOM-REVISION:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
Expand Down Expand Up @@ -190,7 +190,7 @@ Build_PostProcessing_Win_Vulkan_Standalone_mono_Linear_CUSTOM-REVISION:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
Expand Down
8 changes: 4 additions & 4 deletions .yamato/urp_template-win-dx11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ URP_Template_Win_DX11_playmode_mono_Linear_trunk:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
Expand Down Expand Up @@ -88,7 +88,7 @@ Build_URP_Template_Win_DX11_Standalone_mono_Linear_trunk:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
retries: 2
Expand Down Expand Up @@ -125,7 +125,7 @@ URP_Template_Win_DX11_playmode_mono_Linear_CUSTOM-REVISION:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
retries: 2
Expand Down Expand Up @@ -190,7 +190,7 @@ Build_URP_Template_Win_DX11_Standalone_mono_Linear_CUSTOM-REVISION:
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/choco
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only
retries: 2
Expand Down
Loading

0 comments on commit 3a5958e

Please sign in to comment.