Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ Packages/com.unity.inputsystem/**/*.api.meta
Packages/com.unity.package-manager-ui/
Packages/com.unity.package-manager-doctools/

Tools/CI/[Bb]in
Tools/CI/[Oo]bj

.Editor
.bin
.download
2 changes: 1 addition & 1 deletion .yamato/promotion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ promote:
image: package-ci/win10:default
flavor: b1.large
dependencies:
- .yamato/publish-samples.yml
- .yamato/publish-samples.yml#test_sample_projects
variables:
UPMCI_PROMOTION: 1
commands:
Expand Down
60 changes: 60 additions & 0 deletions .yamato/wrench/api-validation-jobs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Auto-generated by Recipe Engine, do not modify manually.
# This job is generated by the wrench recipe engine module, see find the docs here: https://internaldocs.unity.com/packageworks/wrench/gettingstarted/

# upm-ci validation tests for API Validation - inputsystem - 2019.4 - windows (2019.4 - Windows).
api_validation_-_inputsystem_-_2019_4_-_windows:
name: API Validation - inputsystem - 2019.4 - windows
agent:
image: package-ci/win10:default
type: Unity::VM
flavor: b1.large
commands:
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.zip -o wrench-localapv.zip
- command: 7z x -aoa wrench-localapv.zip
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
- command: python PythonScripts/print_machine_info.py
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
timeout: 20
retries: 10
- command: unity-downloader-cli -u 2019.4 -c Editor --fast
timeout: 10
retries: 3
- command: python PythonScripts/PackageJsonCondersor.py
timeout: 1
retries: 0
- command: upm-ci package test -u .Editor --package-path Packages/com.unity.inputsystem --type vetting-tests || exit 0
timeout: 30
retries: 0
- command: python PythonScripts/parse_upm_ci_results.py --package-path=Packages/com.unity.inputsystem
timeout: 2
retries: 0
after:
- command: cmd.exe /c "curl -s https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/setup/run_standalone_instability_detection-latest.bat --output run_standalone_instability_detection-latest.bat --retry 5 || exit 0"
- command: cmd.exe /c "run_standalone_instability_detection-latest.bat 0.5.0 || exit 0"
timeout: 10
retries: 1
artifacts:
Crash Dumps:
paths:
- CrashDumps/**
logs:
paths:
- '*.log'
- '*.xml'
- upm-ci~/test-results/**/*
- upm-ci~/temp/*/Logs/**
- upm-ci~/temp/*/Library/*.log
- upm-ci~/temp/*/*.log
- upm-ci~/temp/Builds/*.log
browsable: onNonSuccess
dependencies:
- path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem
variables:
UPMPVP_CONTEXT_WRENCH: 0.10.27.0
triggers:
expression: push.branch match "^release/.*"
cancel_old_ci: true
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 0.10.27.0

38 changes: 38 additions & 0 deletions .yamato/wrench/package-pack-jobs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Auto-generated by Recipe Engine, do not modify manually.
# This job is generated by the wrench recipe engine module, see find the docs here: https://internaldocs.unity.com/packageworks/wrench/gettingstarted/

# Pack and Sign Input System
package_pack_-_inputsystem:
name: Package Pack - inputsystem
agent:
image: package-ci/ubuntu-20.04:default
type: Unity::VM
flavor: b1.large
commands:
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
timeout: 20
retries: 10
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-48_af8ccda5754d138ef82ae29c11ddbefa5d3dff1a8f0ddf204c7de9cefa388209.zip -o wrench-localapv.zip
- command: 7z x -aoa wrench-localapv.zip
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
- command: python PythonScripts/print_machine_info.py
- command: mv ./Assets/Samples ./Packages/com.unity.inputsystem
- command: mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem
- command: upm-ci package pack --package-path Packages/com.unity.inputsystem
- command: cp upm-ci~/packages/packages.json upm-ci~/packages/com.unity.inputsystem_packages.json
after:
- command: curl -s https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/setup/run_standalone_instability_detection-latest.sh --output run_standalone_instability_detection-latest.sh --retry 5 || exit 0
- command: bash ./run_standalone_instability_detection-latest.sh ubuntu 0.5.0 || exit 0
timeout: 10
retries: 1
artifacts:
packages:
paths:
- upm-ci~/packages/**/*
variables:
UPMCI_ACK_LARGE_PACKAGE: 1
UPMPVP_CONTEXT_WRENCH: 0.10.27.0
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 0.10.27.0

Loading