Skip to content

Commit 296979f

Browse files
miguelalonsojrGitHub Enterprise
authored andcommitted
Fixed upm ci bug in yamato tests. (#67)
1 parent 0848b2c commit 296979f

5 files changed

+7
-7
lines changed

.yamato/com.unity.ml-agents-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test_coverage_{{ package.name }}_{{ platform.name }}_{{ editor.version }}:
1313
flavor: {{ platform.flavor}}
1414
commands:
1515
- git submodule update --init --recursive
16-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
16+
- npm install upm-ci-utils@1.27.0 -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
1717
- upm-ci project test -u {{ editor.version }} --type project-tests --project-path {{ editor.testProject }} --package-filter {{ package.name }} {{ coverageOptions }} --extra-utr-arg "reruncount=2"
1818
- |
1919
conda activate python3.7

.yamato/com.unity.ml-agents-promotion.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ promotion_test_{{ platform.name }}_{{ editor.version }}:
1818
variables:
1919
UPMCI_PROMOTION: 1
2020
commands:
21-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
21+
- npm install upm-ci-utils@1.27.0 -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
2222
- upm-ci package test --unity-version {{ editor.version }} --package-path com.unity.ml-agents
2323
artifacts:
2424
logs:
@@ -48,7 +48,7 @@ promote:
4848
variables:
4949
UPMCI_PROMOTION: 1
5050
commands:
51-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
51+
- npm install upm-ci-utils@1.27.0 -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
5252
- upm-ci package promote --package-path com.unity.ml-agents
5353
# triggers:
5454
# tags:

.yamato/com.unity.ml-agents-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ publish:
77
variables:
88
UPMCI_ENABLE_PACKAGE_SIGNING: 1
99
commands:
10-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
10+
- npm install upm-ci-utils@1.27.0 -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
1111
- upm-ci package publish --package-path com.unity.ml-agents
1212
triggers:
1313
cancel_old_ci: true

.yamato/com.unity.ml-agents-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ test_{{ package.name }}_{{ platform.name }}_{{ editor.version }}:
8080
flavor: {{ platform.flavor}}
8181
commands:
8282
- git submodule update --init --recursive
83-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
83+
- npm install upm-ci-utils@1.27.0 -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
8484
- upm-ci package test -u {{ editor.version }} --package-path {{ package.name }} {{ noDefaultPackagesOptions }} --warnings-as-errors --extra-utr-arg "reruncount=2"
8585
artifacts:
8686
logs:
@@ -132,7 +132,7 @@ test_{{ package.name }}_{{ platform.name }}_trunk:
132132
{% endif %}
133133
python -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
134134
unity-downloader-cli -u trunk -c editor --wait --fast
135-
npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
135+
npm install upm-ci-utils@1.27.0 -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
136136
upm-ci project test -u {{ editor.version }} --project-path {{ editor.testProject }} --package-filter {{ package.name }} --extra-create-project-arg="-upmNoDefaultPackages" --extra-utr-arg "reruncount=2"
137137
artifacts:
138138
logs:

.yamato/sonar-python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ csharp:
1010
SONARQUBE_LOGIN: a08467db099d82931708d480b8dbf428cf1921d5
1111
TARGET_BRANCH: develop
1212
commands:
13-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.it.unity3d.com/artifactory/api/npm/upm-npm
13+
- npm install upm-ci-utils@1.27.0 -g --registry https://artifactory.prd.it.unity3d.com/artifactory/api/npm/upm-npm
1414
- curl https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.7.0.2747-macosx.zip -o sonar-scanner-cli-macosx.zip -L
1515
- unzip sonar-scanner-cli-macosx.zip -d ~/sonar-scanner-cli
1616
- ~/sonar-scanner-cli/sonar-scanner-4.7.0.2747-macosx/bin/sonar-scanner -Dsonar.projectKey=$SONARQUBE_PROJECT_KEY -Dsonar.sources=. -Dsonar.host.url=$SONARQUBE_URL -Dsonar.login=$SONARQUBE_LOGIN -Dsonar.branch.name=$TARGET_BRANCH -Dsonar.scm.provider=git

0 commit comments

Comments
 (0)