194 Commits

Author SHA1 Message Date
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
Jimmy Berry
efcd08aa1a dist/package: include origin-manager source file in source_dir. 2019-02-26 08:29:44 -06:00
Jimmy Berry
fc3f691d2c dist/kubernetes: disable origin-manager component. 2019-02-26 08:24:30 -06:00
Jimmy Berry
dad98d8144 dist/kubernetes: add origin-manager component. 2019-02-22 10:31:00 -06:00
Jimmy Berry
c611c75b9c dist/kiwi: add origin-manager subpackage. 2019-02-20 18:35:01 -06:00
Jimmy Berry
af6457c270 travis: add check to complain about product references in origin-manager. 2019-02-15 14:16:50 -06:00
Jimmy Berry
f3e608483b dist/package: provide origin-manager sub-package. 2019-02-15 14:16:23 -06:00
Jimmy Berry
d9fbd0c534 dist/obs: provide OSRT:OriginConfig definition. 2019-02-15 14:16:23 -06:00
Stephan Kulow
d331a5f928 Add missing dependency 2019-02-15 12:48:56 +01:00
Stephan Kulow
49a0110980 Fix base container for tumbleweed 2019-01-17 19:29:06 +01:00
Stephan Kulow
4a1f36fe1a Install pkglistgen files 2019-01-17 17:45:53 +01:00
Stephan Kulow
b25c6dd7ee Kill create_test_dvds.sh 2019-01-17 15:06:28 +01:00