Pavel Raiskup
e70c87c52f
copr: frontend: better check for initialized PG
2019-06-12 14:50:43 +02:00
Jakub Kadlcik
742f68d258
I've added some templates, but forgot to install them
2019-06-11 02:17:13 +02:00
Pavel Raiskup
b22fd62355
Enable yum/dnf caches again
...
We now have copr-rpmbuild 0.29 on our builder VMs, and that
version automatically removes caches after each build.
This reverts commit 1bde1869f8 .
2019-06-10 08:28:50 +02:00
Jakub Kadlčík
aa4d5036b5
copr: set temporary alias from epel-8 to rhelbeta-8
...
See https://bugzilla.redhat.com/show_bug.cgi?id=1705912
This won't just start working after this commit. Here we just
prepare the configuration, but it will be properly read only
once we release new copr-frontend
2019-06-07 00:28:21 +02:00
Jakub Kadlčík
022ed16be9
Fix indentation
2019-06-07 00:17:24 +02:00
Jakub Kadlčík
f68efa7797
copr-dist-git: automatize cert renewal with certbot-renew.timer
2019-06-07 00:02:48 +02:00
Jakub Kadlčík
232b5a9222
copr-fe-dev: automatize cert renewal with certbot-renew.timer
2019-06-07 00:01:06 +02:00
Jakub Kadlčík
d95e62fd67
copr-be-dev: automatize cert renewal with certbot-renew.timer
2019-06-07 00:01:06 +02:00
Pavel Raiskup
1bde1869f8
copr: builders: temporarily disable yum_caches again
...
This causes problems to @python/python3.8 project, where is too
heavy re-use of VMs (several hundreds of builds on one VM).
This reverts commit 9988126185 .
2019-06-06 10:54:10 +02:00
Pavel Raiskup
618c1be2fe
copr: backend: flip resalloc against postgresql
2019-06-06 09:11:42 +02:00
Pavel Raiskup
03cd3234a2
copr: backend: install start postgresql server for resalloc
2019-06-06 08:45:54 +02:00
Pavel Raiskup
9988126185
copr: don't disable yum/dnf caches
...
We re-use the mock profile several times during one package build,
and it doesn't make sense to re-download the repo metadata all the
time.
We have nowadays namespaced directory under /var/cache/mock
per-build ID, so there's no risk that we'll use some very old
caches because of 'max_age_days' or 'max_metadata_age_days' config
options.
2019-06-05 10:28:28 +02:00
Jakub Kadlčík
49d6f8343d
copr: distgit: fix selinux context for letsencrypt, see d6b034984
2019-06-04 14:35:05 +02:00
Jakub Kadlčík
ac127ff44d
copr: frontend: fix selinux context for letsencrypt, see d6b034984
2019-06-01 14:51:36 +02:00
Jakub Kadlčík
2a3a7c65ce
Move letsencrypt tasks to separate file
2019-06-01 14:42:02 +02:00
Pavel Raiskup
8963287ddd
copr: provision: disable systemd-resolved
...
TODO: find the reason why this is even enabled
2019-05-30 09:44:08 +02:00
Pavel Raiskup
00a07f94e4
copr: backend: provisioning hacks to make bootstrap chroot work
2019-05-28 06:33:29 +02:00
Pavel Raiskup
6cae0779ee
copr: builder: fix bootstrap_chroot feature?
...
Put 'elfutils-libelf', otherwise
devtoolset-3-elfutils-libelf-0.161-1.el7.x86_64 from scl
repositories might be installed by dnf into bootstrap chroot.
2019-05-27 19:07:29 +02:00
Pavel Raiskup
abffb6b3b3
copr: backend: install virt stuff for spawning aarch64 boxes
2019-05-27 15:59:56 +02:00
Pavel Raiskup
4bc27555b7
copr: enable aarch64 builders in production
2019-05-27 15:32:23 +02:00
Pavel Raiskup
27c64331b1
copr: provision: move to F30
2019-05-27 15:04:54 +02:00
Pavel Raiskup
b37182fcc8
copr: provision - install ethtool again
...
This one is fedora-copr-only hack, and as such the ethtool package
isn't supposed to be put as Requires: into copr-builder. To not
C&P between x86_64/ppc64le playbooks, put the ethtool hack into
separate tasks file.
2019-05-27 07:38:30 +02:00
Pavel Raiskup
6d834e67c4
copr: builderpb_nova, no need to explicitly install nosync
...
It is installed as copr-builder's dependency.
2019-05-27 07:14:03 +02:00
Jakub Kadlčík
a129c38944
Enable outdated chroots notification/removal automatization
2019-05-21 09:25:30 +02:00
Jakub Kadlčík
725fa14bf1
Fix a typo
2019-05-19 15:10:50 +02:00
Pavel Raiskup
6f5c9fbb76
copr: run /usr/bin/copr-update-builder again
...
But this time (correctly) only for staging...
2019-05-18 20:48:04 +02:00
Jakub Kadlčík
4de28816da
Do not run /usr/bin/copr-update-builder script
...
No such script is currently provided by `copr-builder` package
and therefore the playbook fails and we are not able to spawn
builders for Copr
2019-05-18 15:20:41 +02:00
Pavel Raiskup
d6b0349846
copr: backend: fix selinux context for letsencrypt
2019-05-15 12:03:49 +02:00
Pavel Raiskup
49a2ca17a7
copr: stg-backend: fix lighttpd config for certbot
...
- server.document-root is not needed /.well-known/
- alias.url needs mod_alias loaded
2019-05-15 10:25:34 +02:00
Pavel Raiskup
620ad35bbb
copr: frontend: update cron tasks
...
Most of the tasks is in non-%noreplace config nowadays. The rest
goes to 'copr-frontend-optional' cron script.
2019-05-14 11:29:03 +02:00
Pavel Raiskup
acd01d8519
copr: builder: add infra repo only when preparing image
...
This is because on aarch64 builders we handle this a little bit
differently, and it would result in having the repo enabled twice.
2019-05-14 09:36:51 +02:00
Pavel Raiskup
346868d45a
copr: don't enforce yum-deprecated on builder
...
.. so we don't fail if yum-deprecated isn't available (F30 builder
case). If the 'yum.rpm' package that provides /bin/yum-deprecated
script _is_ available => mock would use it anyways (it's the case
on F28 builder).
2019-05-13 22:10:31 +02:00
Pavel Raiskup
8edcf08f36
copr: backend provision c&p fix
2019-05-13 16:19:56 +02:00
Pavel Raiskup
1fd3dc0ca5
copr: builders: remove yum on F30+
2019-05-13 15:58:41 +02:00
Pavel Raiskup
91825fa419
copr: distribute devel/production to spawn/terminate playbooks
2019-05-13 15:44:57 +02:00
Pavel Raiskup
6842ba7df8
copr: rpkg.conf needs to go to files/ dir
2019-05-13 13:18:29 +02:00
Pavel Raiskup
88ffbff08a
copr: aarch64 spawner needs rpkg config as well
2019-05-13 13:11:04 +02:00
Pavel Raiskup
1d8de61b6d
copr: resalloc homedir again
2019-05-13 13:05:23 +02:00
Pavel Raiskup
58f75e10a2
copr: aarch64 spawner needs rpmbuild config
2019-05-13 13:02:58 +02:00
Pavel Raiskup
006ccfe283
copr: run ansible through Python 3 also on aarch64 builders
2019-05-13 12:53:47 +02:00
Pavel Raiskup
59eb1bf221
copr: be: resalloc needs nova_cloud_vars.yml
2019-05-13 12:44:00 +02:00
Pavel Raiskup
dcc6854236
copr: vm-aarch64-new: resalloc home dir fix once more
2019-05-13 12:30:47 +02:00
Pavel Raiskup
9b375e79e5
copr: fix resalloc home dir in vm-aarch64-new
...
roles/copr/backend/files/resalloc_provision/vm-aarch64-new
2019-05-13 12:28:32 +02:00
Pavel Raiskup
e3f121fe87
copr: remove '-' typo
2019-05-13 12:14:52 +02:00
Pavel Raiskup
897334fc94
copr: don't use colon in task 'name'
2019-05-13 12:13:52 +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
Pavel Raiskup
f0b6182aeb
copr: don't install dnf-utils in provision builder
...
The dnf-utils package is not installable together with yum-utils
on Fedora 28, so even though it's needed for F30 - it would break
F28 spinup scripts.
To be precise - from F30 we should move to `copr-builder` package
anyways, which will bring all the necessary deps with itself; so
we'll remove the list entirely.
2019-05-13 09:16:32 +02:00
Pavel Raiskup
8b1e3d8d93
copr: BE builderpb* playbooks can use Python 3 interpreter
...
It's actually needed once we move to Fedora 30 builders.
2019-05-13 08:05:34 +02:00
Pavel Raiskup
4040efd455
copr: don't use absolute reference to /copr/provision
2019-05-09 10:52:19 +02:00
Pavel Raiskup
50419c7122
copr: install dnf-utils, not yum-utils
...
The yum-utils package is not installable on F30, while 'yum-utils'
is provided by dnf-utils for some time.
2019-05-09 10:52:19 +02:00