290 Commits

Author SHA1 Message Date
Jimmy Berry
129d3ebad5
Merge pull request #1461 from Vogtinator/docker-rename
Use opensuse/tumbleweed in the Dockerfile
2018-03-15 11:23:38 -05:00
01ad67bce4 Use opensuse/tumbleweed in the Dockerfile
opensuse:tumbleweed will be removed and we want dogfooding anyway.
2018-03-15 14:55:54 +01:00
Jimmy Berry
8dd2694617 metrics: switch over to grafana 5.x provisioning.
Provides both dashboards and datasources.
2018-03-09 17:16:46 -06:00
Jimmy Berry
da5bfafb42 metrics: provide release metrics ingestion and dashboard. 2018-03-09 00:34:01 -06:00
Jimmy Berry
5dc385bec3 dist/spec: place config under %config(noreplace) directive. 2018-01-25 16:56:15 -06:00
Jimmy Berry
e8c72dae2c announcer: provide proper packaging and generic templated service. 2018-01-25 16:56:10 -06:00
Jimmy Berry
944a7720f7 dist/ci/obs-deploy: replace osc request list with osc api call.
Even after trying to workaround requests sourced from target package
(ex. Factory -> Leap) by using -U the query still behaves incorrectly
since both -U and -M do not return request created by user as documentation
suggests, but rather those who are last user in state. This works as
expected directly after a request is created, but not once another user
modifies it.

At this point just avoid the mess entirely and issue query for exactly
what is desired which avoids user altogether.
2018-01-25 09:56:10 -06:00
Jimmy Berry
753f6c7a6a
Merge pull request #1362 from jberry-suse/docker-compose-obs-osc-debug
dist/ci/docker-compose-obs: print osc output on timeout for debugging.
2018-01-25 09:34:57 -06:00
Jimmy Berry
6e5eef80bd dist/ci/docker-compose-obs: print osc output on timeout for debugging. 2018-01-25 09:21:55 -06:00
Jimmy Berry
6326c60990 dist/ci/obs-deploy: only commit if new source revision. 2018-01-25 08:59:52 -06:00
Jimmy Berry
02f11fa66e dist/ci/obs-deploy: require greater than six lines changed to create request. 2018-01-25 07:54:55 -06:00
Jimmy Berry
d05b591a01 dist/ci/obs-deploy: only bother making request if diff. 2018-01-19 15:26:12 -06:00
Jimmy Berry
88add9aefa dist/ci/obs-deploy: limit request list by user to avoid source requests.
Otherwise, requests from Factory to Leap will prevent request to Factory
from being generated.
2018-01-19 15:24:26 -06:00
Jimmy Berry
65d0c792ec dist/spec: license: s/and/AND/ to follow standard. 2018-01-10 17:22:01 -06:00
Jimmy Berry
80f46a2d5d dist/spec: move pkglistgen.py under subpackage ownership. 2018-01-09 16:57:05 -06:00
Jimmy Berry
5a2d955dfb dist/spec: add python-requests requirement were applicable. 2018-01-09 16:55:20 -06:00
Jimmy Berry
5e9392f4a0 pkglistgen: migrate bash scripts to python. 2017-12-21 01:05:55 -06:00
84d267b09c
Fix packaging after commit 3e5f3b137 2017-12-19 13:15:06 +01:00
cff9f534ae
Don't checkout master 2017-12-19 13:15:06 +01:00
Ludwig Nussel
0399499674 pkglistgen: require python-solv 2017-11-21 10:58:13 +01:00
Ludwig Nussel
205bed9c0b pkglistgen: require obs-service-product_converter 2017-11-13 18:25:16 +01:00
Ludwig Nussel
290a2ed0b8 pkglistgen: add systemd units 2017-11-13 18:18:00 +01:00
Jimmy Berry
f5dc137134 dist/spec: appease the exit status gods with || true. 2017-11-09 23:47:08 -06:00
Jimmy Berry
f3d23f31f5 dist/spec: restart totest-manager instances properly. 2017-11-09 17:29:38 -06:00
Jimmy Berry
e45fe4814a dist/spec: only run %systemd_postun for oneshot services. 2017-11-09 17:29:19 -06:00
Jimmy Berry
0201a82722 dist/ci: grafana dir must be owned by grafana user since it writes lock. 2017-11-08 17:24:13 -06:00
Jimmy Berry
dc74b8d0be dist/spec: correct metrics postun to reference systemctl by absolute path. 2017-11-08 17:23:30 -06:00
Jimmy Berry
a0c7dc362c dist: provide metrics service and timer. 2017-11-03 17:59:01 -05:00
Jimmy Berry
10311c12c6 dist: install exported dashboards in grafana dashboard directory. 2017-11-03 17:58:18 -05:00
Jimmy Berry
159790907e dist: include metrics.py in bindir. 2017-11-03 17:50:24 -05:00
6efaa1d3e6 vdelreq: add to the package 2017-11-02 15:53:45 +08:00
Jimmy Berry
7bb1f44359 dist/spec: disable make check during %check until integration tests resolved. 2017-10-24 17:55:32 -05:00
Jimmy Berry
c4d8661f1c travis: provide local OBS setup and clone base data. 2017-10-24 17:55:32 -05:00
Ludwig Nussel
9465b2f6ea Merge pull request #1196 from lnussel/pkglistgen
pkglistgen: shell scripts to actually commit
2017-10-21 09:26:51 +02:00
ed01f0681d Parallelize flake8 run
rather than find / xargs we run flake8 over everything which uses all
available cpus by default. Also set max line length to 100 because jimmy
likes it.
2017-10-20 08:54:11 +02:00
Jimmy Berry
e36827e184 dist/ci/docker-run: utilize throwaway credentials to workaround OBS issue. 2017-10-19 21:58:52 -05:00
Jimmy Berry
d33ed73a7c dist/ci/osc-init: print OBS_API and OBS_USER for debugging. 2017-10-19 21:58:52 -05:00
Jimmy Berry
80bac0d71f dist/ci: use hidden directory .docker-tmp instead of HOME and cache on travis. 2017-10-19 21:58:52 -05:00
Jimmy Berry
3fb1a4a641 dist/ci: fallback to /public OBS API in the event of no OBS_PASS 2017-10-19 21:58:52 -05:00
Jimmy Berry
846eb45a6f dist/ci: provide OBS_API parameter. 2017-10-19 21:58:52 -05:00
Jimmy Berry
4bc92ac0c1 dist/ci: rework spec.sh as obs-build-target using osc build.
Instead of performing a slim rpm build and check directly inside the
container a proper build is performed using `osc build`. The target
package is checked out the _service file pointed at the local copy
and then `osc service disabledrun` before building.
2017-10-19 21:58:49 -05:00
Jimmy Berry
a777ec97da dist/ci: extract common osc setup as osc-init and provide in /usr/bin. 2017-10-19 21:58:29 -05:00
Jimmy Berry
721bb1ed6a dist/ci/Dockerfile: include obs-deploy in /usr/bin.
Paving the way for this image to be built outside of this repository.
2017-10-19 21:58:29 -05:00
Jimmy Berry
6387768211 dist/ci: rename deploy.obs.sh to obs-deploy. 2017-10-19 21:58:29 -05:00
Jimmy Berry
88ebbd6c95 dist/ci/deploy: only commit if changes available to commit. 2017-10-19 21:58:29 -05:00
Jimmy Berry
9392b4daa9 dist/ci/deploy: only add line if missing from _servicedata.
Avoids duplication when multiple PRs are merged quickly after one another.
2017-10-19 21:58:29 -05:00
Jimmy Berry
c2ddfaee4b dist/ci/Dockerfile: switch to base tumbleweed image.
The official base image is now updated regularly so no need to use
custom rebuilding image.
2017-10-19 21:58:29 -05:00
6e78eb95fe Enable F405,F811 (Unused imports)
Remove imports that are either duplicate or unused
2017-10-20 01:03:00 +02:00
2219190e18 Add Flake8 travis infrastructure
This at least allows the most glaring errors to be found before they
get merged. Almost all lintstyle and make flake8 errors are ignored
right now, to be cleaned up once the testing is in place.
2017-10-20 01:01:23 +02:00
Jimmy Berry
5f714c2608 devel-project: utilize get_request_list(withfullhistory) param provided by osc 0.160.0.
The addition of queries to search() breaks the altered implementation of
search. The custom search() can be dropped since openSUSE/osc@902b48f
provides the missing functionality.
2017-10-18 14:46:17 -05:00