Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
buildstream
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
BuildStream
buildstream
Commits
ad3d3098
Commit
ad3d3098
authored
6 years ago
by
Raoul Hidalgo Charman
Browse files
Options
Downloads
Patches
Plain Diff
format_project.rst: Add docs for OptionOS
parent
027d6ca4
No related branches found
No related tags found
No related merge requests found
Pipeline
#38258330
failed
6 years ago
Stage: prepare
Stage: test
Stage: post
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/source/format_project.rst
+24
-0
24 additions, 0 deletions
doc/source/format_project.rst
with
24 additions
and
0 deletions
doc/source/format_project.rst
+
24
−
0
View file @
ad3d3098
...
...
@@ -572,6 +572,30 @@ Architecture options can be tested with the same expressions
as other Enumeration options.
.. _project_options_os:
OS
~~
The ``os`` option type is a special enumeration option, which defaults to the
results of `uname -s`. It does not support assigning any default in the project
configuration.
.. code:: yaml
options:
machine_os:
type: os
description: The machine OS
values:
- Linux
- SunOS
- Darwin
- FreeBSD
Os options can be tested with the same expressions as other Enumeration options.
.. _project_options_element_mask:
Element mask
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment