-
Notifications
You must be signed in to change notification settings - Fork 177
/
MeshSync-updated-dependencies-test.yml
66 lines (61 loc) · 2.3 KB
/
MeshSync-updated-dependencies-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{% metadata_file .yamato/MeshSync.metafile %}
---
{% for test_config in test_configs %}
{% for test_platform in test_config.test_platforms %}
{% for step in test_platform.test_type.steps %}
{% assign platform_type = test_platform.platform_type %}
{% assign editor_version= test_config.editor_version %}
dependency_{{ platform_type.name }}_{{ editor_version }}_{{step.name}}:
name : Dependency Test {{ yamato_name }} using {{ test_config.editor_version }} with {{step.name}} on {{ platform_type.name }}
agent:
type: {{ platform_type.type }}
image: {{ platform_type.image }}
flavor: {{ platform_type.flavor}}
commands:
- {{ platform_type.cmd_prefix}} npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- {{ platform_type.cmd_prefix}} upm-ci package test -u {{ editor_version }} --type updated-dependencies-tests {{step.arguments}}
artifacts:
{{ yamato_name }}_dependency_artifacts:
paths:
- "upm-ci~/test-results/**/*"
dependencies:
- .yamato/{{ yamato_name }}-pack.yml#pack
{% endfor %}
{% endfor %}
{% endfor %}
dependency_test_trigger:
name: Dependency Tests Trigger for {{ yamato_name }}
agent:
type: {{ trigger_platform.type }}
image: {{ trigger_platform.image }}
flavor: {{ trigger_platform.flavor}}
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package izon -d
artifacts:
{{ yamato_name }}_dependency_test_trigger_artifacts:
paths:
- "upm-ci~/test-results/**/*"
{{ yamato_name }}_dependency_test_packages:
paths:
- "upm-ci~/packages/**/*"
# triggers:
# branches:
# only:
# - "/.*/"
# except:
# - "dev"
# - "**/dev"
# recurring:
# - branch: dev
# frequency: daily
# rerun: on_new_revision
dependencies:
- .yamato/{{ yamato_name }}-pack.yml#pack
{% for test_config in test_configs %}
{% for test_platform in test_config.test_platforms %}
{% for step in test_platform.test_type.steps %}
- .yamato/{{ yamato_name }}-updated-dependencies-test.yml#dependency_{{ test_platform.platform_type.name }}_{{ test_config.editor_version }}_{{step.name}}
{% endfor %}
{% endfor %}
{% endfor %}