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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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 │
└─────────┴──────────┴──────────┘
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
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>
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>
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>
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>
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>
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>