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
buildgrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Show more breadcrumbs
BuildGrid
buildgrid
Commits
a3d60562
Commit
a3d60562
authored
6 years ago
by
Martin Blanchard
Browse files
Options
Downloads
Patches
Plain Diff
_app/settings: Add a reference configuration file
parent
dab32dc0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
buildgrid/_app/settings/reference.yml
+105
-0
105 additions, 0 deletions
buildgrid/_app/settings/reference.yml
with
105 additions
and
0 deletions
buildgrid/_app/settings/reference.yml
0 → 100644
+
105
−
0
View file @
a3d60562
##
# Server's configuration desciption.
description
:
|
A single default instance.
##
# Server's network configuration.
server
:
-
!channel
##
# TCP port number.
port
:
50051
##
# Whether or not to activate SSL/TLS encryption.
insecure-mode
:
true
##
# SSL/TLS credentials.
credentials
:
tls-server-key
:
!expand-path
~/.config/buildgrid/server.key
tls-server-cert
:
!expand-path
~/.config/buildgrid/server.cert
tls-client-certs
:
!expand-path
~/.config/buildgrid/client.cert
##
# Server's authorization configuration.
authorization
:
##
# Type of authorization method.
# none - Bypass the authorization mechanism
# jwt - OAuth 2.0 bearer with JWT tokens
method
:
jwt
##
# Location for the file containing the secret, pass
# or key needed by 'method' to authorize requests.
secret
:
!expand-path
~/.config/buildgrid/auth.secret
##
# Encryption algorithm to be used together with 'secret'
# by 'method' to authorize requests (optinal).
# hs256 - HMAC+SHA-256 for JWT method
# rs256 - RSASSA-PKCS1-v1_5+SHA-256 for JWT method
algorithm
:
rs256
##
# Server's instances configuration.
instances
:
-
name
:
main
description
:
|
The main server
##
# List of storage backends for the instance.
# disk - On-disk storage.
# lru-storage - In-memory storage (non-persistant).
# remote - Proxy to remote storage.
# s3-storage - Amazon S3 storage.
storages
:
-
!disk-storage
&main-storage
##
# Path to the local storage folder.
path
:
!expand-path
$HOME/cas
##
# List of services for the instance.
# action-cache - REAPI ActionCache service.
# bytestream - Google APIs ByteStream service.
# cas - REAPI ContentAddressableStorage service.
# execution - REAPI Execution + RWAPI ots services.
# reference-cache - BuildStream ReferenceStorage service.
services
:
-
!action-cache
&main-action
##
# Alias to a storage backend, see 'storages'.
storage
:
*memory-storage
##
# Maximum number of entires kept in cache.
max-cached-refs
:
256
##
# Whether or not writing to the cache is allowed.
allow-updates
:
true
-
!execution
##
# Alias to a storage backend, see 'storages'.
storage
:
*main-storage
##
# Alias to an action-cache service.
action-cache
:
*main-action
-
!cas
##
# Alias to a storage backend, see 'storages'.
storage
:
*main-storage
-
!bytestream
##
# Alias to a storage backend, see 'storages'.
storage
:
*main-storage
-
!reference-cache
##
# Alias to a storage backend, see 'storages'.
storage
:
*main-storage
##
# Maximum number of entires kept in cache.
max-cached-refs
:
256
##
# Whether or not writing to the cache is allowed.
allow-updates
:
true
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