Jakub Kadlcik
e65eb331d7
No more python2 for copr-be
2019-07-11 16:27:56 +02:00
Jakub Kadlcik
9211c30938
copr-be: make sure that obsrun group is available
2019-07-11 16:15:32 +02:00
Pavel Raiskup
4bc27555b7
copr: enable aarch64 builders in production
2019-05-27 15:32:23 +02:00
Pavel Raiskup
8edcf08f36
copr: backend provision c&p fix
2019-05-13 16:19:56 +02:00
Pavel Raiskup
91825fa419
copr: distribute devel/production to spawn/terminate playbooks
2019-05-13 15:44:57 +02:00
Pavel Raiskup
4f58067295
copr: aarch64 spawning via resalloc-server
...
For now enable this only on stg. Imported from:
https://github.com/praiskup/fedora-copr-spinup-aarch64
2019-05-13 11:09:14 +02:00
Jakub Kadlčík
96de11a1bf
Create manual playbooks for upgrading Copr instances
...
There is a problem with our current playbooks, that they can be
executed automatically without us knowing about it. That is an issue
particularly during release process because we can prepare new
packages into infra-tags repo or bodhi and a nightly reprovision
can upgrade to them outside of an outage window or any of us being
prepared for it.
Therefore `groups/copr-*.yml` playbooks *should not* upgrade any
packages, but only ensure, that those packages are installed. For
upgrade, there should be separate `manual/copr/copr-*-upgrade.yml`
playbooks. Because they are located under `manual` directory, it
is secured, that they can't be run automatically.
2019-05-01 18:39:27 +02:00
Jakub Kadlčík
f8060b5a90
Allow 'copr' user to run 'sign' command
...
See https://pagure.io/copr/copr/issue/636
By default only root can run the `sign` command. This
check is applied within obs-signd code. We need to
allow regular user in the config, see `man sign.conf`.
Also /usr/bin/sign is owned by root:obsrun with
-rwsr-x--- hence we need to add a user to the obsrun group.
2019-04-05 09:52:28 +02:00
Miroslav Suchý
44650c688e
copr: squash_actions is deprecated
2019-04-02 10:27:39 +02:00
Miroslav Suchý
3604128d55
copr: we are using python3 now
2019-02-15 11:27:27 +01:00
clime
05f64aaa80
copr-backend: disable the swap through /etc/fstab
2019-01-09 11:21:24 +01:00
clime
ed7d2fd8cf
copr-backend: disable swap
2018-12-27 15:28:07 +01:00
Jakub Kadlčík
439c482a46
Add https support for copr-be-dev
2018-11-29 22:21:24 +01:00
clime
816bd33389
copr-backend: fix access_log.conf path
2018-10-25 22:18:47 +02:00
Miroslav Suchý
003bd6271f
copr: enable multiprocessor on lighttpd
...
This will utilize more cores for lighttpd, but because lighttpd does not synchronize
writing to logs, we have to pipe it to cronolog.
2018-10-12 01:25:51 +02:00
Jakub Kadlčík
ada5904d81
Install copr-selinux on all Copr machines
2018-10-08 21:58:53 +02:00
Kevin Fenzi
1f0152f7f3
comment task that prevents copr-be playbook from finishing
2018-05-23 19:35:52 +00:00
Kevin Fenzi
8f00a09b9b
Switch this to use dnf instead of command.
2018-05-13 04:08:57 +00:00
Kevin Fenzi
a8714caab3
first cut at changing all the old |changed to is changed per ansible deprecations
2018-05-07 23:51:48 +00:00
clime
064d1eee41
copr-builder: add default rpkg conf
2018-04-26 14:50:45 +02:00
clime
a5bbf1583f
copr-backend: custom SELinux rules for copr-backend extended/fixed
2018-03-02 09:55:00 +01:00
clime
84994494c3
copr-backend: fix copr-be-dev setup
2018-02-27 00:23:06 +01:00
clime
b2ab563302
copr-backend: activate copr_prune_results but on weekly basis
2018-02-23 17:57:12 +01:00
clime
0b0f4dd06c
copr-backend: install OpenStack clients as python2-*
2018-02-23 09:07:04 +01:00
clime
ffa7e30e2e
Revert "copr-backend: install python3-novaclient in 3.3. version from Koji"
...
That version of python3-novaclient depends on python3.5 which is not available
on f27.
This reverts commit d19485a9e8
.
2018-02-18 14:10:27 +01:00
clime
d19485a9e8
copr-backend: install python3-novaclient in 3.3. version from Koji
2018-02-18 14:06:35 +01:00
clime
e638d191b6
copr-be: upgrade to f27
2018-01-16 10:10:12 +01:00
clime
1591610513
copr-backend-stg: install python-novaclient-3.3.1-3.fc25
2018-01-15 22:17:09 +01:00
clime
53e86336fd
copr-backend: upgrade to copr-backend-1.110
2017-12-20 20:33:19 +01:00
clime
74cff261b6
copr-backend: install the latest copr-backend package from f26
...
...we can no longer build for f25
2017-12-18 13:34:25 +01:00
clime
d03a23530d
copr-backend: update logrotate config for lighttpd
2017-12-18 13:02:40 +01:00
clime
5fad2d01a8
copr-backend: disable copr_prune_results to test if hitcounting works
2017-12-04 21:07:32 +01:00
Kevin Fenzi
9848b4eb85
this is just gathering information it should not ever show changed
2017-11-22 00:40:54 +00:00
Kevin Fenzi
e5f559daca
and case was right before
2017-11-21 22:03:28 +00:00
Kevin Fenzi
4d1cad7a6e
make parser happy
2017-11-21 22:03:10 +00:00
Kevin Fenzi
6ae9aa8df6
not not
2017-11-21 22:02:24 +00:00
Kevin Fenzi
470e8c0e3c
try this
2017-11-21 22:01:27 +00:00
Kevin Fenzi
0633c0b63b
also need a check mode no here
2017-11-21 21:38:59 +00:00
Kevin Fenzi
818a29acb3
try and fix this another way
2017-11-21 21:26:50 +00:00
Kevin Fenzi
47c9adb579
this may need quotes for check mode
2017-11-21 21:21:31 +00:00
Kevin Fenzi
afef097a3d
switch all the include tasks to import tasks
2017-10-17 17:37:03 +00:00
Kevin Fenzi
a4ca0db30c
more include cleanups
2017-10-15 20:22:53 +00:00
clime
240adfc259
copr-backend: install lighttpd's logrotate config for repo hit counting
2017-10-11 13:38:06 +02:00
clime
c945e61bb5
copr-backend: install custom lighttpd template for directory listing
2017-09-21 01:42:57 +02:00
clime
2079c8852b
copr: do not enable @copr/copr repo
2017-07-28 14:49:36 +02:00
clime
c968e00ebf
copr-backend: remove commented out lines for setup of no longer used scripts
2017-07-19 19:24:08 +02:00
clime
11ba27ce11
copr-backend: prep for release + clean-up
2017-06-09 08:14:38 +02:00
Kevin Fenzi
8a6e51a9a6
change state=running to start=started as the old one is going away in ansible 2.7
2017-04-13 01:37:21 +00:00
clime
171aa2fa6f
copr-backend: logstash no more
2017-04-12 18:45:32 +02:00
Jakub Kadlčík
19fd3e6e6e
Run fedmsg-relay on copr-be-dev
2017-04-12 08:53:09 +02:00