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
Ludwig Nussel
39b531fa7d
dist: add subpackage for pkglistgen
2017-10-17 15:51:56 +02:00
Jimmy Berry
cb6b41d6e4
dist: provide check-source subpackage.
2017-10-10 11:17:55 -05:00
Jimmy Berry
08be01844f
dist: provide maintenance subpackage.
2017-10-10 11:10:11 -05:00
Jimmy Berry
fdc3cd6fd0
dist/spec: totest-manager: reword to avoid dollar sign.
2017-10-10 10:59:09 -05:00
Jimmy Berry
d9e7a5767d
dist/spec: add python-openqa_client as Requires for totest-manager.
2017-10-10 10:59:09 -05:00
Jimmy Berry
ac99db6147
dist: rework totest-manager subpackage to provide new style service.
2017-10-10 10:59:09 -05:00
Jimmy Berry
712ef05e0f
dist: provide leaper services and related configuration.
2017-10-10 10:26:12 -05:00
Jimmy Berry
eb7e3a458a
dist: include supersede service in staging-bot subpackage.
2017-10-09 21:37:32 -05:00
Jimmy Berry
014d8cc07b
dist: include suppkg_rebuild in staging-bot subpackage.
2017-10-09 21:09:44 -05:00
Jimmy Berry
a072b21b01
dist: provide staging-bot-devel-list service (changed from leaper).
2017-10-09 20:26:50 -05:00
Jimmy Berry
0539b9d2a7
dist/spec: include project_only repo-checker service in pre/post.
2017-10-09 17:37:01 -05:00
Jimmy Berry
f2122b49e9
dist: provide staging-bot subpackage for related services.
2017-10-09 17:36:27 -05:00
Jimmy Berry
e883604d05
dist/ci/deploy: handle expanded links during target project loookup.
2017-10-06 18:12:42 -05:00
Jimmy Berry
4161a7ec0d
dist/ci/deploy: pipe osc sr --diff
to cat to ensure same behavior manually run.
2017-10-06 17:49:24 -05:00
Jimmy Berry
ace27a9385
dist/ci/deploy: automatically detect target project and package.
2017-10-06 17:48:39 -05:00
Jimmy Berry
a99faac2ba
dist/ci/deploy: wait for service to complete before create submit request.
2017-10-06 17:40:08 -05:00