Skip to content

Commit 332cb31

Browse files
committed
Fix CI for running merge queues
1 parent 2d0177d commit 332cb31

File tree

7 files changed

+47
-47
lines changed

7 files changed

+47
-47
lines changed

.yamato/analyze.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ code_analyser:
2121
- targets:
2222
only:
2323
- "develop"
24-
- "gh-readonly-queue/{base_branch}"
24+
- "gh-readonly-queue/develop"
2525
artifacts:
2626
UTR_Output.zip:
2727
paths:

.yamato/format.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ check_formatting:
1616
- targets:
1717
only:
1818
- "develop"
19-
- "gh-readonly-queue/{base_branch}"
19+
- "gh-readonly-queue/develop"

.yamato/promotion.yml

+24-24
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
#{% metadata_file .yamato/config.metadata %}
2-
#---
3-
#
4-
#promote:
5-
# name: Promote to Production
6-
# agent:
7-
# type: Unity::VM
8-
# image: package-ci/win10:default
9-
# flavor: b1.large
10-
# dependencies:
11-
# - .yamato/publish-samples.yml
12-
# variables:
13-
# UPMCI_PROMOTION: 1
14-
# commands:
15-
# - move /Y .\Assets\Samples .\Packages\com.unity.inputsystem
16-
# - xcopy /Y /H .\Assets\Samples.meta .\Packages\com.unity.inputsystem
17-
# - del /AH .\Assets\Samples.meta
18-
# - {{ upm_ci_install }}
19-
# - upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
20-
# - upm-ci package promote --package-path ./Packages/com.unity.inputsystem/
21-
# artifacts:
22-
# artifacts:
23-
# paths:
24-
# - "upm-ci~/**/*"
1+
{% metadata_file .yamato/config.metadata %}
2+
---
3+
4+
promote:
5+
name: Promote to Production
6+
agent:
7+
type: Unity::VM
8+
image: package-ci/win10:default
9+
flavor: b1.large
10+
dependencies:
11+
- .yamato/publish-samples.yml
12+
variables:
13+
UPMCI_PROMOTION: 1
14+
commands:
15+
- move /Y .\Assets\Samples .\Packages\com.unity.inputsystem
16+
- xcopy /Y /H .\Assets\Samples.meta .\Packages\com.unity.inputsystem
17+
- del /AH .\Assets\Samples.meta
18+
- {{ upm_ci_install }}
19+
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
20+
- upm-ci package promote --package-path ./Packages/com.unity.inputsystem/
21+
artifacts:
22+
artifacts:
23+
paths:
24+
- "upm-ci~/**/*"

.yamato/publish-samples.yml

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
#{% metadata_file .yamato/config.metadata %}
2-
#---
3-
#
4-
#test_sample_projects:
5-
# name : Publish Sample Projects
6-
# agent:
7-
# type: Unity::VM::osx
8-
# image: package-ci/macos-12:default
9-
# flavor: m1.mac
10-
# commands:
11-
# - {{ upm_ci_install }}
12-
# - upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
13-
# - upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u 2019.4
14-
# - Editor=.Editor/Unity.app/Contents/MacOS/Unity Method=Publish sh ExternalSampleProjects/publish.sh
15-
# artifacts:
16-
# UTR_Output.zip:
17-
# paths:
18-
# - "upm-ci~/**/*"
1+
{% metadata_file .yamato/config.metadata %}
2+
---
3+
4+
test_sample_projects:
5+
name : Publish Sample Projects
6+
agent:
7+
type: Unity::VM::osx
8+
image: package-ci/macos-12:default
9+
flavor: m1.mac
10+
commands:
11+
- {{ upm_ci_install }}
12+
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
13+
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u 2019.4
14+
- Editor=.Editor/Unity.app/Contents/MacOS/Unity Method=Publish sh ExternalSampleProjects/publish.sh
15+
artifacts:
16+
UTR_Output.zip:
17+
paths:
18+
- "upm-ci~/**/*"

.yamato/sonarqube.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ Windows-Dotnet-SonarScanner:
3636
- targets:
3737
only:
3838
- "develop"
39-
- "gh-readonly-queue/{base_branch}"
39+
- "gh-readonly-queue/develop"

.yamato/test-samples.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test_sample_projects_{{ editor.version }}:
1818
- targets:
1919
only:
2020
- "develop"
21-
- "gh-readonly-queue/{base_branch}"
21+
- "gh-readonly-queue/develop"
2222
artifacts:
2323
UTR_Output.zip:
2424
paths:

.yamato/upm-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ all_tests:
228228
- targets:
229229
only:
230230
- "develop"
231-
- "gh-readonly-queue/{base_branch}"
231+
- "gh-readonly-queue/develop"
232232

233233
{% for run in (1..2) %}
234234
publish{% cycle "", "_dryrun" %}:

0 commit comments

Comments
 (0)