Commit graph

22 commits

Author SHA1 Message Date
Stephen Smoogen
011e9b6a2f Fix logrotate for docker-distribution
This used a syntax that was from an old EL and does not work with
newer Fedora with systemctl. Hat tip to misc for helping me figure out
which rpm had the file in it and then what the right syntax was.
2021-02-04 06:48:28 -05:00
Kevin Fenzi
438375f518 registry / logrotate: replace the rsyslog file, not syslog
We use rsyslog, the syslog file has no effect.
If we overrite rsyslog we get the effect we want (daily logrotate with
xz compression).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-01-11 11:26:52 -08:00
Kevin Fenzi
15832081f3 docker-distribution: make registry boxes compress gigantic messages files
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-08-11 12:56:37 -07:00
Kevin Fenzi
398a6d8a25 Allow delete on candidate registery so we can clean up old images. 2018-09-24 22:00:57 +00:00
Patrick Uiterwijk
039b08354a Yum allowed state=installed. Lets use state=present consistently
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 22:31:03 +00:00
Randy Barlow
44d26f4df5 Disable registry caching so we can avoid Redis.
Patrick and Adam and I had a meeting this morning to discuss how
to deploy Redis to be used as a shared cache for the registry
nodes. Patrick suggested that we could instead disable the regstry
caching layer and rely on Varnish to do all our caching, which
makes the system simpler. This commit disables the in-memory cache
of the registries so they won't get out of sync on write
operations.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2017-03-01 15:56:15 +00:00
Patrick Uiterwijk
68ddd68bf8 Docker is lying to our caches about what it varies responses about
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-02-21 13:56:14 +00:00
Kevin Fenzi
1c6e9a11f4 Another pile of trailing whitespace fixes 2016-08-08 19:42:36 +00:00
Kevin Fenzi
a32f8b9e4a Change ansible_fqdn to inventory_hostname. This fixes some few hosts that have incorrect reverse dns
and shouldn't break any others since we always use fully qualified in our inventory.
2016-05-11 15:08:50 +00:00
Patrick Uiterwijk
d29aeda8b1 Add docker-distribution tag
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-04-12 14:27:43 +00:00
Adam Miller
2b9dcabeda fix docker-distribution role template to conditionally set tls cert
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-04-07 16:04:06 +00:00
Adam Miller
1d704c3247 update dir var name for docker-distribution
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-04-06 16:45:39 +00:00
Adam Miller
8d529a8f60 update docker-distribution role to handle certs more logically
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-04-06 16:43:02 +00:00
Adam Miller
54afbc2de9 docker-distribution role: fix tls config, move tls directive under http 2016-02-17 20:38:49 +00:00
Adam Miller
b9ed1de45c set docker-distribution defaults cert.dir based on http.addr instead of hardcoded string 2016-02-16 19:28:49 +00:00
Kevin Fenzi
a1e4e010d3 Try some higher level debug 2016-02-02 23:44:13 +00:00
Kevin Fenzi
f3abf32992 Set some debugging. 2016-02-02 23:27:02 +00:00
Adam Miller
7e26e460a0 convert all defaults to be quoted in docker-distribution role 2016-02-02 23:15:22 +00:00
Adam Miller
45479752c7 fix whitespace mismatch for templated cert.private_path value in docker-distribution role 2016-02-02 22:32:17 +00:00
Adam Miller
e262b87514 change conditionals from explicit comparison to implicit boolean for docker-registry role 2016-02-02 22:27:15 +00:00
Adam Miller
864e4cbf78 fix typo for cert.dir variable in docker-distribution role 2016-02-02 22:12:47 +00:00
03b4b85c3f add osbs w/ v2 registry support 2016-01-28 20:31:13 +00:00