255 Commits

Author SHA1 Message Date
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
Stephan Kulow
95f23ed915 There is no use of urlgrabber left
As the package does not exist as python3 variant in leap 15.1, we
better remove it now
2019-05-22 07:38:11 +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
Jimmy Berry
e46791774e systemd: include OBS Operator origin manager report service template. 2019-05-10 10:30:04 -05: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
Stephan Kulow
53f5522b93
Merge pull request #1979 from jberry-suse/dist-spec-python3
dist/package: handle python 2 vs python 3 dependencies.
2019-05-03 06:32:30 +02:00
Jimmy Berry
c142b9052f dist/package: handle python 2 vs python 3 dependencies.
Since osc was updated to require python 3 handle dependencies in
same fashion as osc so as to get them right.
2019-05-02 15:55:03 -05:00
Jimmy Berry
be729c0bd1 dist/package: require influxdb and telegraf for Tumbleweed.
The packages have made there way into Tumbleweed and thus can now be
required instead of suggested.
2019-05-02 15:28:57 -05:00
Jimmy Berry
9214736f37 dist/package: drop %check and related build requirements.
Not feasible to run tests on OBS.
2019-05-02 15:24:12 -05:00
Jimmy Berry
38b9ab430e dist/package: add osclib dependency to all osc plugin packages. 2019-05-02 14:48:01 -05: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
721d9344f7 Add osrt-container_cleaner to openSUSE-release-tools package 2019-04-17 17:10:18 +02:00
Stephan Kulow
fcdd51b974 package: TTM needs python-enum34 (until we're on python3) 2019-04-15 10:20:47 +02:00
Stephan Kulow
1dc8e17785
Merge pull request #1919 from coolo/totest_manager_refact
Totest manager refactoring
2019-03-28 06:30:51 +01:00
Stephan Kulow
9e41f45f52 Skip ttm subdir in nosetests 2019-03-27 19:59:17 +01:00
Stephan Kulow
f3b3549a35 Rename the snapshot functions and add gocd config 2019-03-27 17:20:20 +01:00
Jimmy Berry
8f53d66594 dist/k8s: drop --debug flag from obs_operator service. 2019-03-26 18:34:07 -05:00
Jimmy Berry
9fbab1b87e dist/k8s: provide obs_operator origin-manager report sub component.
Refreshes origin information 3 days a week for quick serving from cache.
2019-03-26 18:34:07 -05:00
Jimmy Berry
9d1264390c dist/k8s: add service cache to obs_operator. 2019-03-26 18:34:01 -05:00
Jimmy Berry
8912b660c5 dist/k8s: provide service level cache similar to reviewbot cache. 2019-03-25 21:16:18 -05:00
Jimmy Berry
0734bf756c obs_operator: expose osc-plugin-origin commands via GET. 2019-03-20 19:18:05 -05:00
Stephan Kulow
128c5c1633 Package the osrt- symlink in bin 2019-03-20 08:39:27 +01:00
Stephan Kulow
67df42770d No longer package rabbit-openqa but add gocd config for it 2019-03-20 06:47:37 +01:00
Jimmy Berry
643169f7a1 dist: provide origin-manager report service and timer. 2019-03-06 15:51:42 -06:00
Jimmy Berry
9cbac9e0a3 dist/package: provide osc-plugin-origin package. 2019-03-06 15:51:42 -06:00
Jimmy Berry
a2e17deb67 dist/ci/Dockerfile: change from Tumbleweed to Leap for build host.
There is no need for Tumbleweed base as only the latest stable osc tools
and openSUSE:Tools packages should be needed. Unlike run-time for
repo-checker which is limited by latest solver stack the distribution
test suite has no need.

Currently, there is a zypper related segfault, #1887, that breaks the
test suite and demonstrates an advantage to switching to Leap.
2019-03-06 14:49:06 -06:00