-
Notifications
You must be signed in to change notification settings - Fork 14
/
build-example.yaml
119 lines (119 loc) · 4.83 KB
/
build-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
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
## Most of the configurations are optional, just build.target and repository.description are required.
repository:
# REPOSITORY Definition. It contains the description and option regarding your entropy repository.
description: My testing repository # REQUIRED!!!
# This is your repository description.
maintenance:
check_diffs: 0 # disable diffs checking from binhost. Result: always inject stuff into repository
clean_cache: 1
#USE WITH CAUTION! it will wipe your cache and it is VERY slow! it's like starting the building process for the first time.
keep_previous_versions: 1
# Set this value to the numbers of package versions that you want to keep.
# e.g. if you have different versions of app/foo: app/foo-1, app/foo-2, this is the number of them you may want to keep in your repository.
# When there are more version than the number specified, the older gets removed automatically. Defaults to 1
remove:
- app-foo/bar
- app-misc/baz-1.2
# Packages that you may want to remove manually from the repository
build:
# BUILD Definition. It contains description and options regarding your emerge build.
script:
pre:
- echo "This is executed before build"
- echo "This is executed also before build"
post:
- echo "This is executed after build"
- echo "This is executed also after the build"
verbose: 1 # More verbose
qa_checks: 1 # Enables repoman checks
overlays:
- mrueg
- games-overlay
# Adds the specified overlays with layman before build
target: # REQUIRED!!!
- '>app-text/tree-1::gentoo'
- dev-lang/php
injected_target:
- app-text/tree
- dev-lang/php
# The packages you wish to compile and be added to the entropy repository, you can optionally specify packages that
# needs to be compiled with the -B flag (injected and thus won't be installed in the container)
equo:
repositories:
- community
# Use enman to add the repositories before the build
remove_repositories:
- pentesting
# Use enman to remove the repositories before the build
enman_self: 0
# Disable disk cache
no_cache: 1
# Disable adding your repository with enman as default
package:
install:
- app-text/tree
- app-misc/foo
# List here the packages that you might want installed with Entropy official repositories before starting the build
remove:
- whatever
# List here the packages that you might want removed before the build
mask:
- whatever
# List here the packages that you might want masked before the build
unmask:
- whatever
# List here the packages that you might want masked before the build
repository: main
# You can build against main (sabayonlinux.org) or weekly. It is strongly encouraged to keep default
dependency_install:
enable: 1
# Enable/disable equo to install package dependencies (automatically detected)
install_atoms: 1
# Require to install the atoms of the dependencies, not their version
dependency_scan_depth: 2 #DEPENDENCY_SCAN_DEPTH
# How much have to deep the dependency scanner to get your deps
prune_virtuals: 1
# Remove packages that satisfy a virtual dependency from the list of packages
# to install using entropy.
install_version : 0
# Install versions instead of atoms with equo. Discouraged
split_install: 1
# Install packages calling equo install separately
## Advanced options below:
docker:
image: sabayon/builder-amd64
# Docker image to use as building environment. defaults to sabayon/builder-amd64
entropy_image: sabayon/eit-amd64
# Docker image to use as repository environment. defaults to sabayon/eit-amd64
emerge:
# Gentoo users will recognize those options, if not familiar, leave as default
default_args: -t
# Emerge default arguments.
# You can specify further options to give to emerge here
split_install: 1
# If set to 1, calls emerge for each package instead in one single call.
features: parallel -userpriv
# features to enable/disable to your build
profile: 3
# Gentoo Profile to use
jobs: 4
# Package compilation/installations in parallel (this is NOT MAKEOPTS's -j)
preserved_rebuild: 0
# Run emerge of preserved libs after build
skip_sync: 1
# skip portage sync
webrsync: 1
# uses webrsync instead of emerge --sync
remote_overlay:
- git://github.com/my/repo
- myoverlay|git|https://github.com/foo/bar
remove_remote_overlay:
- myoverlay
remove_layman_overlay:
- plab
- foobar
# Specify a list of portage overlays that will be added before the build.
# You can also remove them, please use the name of the overlay name (repo_name) always.
remove:
- app-misc/foo
# Remove an atom with emerge