浏览代码

exp seperate publish file

/publish-fix
Wesley Mareovich Smith 4 年前
当前提交
55366dbd
共有 2 个文件被更改,包括 38 次插入34 次删除
  1. 42
      .yamato/upm-ci-full.yml
  2. 30
      .yamato/publish.yml

42
.yamato/upm-ci-full.yml


test_editors:
- version: 2019.3.7f1
- version: 2019.3.15f1
test_platforms:
- name: win
type: Unity::VM

{% endfor %}
{% endfor %}
{% endfor %}
# Disabling trigger of standalone tests which aren't working at the moment
#{% for editor in test_editors %}
#- .yamato/upm-ci-testprojects.yml#codecoverage_windows_editmode_{{editor.version}}
#{% for project in projects %}
#- .yamato/upm-ci-testprojects.yml#{{project.name}}_windows_standalone_{{editor.version}}
#- .yamato/upm-ci-testprojects.yml#{{project.name}}_linux_standalone_{{editor.version}}
#- .yamato/upm-ci-testprojects.yml#{{project.name}}_windows_editmode_{{editor.version}}
#- .yamato/upm-ci-testprojects.yml#{{project.name}}_linux_editmode_{{editor.version}}
#{% endfor %}
#{% endfor %}
{% for variant in package_variants %}
deploy:
name: Publish {{ variant.name }} package to internal registry
agent:
type: Unity::VM
image: package-ci/win10:stable
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package publish --package-path com.unity.perception
triggers:
tags:
only:
- /^(r|R)(c|C)-\d+\.\d+\.\d+(-preview(\.\d+)?)?$/
artifacts:
artifacts:
paths:
- "upm-ci~/packages/*.tgz"
dependencies:
- .yamato/upm-ci-full.yml#pack_{{ variant.name }}
# Disabling trigger of standalone tests which aren't working at the moment
{% for platform in test_platforms %}
- .yamato/upm-ci-full.yml#test_perception_{{ platform.name }}_{{ editor.version }}
- .yamato/upm-ci-testprojects.yml#codecoverage_windows_editmode_{{editor.version}}
{% for project in projects %}
- .yamato/upm-ci-testprojects.yml#{{project.name}}_windows_standalone_{{editor.version}}
- .yamato/upm-ci-testprojects.yml#{{project.name}}_linux_standalone_{{editor.version}}
- .yamato/upm-ci-testprojects.yml#{{project.name}}_windows_editmode_{{editor.version}}
- .yamato/upm-ci-testprojects.yml#{{project.name}}_linux_editmode_{{editor.version}}
{% endfor %}

30
.yamato/publish.yml


{% metadata_file .yamato/upm-ci-full.yml %}
---
{% for variant in package_variants %}
publish:
name: Publish {{ variant.name }} package to internal registry
agent:
type: Unity::VM
image: package-ci/win10:stable
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package publish --package-path com.unity.perception
triggers:
tags:
only:
- /^(r|R)(c|C)-\d+\.\d+\.\d+(-preview(\.\d+)?)?$/
artifacts:
artifacts:
paths:
- "upm-ci~/packages/*.tgz"
dependencies:
- .yamato/upm-ci-full.yml#pack_{{ variant.name }}
{% for editor in test_editors %}
{% for platform in test_platforms %}
- .yamato/upm-ci-full.yml#test_perception_{{ platform.name }}_{{ editor.version }}
{% endfor %}
{% endfor %}
{% endfor %}
正在加载...
取消
保存