Commit graph

2329 commits

Author SHA1 Message Date
Michal Konečný
d0022876d5 [release-monitoring] Add missing && \
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-27 17:43:08 +02:00
Michal Konečný
1813618ff5 [release-monitoring] Let's uninstall the package before installing it again
It seems that the package isn't replaced with the newer build, let's remove it
first and see if this will help.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-27 17:32:02 +02:00
Michal Konečný
1de6caa039 [release-monitoring] Move the folder before anitya build
I moved the folder after, not before. Let's fix that.

Also it seems that the docs folder is still missing, let's keep the anitya
folder for further debugging.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-27 16:37:54 +02:00
Michal Konečný
98266d2afa [release-monitoring] Add missing && \ to lines
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-27 16:27:22 +02:00
Michal Konečný
1ec94dbea3 [release-monitoring] Move bootstrap fedora to correct folder
Move fedora bootstrap package to correct folder that is used by Anitya
deployment. We first need to remove symlink, which is not being included inside
wheel package.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-27 16:17:36 +02:00
Michal Konečný
cbd75b0d67 [release-monitoring] Use correct path to copy symlink from
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-27 16:02:39 +02:00
Michal Konečný
ce61b702b4 [release-monitoring] Fix the remaining deployment issues
Found out the issue was in missing includes in pyproject.toml. This is fixed in
https://github.com/fedora-infra/anitya/pull/1486 and the build should work
again.

Let's hope I'm right.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-27 15:50:02 +02:00
Michal Konečný
9d1d1252f7 [release-monitoring] Fix syntax error in buildconfig
The ansible playbook failad when converting template. I think the comments are
to blame.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-27 14:15:16 +02:00
Michal Konečný
595568964f [release-monitoring] Generate docs in virtual environment
I'm not sure what is happening, but the docs and bootstrap symlink are not
installed in the system. Let's try to first install Anitya to virtual
environment and build the docs and after that do a direct install to container.

Also don't remove the cloned folder, so we can look what is happening there.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-27 13:56:12 +02:00
Michal Konečný
a79b2eacdd [release-monitoring] Fix poetry deployment
Poetry deployment is too different in container than the deployment we used
before. Let's try to use `pip-3 install .` as before, thanks to PEP-517, this
should work as expected.

[PEP-517](https://peps.python.org/pep-0517/)

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-27 13:12:51 +02:00
Michal Konečný
2326ab1da9 [release-monitoring] Scripts are named differently in poetry
Poetry creates it's own script file in /usr/local/ and the name is without .py.
Reflect that in ansible.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-27 12:15:41 +02:00
Michal Konečný
9affa5f80a [release-monitoring] Build and install Anitya package before building documentation
Documentation build needs to have Anitya package already available. Move the
build and install it before building the documentation.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-27 11:39:07 +02:00
Michal Konečný
fba95afaa4 [release-monitoring] Fix the poetry export
The poetry export failed to be installed by pip. Let's try to create the
requirements.txt without hashes.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-27 10:56:27 +02:00
Michal Konečný
c20364bc7a [release-monitoring] Combine poetry and pip for build
The poetry install is creating an editable installation, which is not what we
want. Let's instead use pip for installation and poetry to build the package and
create requirements.txt.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-27 10:30:20 +02:00
Michal Konečný
2c6959f25b [release-monitoring] Use the correct location for quick fix
Poetry is installing wheels when available. Let's change the egg paths to
standard paths for staging.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-26 19:28:35 +02:00
Michal Konečný
ffa16d3195 [release-monitoring] Add poetry to staging build config
Anitya is now using poetry instead of setup.py. This commit is doing the
necessary changes in the buildconfig to reflect this change.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-26 16:30:00 +02:00
Erol Keskin
04106895fb the-new-hotness: change old explanation url to new one
Signed-off-by: Erol Keskin <erolkeskin.dev@gmail.com>
2022-09-26 16:25:10 +03:00
Kevin Fenzi
cf18a198f5 koschei: split stg and prod credentials
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-19 15:12:10 -07:00
Kevin Fenzi
bfaf5a59bf elections: seperate prod and stg passwords
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-19 14:11:50 -07:00
Kevin Fenzi
db3bec9cb4 fedocal: split out prod and stg db passwords
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-19 13:56:07 -07:00
Michal Konečný
3abf0d2526 [release-monitoring] Add configurable mapping links to config
Anitya is now supporting configurable links for distribution. Let's add those we
already know.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-15 15:51:26 +02:00
Kevin Fenzi
60f91468cb oraculum: define a imagestream/tag for the qa-landing build to output to
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-09 10:05:44 -07:00
Michal Konečný
7a56c80377 [toddlers] Fix the syntax errors in TOML
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-05 14:13:19 +02:00
Michal Konečný
e22e3f962c [toddlers] Add missing SLA
Add missing SLAs to scm_request_processor toddler configuration.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-09-05 13:59:08 +02:00
Michal Konečný
88e9c37990 [release-monitoring] Fix typo
Use == instead =.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-08-29 18:51:22 +02:00
Michal Konečný
11a1566b29 [release-monitoring] Install newer Flask-Login package
The Flask-Login package currently available in F36 has issue with werkzeug
package. This commit will use newer version of Flask-Login from PyPI to
work around the issue.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-08-29 18:34:27 +02:00
Michal Konečný
465c428667 [release-monitoring] Specify the exact version of sphinx package
With the sphinx 4.4.0 already installed in the container we need to specify
exact version of sphinx we want to install by pip.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-08-29 18:18:38 +02:00
Michal Konečný
626441f146 [release-monitoring] Use sphinx version from pip during build
The current version of sphinx available in Fedora 36 doesn't work with the new
version of Anitya. Let's use the newest from pip.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-08-29 18:06:10 +02:00
Kevin Fenzi
85de7fe8c0 greenwave: try switching stg back to latest image
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-08-22 09:39:14 -07:00
Mikolaj Izdebski
d66d362cb0 Koschei: Enable builds on aarch64
This reverts commit bf7a36b2cb.
2022-08-22 10:46:00 +02:00
Adam Williamson
23dcc9eeeb Greenwave: put F37 back on the full gating policy
All tests are now passing (yay), so we don't need the temp
policy and we can include F37 in the upgrade policy.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-20 23:54:54 -04:00
afb1c012cf docs: repository has been moved to Gitlab 2022-08-18 18:27:55 +00:00
Mikolaj Izdebski
bf7a36b2cb Koschei: disable builds on aarch64 for now
aarch64 builders have signifficantly lower capacity that other arches.
They are usually loaded with tasks, while ppc64le and x86_64 ones are
mostly free.  This slows down Koschei as it does not submit scratch
builds until load on aarch64 drops below 75 %.

The following table illustrates capacity of Koji builders in default
channel as of August 17, 2022:

    ┌─────────┬──────────┬──────────┐
    │    arch │ builders │ capacity │
    ├─────────┼──────────┼──────────┤
    │  x86_64 │       46 │      152 │
    │  armhfp │       28 │       56 │
    │ aarch64 │       34 │       68 │
    │   ppc64 │       37 │      148 │
    │ ppc64le │       37 │      148 │
    │   s390x │       27 │       67 │
    └─────────┴──────────┴──────────┘
2022-08-17 17:55:41 +02:00
Mikolaj Izdebski
c2c063d22f Koschei: Add workaround for database issue
UnappliedChange database table can run out of IDs under normal
operation.  Once this happens, there is backend outage that requires
manual admin intervention.

See: https://github.com/fedora-infra/koschei/issues/234
2022-08-17 07:22:42 +02:00
Adam Williamson
d697b081ba greenwave: re-enable gating on most update tests for F37
Only KDE desktop_background still needs to be commented out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-13 23:10:23 -07:00
Kevin Fenzi
0800afd8a2 bodhi: fix hotfix to RUN sed
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-08-11 16:32:44 -07:00
Kevin Fenzi
699e534001 bodhi: when sending to greenwave, always use verbose
This is a hack to work around bugs in bodhi and greewave.
It happens if we send here with verbose, bodhi sends the right stuff and
avoids the greenwave bug. This should be dropped as soon as upstream
fixes land in bodhi or greenwave. See:
https://pagure.io/greenwave/pull-request/666
and
https://github.com/fedora-infra/bodhi/pull/4687
for the proper fix.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-08-11 16:28:01 -07:00
Adam Williamson
acd29b0337 Use a less strict gating policy for F37 for now
Several openQA tests are known to be failing on F37 updates, so
clone the gating policy and exclude those tests while we get
through the mess of branching.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-11 09:58:43 -07:00
a7dcdbd794 Branch Fedora 37 from rawhide
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2022-08-09 17:58:51 +02:00
Michal Konečný
022ac7036a [toddlers] Don't use DEBUG log level on production
Don't overflow the log with DEBUG messages on production for toddlers. This is
fine on staging, but on production this should be on demand.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-07-28 14:30:21 +02:00
Michal Konečný
cd0edc872d [toddlers] Disable all cron jobs on staging
The cron jobs are causing the queue to just fill up and the messages can't be
currently processed so they are just being processed in loops.
Disable them for now, till at least some mailing server will be available on staging.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-07-26 13:15:37 +02:00
Kevin Fenzi
3688c1508d flatpak indexer: update to new bugfix release
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-25 11:33:36 -07:00
Michal Konečný
6a8a507572 [toddlers] Use the correct pagure user
There was a placeholder for pagure user in scm_request_processor configuration.
Let's change this to correct user.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-07-21 16:51:08 +02:00
af4de4fbd7 mote: Add redis password & liveness probes 2022-07-21 08:47:51 +00:00
Luca BRUNO
7702ab7584
coreos-cincinnati: deploy current git (24516a0) 2022-07-19 14:26:57 +00:00
Luca BRUNO
95c1ae8111
coreos-cincinnati: build current git (24516a0) 2022-07-19 14:18:55 +00:00
David Kirwan
068a93e272 flask-oidc: renaming config variables
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-07-18 15:00:09 +01:00
Michal Konečný
9d7e034b68 [toddlers] Disable packager bugzilla sync on staging
distgit_packager_bugzilla_sync toddler doesn't work well on staging, because the
accounts from staging dist_git are not properly synced to staging bugzilla.
which is causing this toddler to run for too long and blocking the queue.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-07-18 14:46:51 +02:00
David Kirwan
9b0d4ad38a flask-oidc: updating config variable
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-07-18 12:28:05 +01:00
David Kirwan
3fe2380ed2 flask-oidc-dev: adding required variables to test-auth config
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-07-14 15:09:02 +01:00