Dirk Müller
730630f06f
Use f-strings where possible
2024-05-07 21:52:32 +02:00
Fabian Vogt
1dba781811
dist: Add python3-requests
...
Needed by some scripts and tests.
2023-06-19 10:29:41 +02:00
da87dbc682
Switch to Leap 15.5
2023-06-15 16:43:53 +02:00
Fabian Vogt
0afa9738e7
dist: Pick osc from repo built against published Tumbleweed
...
Currently it picks osc built against openSUSE:Factory/standard, causing a
mismatch in Python versions.
2023-06-15 16:08:13 +02:00
Fabian Vogt
8e4116defc
Port from mock to unittest.mock
...
python3-mock no longer exists, use unittest.mock instead.
2023-03-01 16:57:37 +01:00
466a5966e3
Use the 15.4 container
2023-01-25 14:18:32 +01:00
3e9a25f14f
Switch to 15.4, 15.3 has been deleted
2023-01-25 14:04:49 +01:00
Stephan Kulow
1e3883dc9f
More fixes for editor config compliance
2023-01-02 19:44:28 +01:00
38b9f2def0
ci: Adjust path to memcached as done in the package
2022-11-24 14:15:12 +01:00
3149998138
ci/testenv-tumbleweed: Add scm-obs-bridge for source_checker to container
2022-06-23 11:30:51 +02:00
Stephan Kulow
0457bad967
dist: Enable the ability to run services in miniobs
...
I went for recompress and format_spec_file - all other services will
result in broken packages
2022-03-24 10:13:46 +01:00
Stephan Kulow
9e3c0f19e9
CI: adapt miniobs to use the ruby OBS was built with (3.1)
2022-03-17 11:41:54 +01:00
Stephan Kulow
c412dada22
CI: Split the tests in multiple runs
...
A test run of 40 minutes is just too much to wait for. So tag the long
running jobs to run in a special run
2022-03-07 18:48:43 +01:00
Stephan Kulow
95db8a0091
More origin manager cleanup
...
As we don't do automatic origin updates in no project, remove the
update monitors. Those have been paused on botmaster for half a year
and just no project relies on them any longer
2022-02-25 10:10:09 +01:00
Stephan Kulow
f38bd3a7ed
Target E128 - Continuation line under-indented for visual indent
...
https://www.flake8rules.com/rules/E128.html
2022-02-18 17:35:33 +01:00
Stephan Kulow
529d1dafae
Target E302 - add two comment lines before class
2022-02-18 17:15:48 +01:00
Stephan Kulow
579145b52c
Target F841 - Remove unused variables
2022-02-18 17:01:38 +01:00
Stephan Kulow
1152d4c419
Remove bare excepts - https://www.flake8rules.com/rules/E722.html
...
The bare except in osc-credentials lead me to remove it and the scripts
using it
2022-02-18 12:03:56 +01:00
Stephan Kulow
00fbc99195
ci: We don't use coveralls anymore
2022-02-08 14:46:24 +01:00
Stephan Kulow
f375931188
miniobs: The upstream OBS project changed repo names
2021-10-27 09:16:25 +02:00
Stephan Kulow
d0cf0d4501
CI: Run Tumbleweed container as priveleged in docker
...
This avoids the syscall filter breaking with new glibc
2021-09-30 10:29:35 +02:00
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
Josef Reidinger
c988ff7890
Use pytest instead of nosetests ( fixes #2524 )
2021-07-13 13:06:35 +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
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
583b7bd6c1
miniobs: Fix database setup for rails 6
2020-04-30 12:06:58 +02: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
af68882f02
dist/ci/docker-compoose-test: include which test file is be executed.
2019-11-07 10:16:17 -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
24a8cf2b2f
testenv: install shadow for useradd
2019-10-19 13:18:42 +02: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
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
Stephan Kulow
4a0df7a257
Require newly released osc for python3 fixes
2019-05-22 07:49:45 +02:00
Stephan Kulow
c976a46113
Switch miniobs to use 15.1
2019-05-18 18:06:56 +02:00
Stephan Kulow
227e3ad0a8
Simplify travis setup even more: deploy in gocd
...
Fixes https://github.com/openSUSE/openSUSE-release-tools/pull/2000
2019-05-11 11:01:40 +02:00
Stephan Kulow
106ef6ae69
Run flake8 from Tumbleweed
2019-05-06 23:13:27 +02:00
Stephan Kulow
8ba4e2fb84
Run the nosetests in a tumbleweed container instead of travis environment
...
The docker-compose file starts an OBS instance (on 15.0 atm) and runs
the test suite in a test container (tumbleweed), so all tests run in
an isolated environment accessing OBS at api:3000
2019-05-04 15:44:39 +02:00
Stephan Kulow
14303a60da
Add container for testing in leap 15.1
...
The container will be built on OBS and be used on travis to avoid waiting
for the container to build (or to error because of download.opensuse.org madness)
2019-05-03 09:41:37 +02:00
Jimmy Berry
83c170660f
dist/ci/flake-extra: include osc-origin.py in product grep.
2019-05-01 18:25:04 -05:00
Stephan Kulow
4a98010259
Add small OBS instance without data
...
The default user is Admin:opensuse and the docker compose opens
only one port at 3737 running the api/webui
This can be used for CI on sources or to build against it with osc
(if you add interconnect project), but it won't build packages
2019-04-30 09:09:54 +02:00