blob: 7acbf78e2be0e45b69b64e240c8bb2b877b54bd6 [file] [log] [blame]
Richard Felkl344c1322018-02-19 11:55:04 +01001classes:
azvyagintsev8783aae2018-10-23 15:52:44 +03002- service.docker.host
azvyagintsev6efdf702018-02-27 11:31:40 +02003- system.aptly.server.docker
4- system.aptly.client.publisher
azvyagintsev78456392018-10-26 13:46:56 +03005- system.debmirror.mirror_mirantis_com
Richard Felkl344c1322018-02-19 11:55:04 +01006- system.git.server.single
Richard Felkl344c1322018-02-19 11:55:04 +01007- system.docker.client
azvyagintsev6efdf702018-02-27 11:31:40 +02008- system.docker.swarm.stack.aptly
azvyagintsev6efdf702018-02-27 11:31:40 +02009- system.docker.swarm.manager
10- system.docker.swarm.master
Richard Felkl344c1322018-02-19 11:55:04 +010011parameters:
12 _param:
Richard Felkl344c1322018-02-19 11:55:04 +010013 aptly_gpg_keypair_id: A8272E04
14 aptly_gpg_passphrase: ""
15 aptly_server_secure: true
azvyagintsev6efdf702018-02-27 11:31:40 +020016 docker_stack_aptly_public_replicas: 1
17 docker_registry_http_secret: 'Thoh0unuaeSeeT9i'
azvyagintsev21103382018-04-07 17:48:38 +030018 # Upstream mirrors:
azvyagintsev5e648a32018-08-23 12:50:20 +030019 #mcp_docker_registry: 'docker-prod-local.artifactory.mirantis.com'
azvyagintsev72104362018-08-21 21:53:56 +030020 #vcp_images_mirror: 'http://images.mirantis.com'
Vladimir Khlyunev27a4c992023-01-17 15:54:36 +040021 default_local_mirrror_content:
22 # List of repos, to be placed into offline image, during separate image build process
23 # By default, will be avaible http_server
24 # WARNING: file path and names - must be exactly same as in any other place in reclass-system or model!
25 git_server_repos:
26 - name: mk-pipelines
27 url: https://gerrit.mcp.mirantis.com/mk/mk-pipelines
28 - name: pipeline-library
29 url: https://gerrit.mcp.mirantis.com/mcp-ci/pipeline-library
30 - name: reclass-system
31 url: https://gerrit.mcp.mirantis.com/salt-models/reclass-system
32 - name: cvp-sanity-checks
33 url: https://gerrit.mcp.mirantis.com/mcp/cvp-sanity-checks
34 - name: stacklight-pytest
35 url: https://gerrit.mcp.mirantis.com/mcp/stacklight-pytest
36 # 2 lines below should be replaced by pipeline
37 https_user: %STACKLIGHT_PYTEST_GIT_HTTPS_USER%
38 https_pass: %STACKLIGHT_PYTEST_GIT_HTTPS_PASS%
39 - name: cvp-configuration
40 url: https://gerrit.mcp.mirantis.com/mcp/cvp-configuration
azvyagintsev5d754a02019-01-22 15:27:20 +020041 mcp_static_images_url: 'http://images.mcp.mirantis.net/'
azvyagintsev5e648a32018-08-23 12:50:20 +030042 mcp_docker_registry: 'docker-prod-local.docker.mirantis.net'
Richard Felkl344c1322018-02-19 11:55:04 +010043 aptly_gpg_private_key: |
44 -----BEGIN PGP PRIVATE KEY BLOCK-----
45 Version: GnuPG v1
46
47 lQOYBFnU98YBCACdTxOkxAJJQaQ4B9sEsh9s4MMOMxPSCwvzgGbk6HECDBhz2auF
48 FfVydNbjLfoih8qdaLSmBQg8+FtdYJHEG1lekeiUETOxJnkhUFXq85KGNj9BbGBr
49 m3/6Jo58pdMNdUMurAs807STvH3iTAhYymggX1u9GyjKbv24p2KMGuK1gC3W04NG
50 qOQX3iwjmBWq87fX7tNLafptCq5A9TAv4Dvt1XZgGCiLI+EcPyfgNB1W/+EOOkFu
51 jFdM43nm0YE3Bf4uuVR/u0REprYJfChdS6qYYgI3n2LuPyi9WMVVee+1RZmTwFcB
52 cS53h+gq1GHOhj+YOwm3+ctmIoTNi26siutdABEBAAEAB/wP10AzpddTGCyYxdW8
53 zdETTjjmK6eRzbH45dO2tl925M/rjp5SiwkJ6xEelGktY/43xqz2UOho91t/9jMH
54 i/d+afQBQRAzBRxKigP04m09XaYWCPtWqrSC9LIBhFNR9h57SzDggbMb8227xYtL
55 oapFpEShMOR1KiMbnqNyV1zACQ1pHOZZOWzat8nFuKDeqA3n3Y/Cm8OCrX4QSGIU
56 FEqdQs7jgNhhxKEsmFUJfxF8KtTAyrdB0PVC6iyY3wifbpNZUk2IBfTa738LHcOo
57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DD
89 2eRoqagXiwXIxFA0REDgx6FXm4laXEUzyrIPIzuzZbtV9x6S/FlzyXdZcLZoavkr
90 PX7SK0t7pCxZA/0UcBegcuKSlHtLkBAD/1cdj2OlgteGqbpRP3d4FLADrsBw+iCN
91 h8lVfNtjKvcpY46ihqHZjZMcfaeI9p49N7HqwuuRaqKi7mE8QOuBM1oTAJ72CwV/
92 bx+zDYDiL+2EQbZh58yPjwnLn7PcTNpMZ7RT58iGw6xXaJTkJTqiFthcG0B/iQEf
93 BBgBAgAJBQJZ1PfGAhsMAAoJEKSFwd2oJy4E5R4H/3XjYvsalh2g4iYEOjZ1Ld55
94 AA+NDlnpeXJfEOlhxdnAvkTc1CfKdT3qaN5hG0m7sVowaeVbf4cDNwIQy+R75V73
95 h2DQpno3746DDC0C2jRzDBwKrUU9Y/du3REcq4kMCnhtVBMSX6rbJoxSFdCzLu/X
96 Jd9oeXbbkObIeoe9FWIrswFB4NUhTHLn1bk5p8zsVbsRm3jl6ofoQmFKFoK6Fauu
97 NeB+Fc/1UdMpUb1Y9dpE/akgRm/79NRHKA4plQ2X/CGZu+KIw4XVn/0ilU8FbsX+
98 KXcp8ui0XRqg8z44wtlroFTrnR+DgqplsellsrM+xGtZb9VrjFLeP89jzhrBWgE=
99 =QgPA
100 -----END PGP PRIVATE KEY BLOCK-----
101 aptly_gpg_public_key: |
102 -----BEGIN PGP PUBLIC KEY BLOCK-----
103 Version: GnuPG v1
104
105 mQENBFnU98YBCACdTxOkxAJJQaQ4B9sEsh9s4MMOMxPSCwvzgGbk6HECDBhz2auF
106 FfVydNbjLfoih8qdaLSmBQg8+FtdYJHEG1lekeiUETOxJnkhUFXq85KGNj9BbGBr
107 m3/6Jo58pdMNdUMurAs807STvH3iTAhYymggX1u9GyjKbv24p2KMGuK1gC3W04NG
108 qOQX3iwjmBWq87fX7tNLafptCq5A9TAv4Dvt1XZgGCiLI+EcPyfgNB1W/+EOOkFu
109 jFdM43nm0YE3Bf4uuVR/u0REprYJfChdS6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T3qaN5hG0m7sVowaeVbf4cDNwIQy+R75V73h2DQpno3
126 746DDC0C2jRzDBwKrUU9Y/du3REcq4kMCnhtVBMSX6rbJoxSFdCzLu/XJd9oeXbb
127 kObIeoe9FWIrswFB4NUhTHLn1bk5p8zsVbsRm3jl6ofoQmFKFoK6FauuNeB+Fc/1
128 UdMpUb1Y9dpE/akgRm/79NRHKA4plQ2X/CGZu+KIw4XVn/0ilU8FbsX+KXcp8ui0
129 XRqg8z44wtlroFTrnR+DgqplsellsrM+xGtZb9VrjFLeP89jzhrBWgE=
130 =GLje
131 -----END PGP PUBLIC KEY BLOCK-----
132 aptly:
133 server:
Alexander Noskovf1e79842018-11-07 13:57:29 +0400134 mirror_update:
135 enabled: False
Richard Felkl3d996d22018-04-02 23:29:44 +0200136 repo:
137 mcp_xenial_updates:
Richard Felklec90b722018-04-03 16:15:10 +0200138 distribution: ubuntu-xenial
Richard Felkl3d996d22018-04-02 23:29:44 +0200139 component: updates
Richard Felkl3a8b1bd2018-04-03 15:09:49 +0200140 architectures: amd64
azvyagintsev913cfa92018-12-27 16:36:05 +0200141 # Dummy repo
Richard Felkl3a8b1bd2018-04-03 15:09:49 +0200142 comment: "Local Xenial updates repository."
Richard Felklec90b722018-04-03 16:15:10 +0200143 publisher:
144 component: updates
145 distributions:
azvyagintsev5d754a02019-01-22 15:27:20 +0200146 - ubuntu-xenial/${_param:mcp_version}
Richard Felklec90b722018-04-03 16:15:10 +0200147 - ubuntu-xenial/stable
Richard Felkl344c1322018-02-19 11:55:04 +0100148 docker:
149 host:
azvyagintsev8783aae2018-10-23 15:52:44 +0300150 pkgs:
151 - docker-ce
152 - python-docker
Richard Felkl344c1322018-02-19 11:55:04 +0100153 insecure_registries:
azvyagintseva7b2b052019-01-23 19:55:22 +0200154 - ${_param:default_local_mirrror_content:docker_client_registry_target_registry}
Richard Felkl344c1322018-02-19 11:55:04 +0100155 options:
156 bip: 10.99.0.1/16
157 fixed-cidr: 10.99.0.1/17
azvyagintsev65775c92018-07-25 12:31:08 +0200158 storage-driver: overlay2
Richard Felkl344c1322018-02-19 11:55:04 +0100159 client:
160 registry:
azvyagintsev5d754a02019-01-22 15:27:20 +0200161 target_registry: ${_param:default_local_mirrror_content:docker_client_registry_target_registry}
azvyagintsev913cfa92018-12-27 16:36:05 +0200162 # List of images now at reclass-system/defaults
azvyagintsev5d754a02019-01-22 15:27:20 +0200163 image:
164 ${_param:default_local_mirrror_content:docker_client_registry_image}
Richard Felkl344c1322018-02-19 11:55:04 +0100165 git:
166 server:
167 directory: /srv/git/
azvyagintsev5d754a02019-01-22 15:27:20 +0200168 repos: ${_param:default_local_mirrror_content:git_server_repos}
Richard Felkl344c1322018-02-19 11:55:04 +0100169 nginx:
170 server:
171 site:
Richard Felkl344c1322018-02-19 11:55:04 +0100172 http_server:
173 enabled: true
174 type: nginx_static
175 name: http_server
176 root: /srv/http
177 autoindex: True
178 access_policy:
179 allow:
180 - all
181 host:
azvyagintsev913cfa92018-12-27 16:36:05 +0200182 name: http.${_param:cluster_domain}
Richard Felkl344c1322018-02-19 11:55:04 +0100183 port: 8078
azvyagintsev6efdf702018-02-27 11:31:40 +0200184 aptly_public:
185 enabled: true
186 type: nginx_proxy
187 name: aptly_public
188 proxy:
189 host: 127.0.0.1
190 port: 18085
191 protocol: http
192 size: 1G
193 host:
azvyagintsev913cfa92018-12-27 16:36:05 +0200194 name: aptly.${_param:cluster_domain}
azvyagintsev6efdf702018-02-27 11:31:40 +0200195 port: 80
196 aptly_api:
197 enabled: true
198 type: nginx_proxy
199 name: aptly_api
200 proxy:
201 host: 127.0.0.1
202 port: 18084
203 protocol: http
204 size: 1G
205 host:
azvyagintsev913cfa92018-12-27 16:36:05 +0200206 name: aptly-api.${_param:cluster_domain}
azvyagintsev6efdf702018-02-27 11:31:40 +0200207 port: 8080
208 docker_registry:
209 enabled: true
210 type: nginx_proxy
211 name: docker_registry
212 proxy:
213 host: 127.0.0.1
214 port: 15000
215 protocol: http
216 size: 1G
217 host:
azvyagintsev913cfa92018-12-27 16:36:05 +0200218 name: registry.${_param:cluster_domain}
azvyagintsev6efdf702018-02-27 11:31:40 +0200219 port: 5000
Richard Felkl344c1322018-02-19 11:55:04 +0100220 linux:
221 system:
azvyagintsev5d754a02019-01-22 15:27:20 +0200222 # List of files now at reclass-system/defaults
Richard Felkl344c1322018-02-19 11:55:04 +0100223 file:
azvyagintsev5d754a02019-01-22 15:27:20 +0200224 ${_param:default_local_mirrror_content:linux_system_file}
Richard Felkl344c1322018-02-19 11:55:04 +0100225 profile:
226 locales: |
227 export LC_ALL=C
228 directory:
229 /srv/http/images:
azvyagintsev5d754a02019-01-22 15:27:20 +0200230 user: www-data
231 group: www-data
Richard Felkl344c1322018-02-19 11:55:04 +0100232 mode: 755
233 makedirs: true
234 /srv/scripts/:
azvyagintsev5d754a02019-01-22 15:27:20 +0200235 user: www-data
236 group: www-data
Richard Felkl344c1322018-02-19 11:55:04 +0100237 mode: 755
238 makedirs: true
Jiri Broulikfa26d672018-04-12 09:54:50 +0200239 maas:
240 mirror:
241 enabled: true
242 image:
azvyagintsev100ad072018-06-01 15:04:19 +0300243 sections:
azvyagintsev5d754a02019-01-22 15:27:20 +0200244 ${_param:default_local_mirrror_content:maas_mirror_image_sections}