forked from kata-containers/packaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-example.yaml
92 lines (74 loc) · 2.73 KB
/
config-example.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Copyright (c) 2019 SUSE LLC
#
# SPDX-License-Identifier: Apache-2.0
description: |
This file is used by kata-pkgsync for packages synchronization from OBS to
Packagecloud.
It contains information needed to locate and access packages on OBS,
and to push them to Packagecloud.
The file contains three top level nodes, with the following content:
obsprojects:
Each of the top-level keys listed here is a full name or base name of
a OBS project.
In case of full name, the node identifies one OBS project.
In case of base name, the node identifies multiple OBS projects. The
complete project names are built combining "architectures" and "releases"
children nodes, using the standardized Kata way to name a OBS projects,
i.e. "<base name>:<architecture>:<release>"
In this case the node includes a "architectures" list and/or a "releases"
list, e.g.:
releases:
- master
- alpha
- beta
architectures:
- x86_64
- aarch64
Each top-level key must include an "auth" node:
auth:
user: username
password: password
packagecloud:
This node is used to identify the destination Packagecloud repository,
and to provide authentication details. The "token" value is the API
token key that can be obtained from the Packagecloud web interface.
distro-mapping:
This node provides a mapping between OBS repositories name and
Packagecloud distribution "name" and "version".
On OBS, a package is built for multiple target repositories, to generate
files for different distributions. Repositories names and configurations
are customizable.
Each package uploaded on Packagecloud needs to be assigned to a specified
distribution "name" and "version", referred as "distro/version".
"distro" and "version" are fixed and selected by Packagecloud.
If a OBS repository does not have a corresponding Packagecloud
"distro/version", then it must be specified as a key with an
empty value.
obsprojects:
home:katacontainers:releases:
auth:
user: foo
password: bar
releases:
- master
- stable-1.5
- stable-1.6
architectures:
- x86_64
packagecloud:
auth:
user: baz
token: abc1234
repo: testing
distro-mapping:
openSUSE_Leap_15.0: opensuse/15.0
openSUSE_Leap_42.3: opensuse/42.3
Fedora_29 : fedora/29
Fedora_28 : fedora/28
xUbuntu_18.04 : ubuntu/bionic
xUbuntu_16.04 : ubuntu/xenial
RHEL_7 : el/7
SLE_12_SP3 : sles/12.3
Debian_9 : debian/stretch
CentOS_7 :
openSUSE_Tumbleweed: