Commit graph

30083 commits

Author SHA1 Message Date
Pavel Raiskup
79e92e6a9e copr-be-aws: run the playbooks against production AWS 2020-04-24 21:34:24 +02:00
Pavel Raiskup
08d505ab6b inventory: put aws dev boxes to staging group
This should fix the nice "prompt" from PROD to STG.
2020-04-24 21:34:24 +02:00
Pavel Raiskup
085d3573d9 copr-be*aws: host vars 2020-04-24 21:34:24 +02:00
Miroslav Suchý
d4bcf65385 copr: add devel variable to copr_aws 2020-04-24 21:34:24 +02:00
Miroslav Suchý
2898069905 Revert "copr: unmask tmp.mount"
This reverts commit 911e10db3ae661d1758e971a71e3b098ee7670f6.
in favour of change in 1569679e1b213374b7eb75915e6a87cfd8799b30
2020-04-24 21:34:24 +02:00
Pavel Raiskup
4b19dec6e3 copr-be-dev-aws: use full inventory_hostname for lighttpd config 2020-04-24 21:34:24 +02:00
Pavel Raiskup
bdb7509d40 copr-be*: don't switch hostname here and there 2020-04-24 21:34:24 +02:00
Miroslav Suchý
1d823a09e3 copr: define group_vars/copr_aws 2020-04-24 21:34:24 +02:00
Pavel Raiskup
c73bb140ac copr-be-dev-aws: proper location of lighttpd_dev.conf template 2020-04-24 21:34:24 +02:00
Pavel Raiskup
981abe0d67 copr-be*aws: don't restart copr-backend yet 2020-04-24 21:34:24 +02:00
Pavel Raiskup
0c305c731a copr-be-dev: fix path to LE certificate 2020-04-24 21:34:24 +02:00
Miroslav Suchý
c2f93b3221 copr: add production host_vars 2020-04-24 21:34:24 +02:00
Pavel Raiskup
fed45144b2 copr: be: meta: drop dep on nagios_client
Nagios client is specified directly in playbook, no need to run the role
twice.
2020-04-24 21:34:24 +02:00
Pavel Raiskup
3052f2a585 copr-be*aws: postgresql can (must) be started 2020-04-24 21:34:24 +02:00
Miroslav Suchý
e1a15ca48a copr: use correct hostname 2020-04-24 21:34:24 +02:00
Miroslav Suchý
b9bfef87c5 copr: run playbook on production aws machines too 2020-04-24 21:34:24 +02:00
Pavel Raiskup
f3106b837e copr_dev_aws: use aws.fedoraproject.org. parent 2020-04-24 21:34:24 +02:00
Stephen Smoogen
8233810547 Allow aws to use signed zone versus unsigned dns zone 2020-04-24 21:34:24 +02:00
Miroslav Suchý
41364ef7ce copr: use correct inventory hostname 2020-04-24 21:34:24 +02:00
Pavel Raiskup
2382fd35a8 copr_back_dev_aws: copy from copr_back_dev
plus updates
2020-04-24 21:34:24 +02:00
Pavel Raiskup
6ce937b975 copr-aws: put datacenter to group vars 2020-04-24 21:34:24 +02:00
Adam Saleh
d47e1f29e8 Reverting bodhi-openshift to use openshift-build instead of quay 2020-04-24 21:34:24 +02:00
Pavel Raiskup
f84a1ea988 cloud_setup_basic: unmask tmp.mount
Since we enable logrotate automatically on all infrastructure VMs (if
Fedora), it requires tmp.mount unmasked nowadays.
2020-04-24 21:34:24 +02:00
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