Commit Graph

18 Commits

Author SHA1 Message Date
Pavel Raiskup
cee1d4f43c copr-dist-git: drop the projects-list option
That was non-working for some time, since:
2e64a15058

Relates: https://github.com/fedora-copr/copr/pull/2423
2022-12-05 16:13:11 +01:00
Pavel Raiskup
4e95c76e0b copr-dist-git: simplify cgitrc config
This is a missing step after:
2e64a15058
2021-04-27 22:01:45 +02:00
Jakub Kadlcik
5ce2fa72b3 copr: automatically prune distgit repos 2020-04-24 21:34:25 +02:00
Miroslav Suchý
9c7be4c67e copr: correct path to ssl cert 2020-04-24 21:34:24 +02:00
Pavel Raiskup
70c25021cc copr: update infrastructure password
https://pagure.io/fedora-infrastructure/issue/8555
2020-04-24 21:34:21 +02:00
Pavel Raiskup
3cc27430b6 copr: rework letsencrypt
We need two-phase configuration for Let's Encrypt:

1. initialize; the letsencrypt automation, this is happening only
   once per VM (when it is spawned)
2. periodic; using certbot-renew.timer.

Both those phases are now wrapped into copr/certbot role.

Phase 1. needs to be done before the web-server is started (so
include the role on appropriate place in the playbook), so we can
do 'certbot --standalone' (bounds to port 80).
Phase 2. is accomplished using the running web-server, using
'certbot renew --webroot'.

If (and only if) the certificate is renewed, web server needs to
be restarted (and lighttpd needs to have post-processed
certificate format).  So we also need the deploy hook script in
hand (two actually, lighttpd/httpd) so 'certbot renew'
automatically does what we expect it to do.
2019-07-19 11:20:00 +02:00
Pavel Raiskup
ab78c47a51 copr: letsencrypt: don't force renewal daily
The `renew` command will automatically renew the certificate once
the validity is smaller tan 30 days:
https://certbot.eff.org/docs/using.html?highlight=renew#renewing-certificates
2019-07-18 14:28:46 +02:00
Jakub Kadlčík
f68efa7797 copr-dist-git: automatize cert renewal with certbot-renew.timer 2019-06-07 00:02:48 +02:00
clime
0adb8eaabc copr-dist-git: add exception for acme challenge, fix indenting 2018-06-29 11:03:44 +02:00
clime
4daee14690 copr-dist-git-dev: install ssl.conf 2018-06-29 10:33:03 +02:00
clime
3692faa1e8 copr-dist-git: compatibility fixes for the latest dist-git and copr-dist-git upstream 2017-04-10 14:35:02 +02:00
Kevin Fenzi
2508622b74 enable syntax highlight on copr-dist-git 2017-03-05 01:34:24 +00:00
clime
2a81a086ed copr-dist-git: adjust devel setup according to the current state of dist-git upstream 2017-03-04 10:27:49 +01:00
clime
3dc7d772c9 copr: prepare deploy of new dist-git upstream package to copr-dist-git-dev 2017-02-13 20:59:28 +01:00
Miroslav Suchý
97fcc42763 copr: use f24 chroot for mock-scm 2016-10-31 12:00:23 +01:00
Kevin Fenzi
4e0d8bad1d Move these to templates as we have some variables to set. 2016-09-25 16:32:47 +00:00
clime
eaea7faead per_task_logs_dir config option added 2016-03-14 15:47:45 +01:00
Valentin Gologuzov
68bb45b037 [copr][dist-git] install config for copr-dist-git 2015-07-23 11:09:40 +02:00