Pavel Raiskup
591bff5336
copr: upload images from backend
2025-07-25 16:25:41 +02:00
Jiri Kyjovsky
032d277d75
copr: fix names of deployed jinja templates
2025-06-09 17:37:57 +02:00
Jakub Kadlcik
661ddacb55
copr-be: install pulp certificates also on STG
2025-03-25 10:17:23 +01:00
Michal Konecny
2ec055db6f
Use first uppercase letter for all handlers
...
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.
I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```
Then I went through all the changes and removed the ones that wasn't
expected to be changed.
Fixes https://pagure.io/fedora-infrastructure/issue/12391
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-02-10 20:31:49 +00:00
Jakub Kadlcik
cab31f142c
copr-be: another attempt to create the file
2025-01-30 15:12:35 +01:00
Jakub Kadlcik
022ef5ddb6
copr-be: state=file doesn't create the file
2025-01-30 15:04:32 +01:00
Jakub Kadlcik
b7be52dd87
copr-be: conditionally redirect backend URLs to Pulp
...
See https://github.com/fedora-copr/copr/issues/3504
2025-01-30 13:53:40 +00:00
Pavel Raiskup
93504347bf
copr-be: fix playbook
...
Complements: 5bdfe4b1e5
2025-01-30 09:22:20 +01:00
Ryan Lerch
98c457adeb
Comment out install_cloud_cert.yml
...
This file appears to not be used anymore, and contained linting issues.
So just commenting out the whole file for now and leaving a note.
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-21 09:37:36 +10:00
Ryan Lerch
47c68f478d
ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
...
Replaces references to template: with ansible.builtin.template
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 11:30:29 +10:00
Ryan Lerch
3c41882bb0
ansiblelint fixes - fqcn[action-core] - shell to ansible.builtin.shell
...
Replaces references to shell: with ansible.builtin.shell
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 11:29:10 +10:00
Ryan Lerch
25391e95b7
ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
...
Replaces many references to package: with ansible.builtin.package
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 11:28:00 +10:00
Ryan Lerch
462176464b
ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
...
Replaces many references to command: with ansible.builtin.command
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 11:26:47 +10:00
Ryan Lerch
6a3816dfdc
ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
...
Replaces many references to 'copy' with ansible.builtin.copy
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 10:43:31 +10:00
Ryan Lerch
62952df107
ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
...
Replaces many references to file: with ansible.builtin.file
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 10:41:52 +10:00
Ryan Lerch
691adee6ee
Fix name[casing] ansible-lint issues
...
fix 1900 failures of the following case issue:
`name[casing]: All names should start with an uppercase letter.`
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-14 20:20:07 +10:00
Ryan Lerch
5bdfe4b1e5
copr and ipsilon - rename yml templates to .j2
...
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-14 08:37:33 +10:00
Pavel Raiskup
cf93471401
copr-be: uhhh, spawner wrapper must fail when allocation fails
2025-01-11 21:37:57 +01:00
Pavel Raiskup
b4deaaed17
copr-be: yq is needed by /usr/local/bin/resalloc-check-vm-ip
2025-01-11 21:06:21 +01:00
Pavel Raiskup
823124c12e
copr-be: keep IP checker compatible with plain IP in base64 data
2025-01-11 20:00:22 +01:00
Pavel Raiskup
f0549afb96
copr-be: custom resalloc ip checker script
2025-01-11 19:43:55 +01:00
Pavel Raiskup
53b74020c4
copr-be: identify the used resalloc name in backend.log (shebang)
2025-01-11 19:21:02 +01:00
Pavel Raiskup
033f24d307
copr-backend: identify the used resalloc name in backend.log
2025-01-11 19:19:08 +01:00
Pavel Raiskup
52217cef19
copr-be: per-zone pools started in IBM Cloud
...
Complements: https://github.com/fedora-copr/resalloc-ibm-cloud/pull/31
Relates: https://github.com/fedora-copr/copr/issues/3557
2025-01-11 16:29:36 +01:00
Pavel Raiskup
105c881e33
copr-backend: don't delay mdadm/lvm2 installation
...
This is needed when we run the playbook against the `*-temp` hostname;
while we don't have the volumes in hand, we still want to install all
the tooling early. This minimizes the risk that the subsequent volume
attachment do not automatically construct the RAIDs (vg).
2024-12-04 16:24:49 +01:00
Pavel Raiskup
01b8d651d9
backend: birthday again services disabled
...
I haven't actually moved to F39 before :-(
2024-12-04 12:40:03 +01:00
Pavel Raiskup
19ee01836b
copr-be: autoactivate volume group
...
I think this is caused by (run against the previous backend instance):
fb1acfb6fd/play-vm-migration-02-migrate-backend-box.yml (L68-L71)
2024-11-29 21:40:29 +01:00
Pavel Raiskup
527b9bba7e
copr-be: don't fail the boot if lvm on md doesn't assemble
...
https://github.com/fedora-copr/copr/issues/3536
2024-11-28 11:14:09 +01:00
Ryan Lerch
89f6f1fc32
Fix majority of remaining yamllint warnings and errors
...
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2024-11-28 17:31:45 +10:00
Pavel Raiskup
1073f70bce
copr-be: activate the volume group
2024-11-28 07:35:23 +01:00
Pavel Raiskup
eecfd297f1
copr-be-dev: correctly loop over two lists of volumes
2024-11-27 23:40:16 +01:00
Jakub Kadlcik
7c69733787
copr-bacend: fix items variable name
2024-10-29 18:49:38 +01:00
Jakub Kadlcik
713c82215f
copr-backend: oops, fix copy-paste leftover
2024-10-29 18:27:10 +01:00
Jakub Kadlcik
ad3d1a3a54
copr-backend: configure an access to a Pulp instance
2024-10-29 18:16:48 +01:00
Pavel Raiskup
87959ce5e6
copr: cleanup credentials: old openstack
...
Complements: 1623f42fea
2023-11-13 09:12:55 +01:00
Pavel Raiskup
1623f42fea
copr: cleanup credentials: old openstack
...
Complements 4792241cfe
2023-11-13 09:04:30 +01:00
Pavel Raiskup
bb04ae62ad
copr: credential cleanup: drop log for "static" SSL
...
We are for quite some time using the roles/copr/certbot also for
backend production.
2023-11-10 13:45:19 +01:00
Pavel Raiskup
4792241cfe
copr: credential cleanup: drop unused openstack/passwords.yml
...
Drop the use of credentials to (now) non-existing OpenStack.
2023-11-10 13:35:17 +01:00
Miroslav Suchý
2e74e39de2
Revert "copr: restart resalloc when config change"
...
This reverts commit b11b6ecc5a .
2023-11-03 13:25:50 +01:00
Miroslav Suchý
038181bba4
copr: remove outdated part
2023-11-03 13:23:16 +01:00
Miroslav Suchý
b11b6ecc5a
copr: restart resalloc when config change
2023-11-03 13:22:39 +01:00
Jiri Kyjovsky
67f9873ee0
copr: use resalloc-ibm-cloud package
...
can be found on https://github.com/fedora-copr/resalloc-ibm-cloud
2023-10-20 13:08:52 +00:00
Pavel Raiskup
4b656cdb3f
copr-be-dev: enlarging data VG with additional RAID1
2023-10-03 15:38:39 +02:00
Pavel Raiskup
58f5ee58e6
copr-be: scan just once a month
...
It turns out that a drop-in created yet another OnCalendar event; so we
actually checked disk arrays even more frequently with the drop-in.
Let's override /usr/lib config with /etc (copy-paste with OnCalendar
tweak).
2023-08-26 15:39:07 +02:00
Pavel Raiskup
1e6fba350e
copr-hypervisor: typo in when condition
2023-08-22 10:23:27 +02:00
Pavel Raiskup
511b1999c2
copr-hypervisor: don't operate with main.ini
...
The commit a12c6d9396 wasn't enough, there
are other undefined variables.
2023-08-22 10:22:10 +02:00
Jakub Kadlcik
5d50343254
copr-backend: revert temporarily disabled tasks
...
See https://pagure.io/fedora-infrastructure/issue/11336
This reverts commit 3c00832230 .
This reverts commit ccab97a1ca .
2023-05-24 13:06:34 +02:00
Jakub Kadlcik
3c00832230
copr-backend: temporarily don't copy copr-be.conf
...
See https://pagure.io/fedora-infrastructure/issue/11336
2023-05-23 22:38:54 +02:00
Jakub Kadlcik
ccab97a1ca
copr-backend: temporarily comment max_workers tasks
...
See https://pagure.io/fedora-infrastructure/issue/11336
We need to temporarily comment the following few tasks. They fail
because the `python3-jmespath` on batcave is provided older python
version than we need.
2023-05-23 22:28:11 +02:00
Pavel Raiskup
76cf843c9b
copr-backend: fixing ssh_config, take #4 (ownership)
2023-03-30 10:57:55 +02:00