-
Notifications
You must be signed in to change notification settings - Fork 116
/
Copy pathrepo.toml
176 lines (139 loc) · 6.11 KB
/
repo.toml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
########################################################################################################################
# Repo tool base settings
########################################################################################################################
[repo]
# Use the Kit Template repo configuration as a base. Only override things specific to the repo.
import_configs = [
"${root}/_repo/deps/repo_kit_tools/kit-template/repo.toml",
"${root}/_repo/deps/repo_kit_tools/kit-template/repo-external-app.toml",
]
# Repository Name
name = "kit-app-template"
[repo_build]
# These are necessary to avoid a repo_build failure where the source/apps directory
# is expected to always exist.
fetch."platform:linux-x86_64".before_pull_commands = [
["mkdir", "--parents", "${root}/source/apps"],
]
# Mute this command, don't emit to console.
fetch."platform:windows-x86_64".before_pull_commands = [
["powershell", "-Command", "New-Item -ItemType Directory -Path ${root}/source/apps -ErrorAction SilentlyContinue", ";", "Write-Host 'Done'"],
]
# If caching do not try to cache extensions. These will come from the NGC Kit Extension Registry.
fetch."token:cache==true".after_pull_commands = []
[repo_build.build]
enabled = true
"platform:windows-x86_64".enabled = false
[repo_build.msbuild]
# If set to true will attempt to link to host's Visual Studio and Windows SDK installations.
# This is needed if C++ compilation is needed on Windows, and repo_build.build.enabled is set to true.
link_host_toolchain = false
# Filter on Visual Studio version e.g.: Visual Studio 2022. Empty string will match all years and prioritize the newest.
vs_version = "vs2022"
# Visual Studio path; This will be used if the user would like to point to a specific VS installation rather than rely on heuristic locating.
# vs_path = "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\"
# Filter specifically to "Enterprise", "Professional", or "Community" editions of Visual Studio
# vs_edition = "Community"
# Filter by Visual Studio installations that have installed this version of the MSVC compiler.
# msvc_version = "v142"
# Filter by Visual Studio installations that ship with MSBuild of this major version.
# msbuild_version = "17"
# Windows SDK version
# winsdk_version = "10.0.17763.0"
# Windows SDK path; This will prevent needing to dynamically locate an installation by guesswork.
# winsdk_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0"
# Disable linbuild until we have a public image available.
[repo_build.docker]
enabled = false
[repo_build.fetch.pip]
# List of pip files to pip install from (in order)
files_to_pull = [
"${root}/tools/deps/pip.toml"
]
# Do not gather Python dependency licenses
licensing_enabled = false
# Do not try to publish a pip cache to S3
publish_pip_cache = false
########################################################################################################################
# Extensions precacher
########################################################################################################################
[repo_precache_exts]
# Apps to run and precache
apps = [
]
registries = [
{ name = "kit/default", url = "https://ovextensionsprod.blob.core.windows.net/exts/kit/prod/106/shared" },
{ name = "kit/sdk", url = "https://ovextensionsprod.blob.core.windows.net/exts/kit/prod/sdk/${kit_version_short}/${kit_git_hash}" },
{ name = "kit/community", url = "https://dw290v42wisod.cloudfront.net/exts/kit/community" },
]
########################################################################################################################
# Packaging
########################################################################################################################
[repo_package.packages.fat_package]
root = "_build/$${platform}/$${config}"
archive_name = "${conf:repo.name}-fat"
# omniverse_flow_version_scheme sets package name to the format:
# archive_name@{build_version}+{gitbranch}.{builder_id}.{githash}.{build_environment}.{host_platform}.{archive_format}
# e.g. [email protected]+custom-app-stuff.0.12345678.local.linux-x86_64.zip
omniverse_flow_version_scheme=true
package_per_config = true # By default we only build + package release.
append_config = true # Set to true to append release/debug config to package name.
archive_format = "zip" # We support "7z", "zip", "tar.gz", "tar.bz2"
#build_version = "${file:${config_root}/tools/VERSION.md}" # It's ignored when omniverse_flow_version_scheme is true
files = [
["**"],
]
files_exclude = [
["_*/**"],
[".*/**"],
["**/*.pdb"],
["**/*.exp"],
["baseapp/**"],
["extsbuild/**"],
["cache/**"],
["data/**"],
["logs/**"],
["apps/kit.portable"],
["**/__pycache__"],
]
"linux-x86_64".files_strip = []
[repo_package.packages.thin_package]
root = "_build/$${platform}/$${config}"
archive_name = "${conf:repo.name}-thin"
omniverse_flow_version_scheme=true
package_per_config = true
append_config = true
archive_format = "zip"
#build_version = "${file:${config_root}/tools/VERSION.md}"
files = [
["**"],
]
files_exclude = [
["_*/**"],
[".*/**"],
["**/*.pdb"],
["**/*.exp"],
["kit/**"],
["extscache/**"],
["extsbuild/**"],
["baseapp/**"],
["cache/**"],
["data/**"],
["logs/**"],
["apps/kit.portable"],
["**/__pycache__"],
]
"linux-x86_64".files_strip = []
########################################################################################################################
# Template tool configuration
########################################################################################################################
[repo_kit_template]
extension_templates_config = "templates/templates.toml"
########################################################################################################################
# Application launching configuration
########################################################################################################################
[repo_launch]
type_ordering = [
"ApplicationTemplate",
"ApplicationLayerTemplate",
]