Commit graph

29960 commits

Author SHA1 Message Date
Jakub Kadlcik
01ce13e3ec Revert "copr: temporarily don't obtain letsencrypt certs on fe dev in aws"
This reverts commit 505196a14f8ff645b78c03be1bb44998ff6b4185.

Hopefully it will work now, since the iptables are disabled
2020-04-24 21:34:24 +02:00
Pierre-Yves Chibon
c1e23f8ef5 bodhi: Log the last commit in the repo at the time of the build
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:24 +02:00
Jakub Kadlcik
234ac60c3b copr: actually, use baseiptables variable to disable iptables 2020-04-24 21:34:24 +02:00
Pavel Raiskup
142306b20d copr*aws: don't enable logrotat in base
We handle that manually in our playbooks.
2020-04-24 21:34:24 +02:00
Jakub Kadlcik
1e5692ce9b stopping iptables probably isn't enough, let's mask it 2020-04-24 21:34:24 +02:00
Pierre-Yves Chibon
89a96ccb89 bodhi: clone from pingou's fork to debug something in stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:24 +02:00
Jakub Kadlcik
a050a3b25e copr: temporarily don't obtain letsencrypt certs on fe dev in aws
This reverts commit 51f83dbc8774ed1974a72727ff0d9ed1ec231cf7.

It still doesn't work properly
2020-04-24 21:34:24 +02:00
Miroslav Suchý
68424cee80 copr: define copr_keygen_aws 2020-04-24 21:34:24 +02:00
Jakub Kadlcik
777b48a949 Revert "copr: temporarily don't obtain letsencrypt certs on fe dev in aws"
This reverts commit c52df0e12ad55b302ad82eae4f2500c87fd3c0fa.
2020-04-24 21:34:24 +02:00
Clement Verna
bc712e103e OSBS: make registry.fp.o source registry in stg
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:24 +02:00
Jakub Kadlcik
e7c0bc201e disable iptables in aws, we have security groups 2020-04-24 21:34:24 +02:00
Jakub Kadlcik
30bae8090a copr: temporarily don't obtain letsencrypt certs on fe dev in aws 2020-04-24 21:34:24 +02:00
Jakub Kadlcik
b189f2b32b copr: I totally forgot to commit an inventory file for copr_front_dev_aws 2020-04-24 21:34:24 +02:00
Pavel Raiskup
fe9efd34ef inventory: copr_back_dev_aws is correct group name 2020-04-24 21:34:24 +02:00
Jakub Kadlcik
313d1676a6 copr: move copr_front_dev_aws to copr_dev_aws group 2020-04-24 21:34:24 +02:00
Pavel Raiskup
c04fd4fc06 inventory: copr-dist-git: fix ansible warning
[WARNING]:  * Failed to parse /srv/web/infra/ansible/inventory/inventory
with ini plugin: /srv/web/infra/ansible/inventory/inventory:1166:
Section [copr_aws:children] includes undefined group: copr_dist_git_aws
2020-04-24 21:34:24 +02:00
Pavel Raiskup
2d00ee7312 copr-be-dev-aws: use group hostvars as much as possible
.. so we can change dns names easily.
2020-04-24 21:34:24 +02:00
Miroslav Suchý
57823e23c6 copr: do not set PEERDNS in aws 2020-04-24 21:34:24 +02:00
Miroslav Suchý
feda20ad3c copr: unmask tmp.mount 2020-04-24 21:34:24 +02:00
Miroslav Suchý
5723472a5c copr: do not run services on dist-git until migration is done 2020-04-24 21:34:24 +02:00
Miroslav Suchý
6542249c16 copr: update host vars 2020-04-24 21:34:24 +02:00
Miroslav Suchý
749e7dca19 copr: move aws machines to right group 2020-04-24 21:34:24 +02:00
Miroslav Suchý
825df7f834 copr: update ip addresses and hostnames 2020-04-24 21:34:24 +02:00
Miroslav Suchý
cde341b682 copr: add dist-git and keygen to copr_aws group 2020-04-24 21:34:24 +02:00
Pavel Raiskup
389da0d097 copr: builders: updated mock-core-configs
For broken OpenSUSE and Mageia chroots.
2020-04-24 21:34:24 +02:00
Miroslav Suchý
902a288593 copr: do not use fedora cloud for builders 2020-04-24 21:34:24 +02:00
Pierre-Yves Chibon
2221481fd8 monitor-gating: Define what is apps.stg.fp.o as it is not known in openshift
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:24 +02:00
Pavel Raiskup
b65e40a907 copr-fe-dev-aws: revert the hack 2020-04-24 21:34:24 +02:00
Pavel Raiskup
f488a4f91c copr-fe-dev-aws: hack typofix 2020-04-24 21:34:24 +02:00
Pavel Raiskup
fe6985b093 copr-fe-dev-aws: hack to not change DNS 2020-04-24 21:34:24 +02:00
Jakub Kadlcik
8a37bf334c copr: remove become stuff from aws playbook 2020-04-24 21:34:23 +02:00
Pierre-Yves Chibon
792bec6678 monitor-gating: ansible also doesn't like boolean, make the variable a string
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:23 +02:00
Pierre-Yves Chibon
07f4956a7a monitor-gating: Looks like yaml and int are still not friends
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:23 +02:00
Pavel Raiskup
b61f0c04b6 copr-be-dev-aws: use '.aws.fedoraproject.org' host_vars 2020-04-24 21:34:23 +02:00
Pavel Raiskup
a2beb8536e copr_dev_aws: use the aws-specific be hostname for now 2020-04-24 21:34:23 +02:00
Clement Verna
c936bceeb4 bodhi: 5.1.1 is now available in fedora 30
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:23 +02:00
Jakub Kadlcik
8c2ffe6724 copr: typo, missing quotes 2020-04-24 21:34:23 +02:00
Kevin Fenzi
8c580a962a koji-hub: mount new ostree volume on -new in prod and mount new staging volume in stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:23 +02:00
Jakub Kadlcik
4776d06bf4 copr: new instance for copr frontend dev in aws, again 2020-04-24 21:34:23 +02:00
Pavel Raiskup
ac9de8828e copr_dev_aws: replace copr_dev entirely 2020-04-24 21:34:23 +02:00
Pavel Raiskup
5488f1a61f copr-be*-aws: don't hack with networking for now 2020-04-24 21:34:23 +02:00
Jakub Kadlcik
957c5082a9 copr: use aws_cloud.yml on copr fe dev 2020-04-24 21:34:23 +02:00
Jakub Kadlcik
5b87728fd0 copr: dont mess networking on copr frontend dev aws instance 2020-04-24 21:34:23 +02:00
Pavel Raiskup
450688a699 aws_cloud.yml: more python3/fedora hacks 2020-04-24 21:34:23 +02:00
Pavel Raiskup
38b299509a aws_cloud.yml: rely on python3 for now 2020-04-24 21:34:23 +02:00
Pavel Raiskup
99db42b520 aws_cloud.yml: install python-libselinux, not libselinux-python 2020-04-24 21:34:23 +02:00
Pavel Raiskup
70c797796c copr-be-dev-aws: inventory host var file correction 2020-04-24 21:34:23 +02:00
Pavel Raiskup
ebd560cf60 copr: be: playbook typo 2020-04-24 21:34:23 +02:00
Pavel Raiskup
7d30662023 copr: add aws_cloud.yml task replacing persistent_cloud.yml
And use it in copr-backend.yml playbook.
2020-04-24 21:34:23 +02:00
Pavel Raiskup
fb4ff2bdbd copr: defaults for aws
All aws boxes to have:
| nm_controlled_resolv: True
| ansible_ifcfg_blacklist: True
2020-04-24 21:34:23 +02:00