浏览代码

fixes

/main
Wesley Mareovich Smith 4 年前
当前提交
69be065f
共有 2 个文件被更改,包括 24 次插入13 次删除
  1. 33
      .yamato/promotion.yml
  2. 4
      .yamato/publish.yml

33
.yamato/promotion.yml


{% metadata_file .yamato/environments.yml %}
---
{% for editor in publish_editors %}
{% for platform in publish_platforms %}
{% for variant in package_variants %}
{% for editor in test_editors %}
{% for platform in test_platforms %}
name : Promotion Test {{ editor.version }} on {{ platform.name }}
name : Package tests ({{variant.name}} pkg, {{ editor.version }}, {{ platform.name }})
type: Unity::VM
image: package-ci/win10:stable
flavor: b1.large
type: {{ platform.type }}
image: {{ platform.image }}
flavor: {{ platform.flavor}}
- npm install upm-ci-utils@stable -g --registry {{ upmci_registry }}
- upm-ci package test --unity-version {{ editor.version }} --package-path package
- git submodule update --init --recursive
- npm install upm-ci-utils -g --registry {{ upmci_registry }}
- upm-ci package test -u {{ editor.version }} --package-path ./com.unity.perception --type vetting-tests
- .yamato/pack.yml#pack
- .yamato/upm-ci-full.yml#pack_{{ variant.name }}
{% endfor %}
{% endfor %}
{% endfor %}

{% for editor in publish_editors %}
{% for platform in publish_platforms %}
{% for suite in suites %}
{% for project in projects %}
- .yamato/upm-ci-full.yml#pkg_test_{{variant.name}}_{{platform.name}}_{{editor.version}}
- .yamato/upm-ci-testprojects#{{project.name}}_windows_{{suite.name}}_{{editor.version}}.yml#
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}

UPMCI_PROMOTION: 1
commands:
- npm install upm-ci-utils@stable -g --registry {{ upmci_registry }}
- upm-ci package promote --package-path package --dry-run
- upm-ci package promote --package-path ./com.unity.perception
triggers:
tags:
only:

paths:
- "upm-ci~/packages/*.tgz"
dependencies:
- .yamato/pack.yml#pack
{% for variant in package_variants %}
- .yamato/upm-ci-full.yml#pack_{{ variant.name }}
{% endfor %}
{% endfor %}
{% endfor %}

4
.yamato/publish.yml


- npm install upm-ci-utils@stable -g --registry {{ upmci_registry }}
- upm-ci package publish --package-path com.unity.perception
triggers:
branches:
tags:
- "/.*/"
- "/^(r|R)(c|C)-\d+\.\d+\.\d+(-preview(\.\d+)?)?$/"
artifacts:
artifacts:
paths:

正在加载...
取消
保存