This repository has been archived by the owner on Mar 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsample.site.yaml
76 lines (70 loc) · 2.37 KB
/
sample.site.yaml
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
# The site.yaml file describes information specific to the
# environment in which PAPR is run. All supported fields are
# described below. It must be in UTF-8 format (though only
# fields denoted to support UTF-8 can contain non-ASCII
# values).
# OPTIONAL
# Directory in which to cache data such as git checkouts and
# rpmmd cache. If omitted, defaults to /var/cache/papr.
cachedir: /var/cache/papr
# OPTIONAL
# If set, PAPR will make comments and commit status updates
# back to GitHub. This requires a repo scope token belonging
# to a user with push access to the target repo.
github:
# OPTIONAL
# If set to true, the auth token is obtained from the
# GITHUB_TOKEN env var. Defaults to false.
auth-from-env: true
# OPTIONAL
# The auth token if auth-from-env is false.
auth-token: asdf
# OPTIONAL
# If specified, list of repo files to inject.
repos:
# REQUIRED
# The $ID of the distro for which the repo is valid.
- distro_id: centos
# OPTIONAL
# The $VERSION_ID of the distro for which the repo is
# valid. If omitted, all versions apply.
distro_version_id: 7
# REQUIRED
# Path to the repo file to inject in /etc/yum.repos.d/.
# Repo files named the same in the testenv will be
# overwritten. This is a useful way to override the
# default repo values.
repo: /path/to/the/file.repo
# REQUIRED
# Determines how results are published. There are two
# publishers supported: 'local' and 's3'.
publisher:
# The 'local' publisher outputs files on the local host.
type: local
config:
# REQUIRED
# Root directory in which to publish files.
rootdir: /var/tmp/papr-publish
# The 's3' publisher uploads files to S3.
type: s3
config:
# OPTIONAL
# If set to true, authentication information is obtained
# from the standard AWS environment variables. If false,
# you must specify the auth-key-id and auth-secret-key.
# Defaults to false.
auth-from-env: true
# REQUIRED if auth-from-env is false
# AWS access key ID.
auth-key-id: AKIAIAKGPQWRGSDVSDLK
# REQUIRED if auth-from-env is false
# AWS secret access key.
auth-secret-key: MYSOOPERSEEKRETKEY
# REQUIRED
# S3 bucket in which to publish files.
bucket: my-bucket
# OPTIONAL
# Root directory within the bucket in which to publish
# files. If omitted, files are uploaded at the bucket
# root.
rootdir: dir/subdir