chore: Updated yamato environments (#321)

* updated yamato environments

* fix build error

* include test folder

* fixed webapp error

* fixed webapp error
This commit is contained in:
Kazuki Matsumoto 2020-08-22 07:06:51 +09:00 коммит произвёл GitHub
Родитель 84eabac4ed
Коммит f3a0fa0e18
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 20 добавлений и 7 удалений

Просмотреть файл

@ -1,8 +1,9 @@
upm:
registry_url: https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
package_version: stable
intra_pypi_url: https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
editors:
- version: 2019.3
- version: 2019.4
platforms:
- name: win
type: Unity::VM::GPU

Просмотреть файл

@ -28,7 +28,7 @@ pack_renderstreaming_export_unitypackage_{{ sample.name }}:
image: renderstreaming/ubuntu-18.04:latest
flavor: b1.large
commands:
- sudo pip install unity-downloader-cli --extra-index-url https://artifactory.eu-cph-1.unityops.net/api/pypi/common-python/simple --upgrade
- sudo pip install unity-downloader-cli --index-url {{ intra_pypi_url }} --upgrade
- unity-downloader-cli -u {{ editor_version }} -c editor --wait --published
- ./export_unity_package.sh ".Editor/Unity" {{ sample.project_path }} ../../{{ sample.unitypackage_path }} "./Logs/Editor02_ExportSample.log"
artifacts:
@ -53,9 +53,9 @@ test_renderstreaming_sample_{{ sample.name }}_{{ platform.name }}_{{ editor.vers
- {{ platform.copy_sample_command }} com.unity.renderstreaming {{ sample.name }}
- npm install upm-ci-utils@{{ upm.package_version }} -g --registry {{ upm.registry_url }}
{% if platform.name == "win" %}
- pip install unity-downloader-cli --extra-index-url https://artifactory.eu-cph-1.unityops.net/api/pypi/common-python/simple --upgrade
- pip install unity-downloader-cli --index-url {{ intra_pypi_url }} --upgrade
{% else %}
- sudo pip install unity-downloader-cli --extra-index-url https://artifactory.eu-cph-1.unityops.net/api/pypi/common-python/simple --upgrade
- sudo pip install unity-downloader-cli --index-url {{ intra_pypi_url }} --upgrade
{% endif %}
- unity-downloader-cli -u {{ editor.version }} -c editor --wait --published
- {{ platform.run_editor_tests_command }} "{{ platform.unity_path }}" {{ project_path }} "./Logs/Editor01.log" "./Logs/TestResults01.xml"

Просмотреть файл

@ -7,7 +7,7 @@ module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: {
sourceType: "module",
project: "./tsconfig.json",
project: "./tsconfig.lint.json",
},
plugins: ["@typescript-eslint"],
rules: {

Просмотреть файл

@ -784,7 +784,7 @@
{
"id": "94471478-f191-4511-acc9-a0636873ed02",
"key": "url",
"value": "localhost",
"value": "localhost:8080",
"type": "string"
},
{

12
WebApp/tsconfig.lint.json Normal file
Просмотреть файл

@ -0,0 +1,12 @@
{
"include": ["src/**/*", "test/**/*"],
"exclude": ["node_modules", "**/*.spec.ts"],
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"lib": ["dom","es5"],
"sourceMap": false,
"outDir":"build",
"rootDir":"src"
}
}

Просмотреть файл

@ -2,5 +2,5 @@ cd WebApp
call npm install
call npm run lint
call npm run test
start npm run dev
start npm run dev -- -p 8080
call npm run newman