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
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
Jimmy Berry
2724af449c
dist/ci/deploy: create submit request if none currently exists.
2017-10-06 17:11:09 -05:00
Jimmy Berry
298ca5e0a6
dist/spec: create metrics sub-package.
...
Excludes large JSON files from main package as most users will not need.
2017-10-06 16:13:42 -05:00
Jimmy Berry
f7a546de5c
dist/spec: include perl script requirements.
2017-10-04 20:22:18 -05:00
Jimmy Berry
0b07d05408
dist: provide repo-checker sub-package with binary in path, service, and user.
2017-10-04 17:33:47 -05:00
Jimmy Berry
413a174ab9
dist/package/spec: include version on osc Requires.
2017-09-01 11:59:58 -05:00
Jimmy Berry
4ea3820b80
Merge pull request #1040 from jberry-suse/spec-osc_plugin_dir
...
dist/package/spec: utilzie %osc_plugin_dir provided by osc post sr#512849.
2017-08-25 10:09:19 -05:00
Jimmy Berry
4c8c478fca
dist/ci/Dockerfile: include dup
before in
to handle major base changes.
2017-08-18 15:00:40 -05:00
Jimmy Berry
9304f57d74
dist/package/spec: utilzie %osc_plugin_dir provided by osc post sr#512849.
2017-08-01 22:37:06 -05:00
Jimmy Berry
468fab2552
dist/ci/Dockerfile: drop hard-coded mirror now that Tumbleweed issues resolved.
2017-07-31 21:12:15 -05:00
Jimmy Berry
7581a2e9c4
dist/ci/Dockerfile: add obs-service-set_version based on changes made for Factory.
2017-07-19 17:21:15 -05:00
Jimmy Berry
8de99935bb
dist/ci/deploy.obs.sh: include apiurl in general so email is used during service run.
2017-07-17 17:48:19 -05:00
Jimmy Berry
8df27b1de2
dist/ci/Dockerfile: include obs-service-{download_files,format_spec_file} for deployment.
2017-07-17 16:42:21 -05:00
Jimmy Berry
ea6bc0f28f
dist/spec: utilize obs_scm renaming which properly includes version in source.
2017-07-17 16:26:21 -05:00
Jimmy Berry
95c43d0ce6
dist/spec: include %defattr on all %files entries.
2017-07-17 15:52:27 -05:00
Jimmy Berry
dc07d5980b
dist/spec: add missing osc requires.
2017-07-17 15:51:59 -05:00
Jimmy Berry
a00c96065a
travis: include list email address in changes entry during deployment.
2017-07-13 21:28:12 -05:00
Jimmy Berry
db2908816a
Makefile & disc/spec: include version in installed osc-staging plugin.
2017-07-13 21:28:05 -05:00
Jimmy Berry
62049d803c
dist/ci/deploy.obs.sh: remove previous source.
2017-07-13 19:14:28 -05:00
Jimmy Berry
7df5bf27c7
travis: add deployment to OBS package on master branch commit.
2017-07-13 19:00:04 -05:00
Jimmy Berry
23fd8e19c9
dist/ci/Dockerfile: hard-code mirror until TW mirror issue resolved.
2017-07-13 17:09:13 -05:00
Jimmy Berry
04c8e091d4
travis: provide a separate job for build spec.
2017-07-13 17:09:13 -05:00
Jimmy Berry
8603a73971
dist/spec: move into package subdirectory in prepration for travis-ci.
2017-07-13 17:09:13 -05:00
Jimmy Berry
3d640e98fb
dist/spec: drop osc-plugin-check_repo now that new repo checker was merged.
2017-07-13 17:09:05 -05:00