234 Commits

Author SHA1 Message Date
Josef Reidinger
e0d3ba3c95
Adds dependency for full check_source testing 2021-09-22 22:16:36 +02:00
Stephan Kulow
a3e5ce7e2d Make use of the 15.3 miniobs container 2021-09-21 14:41:43 +02:00
Stephan Kulow
b1bcbf7399 miniobs: Use 15.3 repos - 15.1 is EOL 2021-09-21 10:54:29 +02:00
2a3ee0c246 Update specfile for skippkg-finder 2021-08-26 21:37:15 +08:00
Josef Reidinger
c988ff7890 Use pytest instead of nosetests (fixes #2524) 2021-07-13 13:06:35 +02:00
Stephan Kulow
1790329082
Merge pull request #2598 from coolo/remove_systemd
Package: Drop systemd services
2021-07-13 09:31:02 +02:00
Josef Reidinger
ebd936e980 Preparation for switch from nosetests to pytest
The preparation is needed so no workaround is needed when validating
that all tests passed when switched from nosetests to pytest. Nosetests
will be removed as part of final switch change.
2021-07-12 22:34:45 +02:00
Stephan Kulow
1b8c80e86b Package: Fix rpm warning about unversioned obsoletes 2021-07-12 14:21:53 +02:00
Stephan Kulow
40ed91e582 Package: Drop systemd services
Those were used before we moved to gocd scheduling
2021-07-12 14:20:19 +02:00
Josef Reidinger
8a6398fecf Run perl checks as part of flaker ci task 2021-07-09 08:24:07 +02:00
Imobach González Sosa
108f00647f
Add missing libraries to testenv image to run check_source.pl 2021-07-08 12:25:43 +01:00
Imobach González Sosa
d0220d2918
Allow adjusting the exposed OBS port in Docker Compose 2021-07-02 08:37:46 +01:00
Imobach González Sosa
88b476919c
[CI] Expose port 3000 of the api service 2021-07-01 15:58:10 +01:00
Stephan Kulow
1acf69713c Use codecov for coverage - easier GA integration 2021-06-18 13:17:57 +02:00
Steve Kowalik
326a087168 Switch to python3 shebang
With the python shebang remaining as Python 2, switch the scripts to
using Python 3. This also allows us to clean up some imports.
2021-02-03 14:53:42 +11:00
Stephan Kulow
fca4401c43
Merge pull request #2430 from DimStar77/nopy3dep
dist: drop bogus python-enum34 dependency
2020-04-30 14:20:15 +02:00
Stephan Kulow
583b7bd6c1 miniobs: Fix database setup for rails 6 2020-04-30 12:06:58 +02:00
50286efadd
dist: drop bogus python-enum34 dependency
The entire codebase has moved to python3; pulling in this one python2 package makese no sense.
The guard with %if %{without python3} does not work as intended, as there is no %bcond_without statement
in the .spec file, thus assuming 'without' unless overriden by any other rules.
2020-04-24 14:17:59 +02:00
Stephan Kulow
010ffd8a51 Switch metrics to use python3
influxdb is no longer provided for python2
2020-03-10 12:02:22 +01:00
Stephan Kulow
5cba9ae5b2 Run delayed job in the api container
accepting is a delayed job, so it needs to run in some queue
2019-11-20 16:10:30 +01:00
Jimmy Berry
45e0989b28 dist/obs/attribute-update: provide script for updating attribute definitions. 2019-11-08 16:46:50 -06:00
Jimmy Berry
e2ac7a47d5
Merge pull request #2309 from jberry-suse/origin-manager-attribute-double-namespace
dist/obs: remove namespace from attribute names.
2019-11-08 16:08:12 -06:00
Jimmy Berry
f0cf84f7df dist/obs: remove namespace from attribute names. 2019-11-08 13:53:00 -06:00
Jimmy Berry
5f937588e6 osclib/origin: origin_update(): support blacklist patterns for initial updates. 2019-11-08 13:19:04 -06:00
Jimmy Berry
af68882f02 dist/ci/docker-compoose-test: include which test file is be executed. 2019-11-07 10:16:17 -06:00
Jimmy Berry
e771dc653f osclib/origin: provide automatic update mode controls. 2019-11-07 08:46:02 -06:00
Jimmy Berry
fe45de0a42 dist/ci/flake-extra: include origin_listener in product check. 2019-11-04 13:22:38 -06:00
Stephan Kulow
9b035e3e8c Start searchd in api container
Since https://github.com/openSUSE/open-build-service/pull/8558 OBS Api
now requires a searchd for creating projects, previously it was only
required for searching in the webui
2019-11-04 11:59:33 +01:00
Stephan Kulow
0cb54b8be0 Add a dummy user/password to the openSUSE:Factory section
See https://github.com/openSUSE/osc/issues/667 - we might want to remove
the feature to override settings locally this way and stop mangling with
osc's config file
2019-11-04 11:59:33 +01:00
Stephan Kulow
a97469df38
Merge pull request #2268 from DimStar77/novdelreq
StagingAPI: complex delete requests are no longer used
2019-10-19 16:49:03 +02:00
Stephan Kulow
24a8cf2b2f testenv: install shadow for useradd 2019-10-19 13:18:42 +02:00
9b7af72891
StagingAPI: complex delete requests are no longer used
* Simplify the 'accept' code

openSUSE:Factory/snapshot is newly setup as a Download on Demand repository
and we can thus safe ourselves the hassle of having to take extra care of
handling delete requests. They no longer bleed directly into the /snapshot
area and can now be accepted like any other request

* Drop vdelreq plugin

Since we no longer do a virtual accept of delete requests, we also don't
have to monitor their state anymore. Drop the plugin that served only
this usecase

* Drop the acheck command

As a consequence, the command 'staging acheck' serves no purpose anymore:
/totest was just there to ensure we have something to copy to /snapshot.
This entire repo will vanish, and it is thus no longer needed to verify
if it is in sync before accepting new data.
2019-10-17 15:37:44 +02:00
Jimmy Berry
92b4ed430d dist/obs: provide OSRT:OriginUpdateSkip attribute definition. 2019-09-11 18:55:36 -05:00
Stephan Kulow
0bb1be46b3 Add little SMTP server that does not send mails for testing
Not yet used, but hopefully will be useful for fully testing build fail
reminder
2019-09-03 19:43:15 +02:00
Jimmy Berry
cbfbb88048 osclib/sentry: sentry_client(): handle 0.11.x API change. 2019-08-29 14:10:29 -05:00
Stephan Kulow
a44c65545b Replace rebuildpacs.pl with project-installcheck functionality 2019-07-29 10:05:51 +02:00
238abef376
Merge pull request #2125 from DimStar77/grafana
dist: package /etc/grafana with the same mode as grafana
2019-07-12 08:41:50 +02:00
816c9c165c
dist: package /etc/grafana with the same mode as grafana 2019-07-11 12:52:23 +02:00
aface14037 Add a script scan_baselibs.py to verifying importing 32bit binaries 2019-07-05 17:20:32 +08:00
Stephan Kulow
0252722048 Adapt packaging to the repo_checker.py split 2019-06-06 11:52:46 +02:00
Jimmy Berry
9eebf08e32 dist/k8s: drop OBS operator origin-manager report cron.
To be replaced by cron service.
2019-05-30 17:08:05 -05:00
Jimmy Berry
2c6d0a19cb systemd: drop OBS operator origin-manager report service/timer.
To be replaced by cron service.
2019-05-30 17:08:05 -05:00
Jimmy Berry
e1ed808fad dist/k8s: provide OBS operator origin-manager cron. 2019-05-30 17:08:05 -05:00
Jimmy Berry
4d5b74b7f6 systemd: provide OBS operator origin-manager cron service and timer. 2019-05-30 17:08:05 -05:00
Stephan Kulow
f1476c6819 Remove check_dups plugin
This plugin only works if run under an account owning the
target project (as I had it running with my own credentials
back in the day). As we no longer do that, the check_dups approach
is dead - and declining superseded requests from staging-bot
superseded (pun intended) this approach
2019-05-30 18:24:13 +02:00
Stephan Kulow
8ad48c6c09 No need to install flake8, it's part of the image now 2019-05-29 13:37:34 +02:00
Stephan Kulow
e94d5da434 Need to use http urls for obs to map it 2019-05-29 11:28:17 +02:00
Jimmy Berry
c4dccf80ab dist/k8s/heroes: include openSUSE:Leap:15.1:NonFree in origin_manager_report. 2019-05-22 20:33:09 -05:00
Stephan Kulow
90a5fe9f90 Require python3-osc and python3 only
We no longer test with python2 and our users can be reasonably well
expected to be on platforms supporting python3
2019-05-22 07:50:11 +02:00
Stephan Kulow
4a0df7a257 Require newly released osc for python3 fixes 2019-05-22 07:49:45 +02:00