You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% metadata_file .yamato/project.metafile %}# All configuration that is used to create different configurations (used in for loops) is taken from this file.
2
2
---
3
3
4
-
# Jobs that iterate through and packs all NGO projects listed (to use in different jobs)
5
-
# For this job no specific platform support and no running Unity instance is required so small agent (as per project.metafile definition) coul be used to save resources and speed up the process
6
-
# If everyone adheres to this rule it can create bottlenecks (since everyone would use this machine) so we decided to pack project with the same platform as the given job runs on
# These jobs prepare project packages that will be consumed by other pipeline jobs
7
+
# While these jobs don't require Unity Editor, they're distributed across platforms to prevent bottlenecks that would occur if all packaging was done on minimal VMs
{% for project in projects.all -%} # Jobs are being defined per each project as in project.metafile (testproject, minimalproject, testproject-tools-integration).
27
+
{% for platform in test_platforms.desktop -%} # Jobs are being defined per each desktop platform as in project.metafile declaration (Win, Ubuntu, Mac)
28
+
project_pack_-_{{ project.name }}_{{ platform.name }}: # This is a job name when querying from code (for example in _run-all.yml). Notice that parts of it will be filled in from for loops. For example there will be a configuration "project_pack_-_testproject_win" and when querying for this job we could for example change some values to get a given job (for example change platform value) and this will query different job configuration.
29
+
name: Project Pack - {{ project.name }} [{{ platform.name }}] # This is a job name visible in Yamato (notice that here we also use "generated" fields from for loops
11
30
agent:
12
-
type: {{ platform.type }}
13
-
image: {{ platform.image }}
14
-
flavor: {{ platform.flavor }}
31
+
type: {{ platform.type }}# Defines type from platform configuration (for example Unity::VM). For packing no GPU extension is needed
0 commit comments