60 Commits

Author SHA1 Message Date
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
e9d725b402 travis: restore deployment functionality.
All other test suites were removed which makes the condition never met.
2019-05-10 11:11:15 -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
afbd01eb38 Do not build packages in travis but in OBS
Together with ChrisBr I developed a solution to test the package build of
a git report directly in OBS. It's currently in phase of refactoring, so
I forked it temporarly to https://github.com/coolo/pull_request_package

and setup a local cron job to run
docker run -v=/space/puller-config:/config -t openqapusher/osrt_pull_request_package

every 5 minutes.
2019-05-03 14:43:48 +02:00
Stephan Kulow
c8d7e558d5 Skip latest m2crypto for python3 branches as well 2019-04-30 14:51:26 +02:00
Stephan Kulow
98e6db220b Don't take latest m2crypto - fails to compile
e.g. https://travis-ci.org/openSUSE/openSUSE-release-tools/jobs/526277587
2019-04-30 09:08:39 +02:00
Stephan Kulow
9e41f45f52 Skip ttm subdir in nosetests 2019-03-27 19:59:17 +01:00
Jimmy Berry
af6457c270 travis: add check to complain about product references in origin-manager. 2019-02-15 14:16:50 -06:00
Stephan Kulow
902627c14c pkglistgen: Fix test failures (including flake8) 2019-01-17 14:35:18 +01:00
Jimmy Berry
a9a77386ab travis: use ecrypted e-mail address to avoid spam from forks.
Rather silly there is not better solution, but as noted by others this is
the only relatively sane way to do it.

- travis-ci/travis-ci#1094
- travis-ci/travis-ci#5063
- mozilla/build-tools@c13a297
2018-11-28 18:51:36 -06:00
Jimmy Berry
5a0dd69e0c travis: add test jobs against osc python3 branch for both python 2 and 3. 2018-11-15 11:54:38 -06:00
Jimmy Berry
446dc840a5 travis: configure notification e-mail to internal list. 2018-11-08 10:04:02 -06:00
Stephan Kulow
5b9efe757d Require python-pika in CI 2018-10-12 15:30:54 +02:00
Jimmy Berry
c47bb4c902 Utilize CacheManager for all existing caches. 2018-09-04 15:19:02 -05:00
Jimmy Berry
e1ec1aa412 travis: increment targetted versions to openSUSE Leap 15.0 and SLE 15. 2018-08-31 15:04:35 -05:00
Jimmy Berry
06a9f15999 metrics_release: remove executable flag left over from development.
Ignore metrics from nosetests loader since it is no longer executable.
2018-04-17 15:46:09 -05:00
Ondřej Súkup
9d7e7ba8f1
[openqa-maintenance] Rewrite of openqa-maintenace bot pt.1
Split openqa-maintenance to more smaller parts
Cleanup dead code
pep-8 compactibility
Disable testsuite on oqamaint directory
2018-04-03 14:56:34 +02:00
Jimmy Berry
39ef75493d Change references to osc-plugin-factory to openSUSE-release-tools. 2018-03-16 14:58:27 -05:00
Jimmy Berry
cdb42bf5a4 travis: before_cache: include -R in chmod .docker-tmp. 2017-10-24 17:58:16 -05:00
Jimmy Berry
a0f3191568 obs_clone: provide --cache feature. 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
Jimmy Berry
7f1dc4c1a0 travis: chmod .docker-tmp so non-root can read for caching. 2017-10-20 22:45:48 -05:00
Jimmy Berry
c89065fa91 travis: extend cache timeout to 7 days.
Since storing rpms that change relatively rarely and will auto clear.
2017-10-20 22:45:11 -05:00
Jimmy Berry
924879f212 travis: optimize osc build cache by removing build-root.
Locally it the cache will still remain for optimimal speed when developing.
2017-10-20 22:44:52 -05:00
Jimmy Berry
67d0a69c6a travis: enable pip cache. 2017-10-20 22:07:02 -05:00
Jimmy Berry
bc29bc9905 travis: install realpath to allow docker-run to correctly mount volume.
In turn caching of `osc build` temporary directories works.
2017-10-20 21:56:49 -05:00
Jimmy Berry
fb010c77b0 travis: include all files instead of just osclib in coverage. 2017-10-20 18:16:58 -05: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
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
522b05eac4 travis: add distribution builds for Leap 42.3 and SLE-12-SP3. 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
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
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
ace27a9385 dist/ci/deploy: automatically detect target project and package. 2017-10-06 17:48:39 -05:00
Jimmy Berry
a985c0d812 travis: include OBS_TARGET_PROJECT env variable during deploy script. 2017-10-06 17:24:59 -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
f284b53ae4 travis: install libxml2-utils which provides xmllint.
It seems upstream changed packages so this is no longer available by
default.
2017-08-31 11:20:42 -05:00
Jimmy Berry
1f1b4c979c travis: target proper home in openSUSE:Tools for deployment. 2017-07-17 16:26:26 -05:00
Jimmy Berry
651c7d57f1 travis: include OBS_EMAIL environment variable when deploying. 2017-07-17 15:55:04 -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
7df5bf27c7 travis: add deployment to OBS package on master branch commit. 2017-07-13 19:00:04 -05:00
Jimmy Berry
6cca8f6ef3 travis: drop distribution related change check.
Managed to get the spec building quick enough it does not matter and the
check would need to be more complicated to not miss a variety of cases.
2017-07-13 17:09:13 -05:00
Jimmy Berry
b7b3f928a6 travis: skip expensive spec build if no changes made to relevant files. 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
06d69e5d5b travis & Makefile: drop old repo checker directory creation. 2017-07-13 17:09:13 -05:00
Jimmy Berry
0240dd1fb4 .travis.yml: document reason for pycurl and urlgrabber being installed explicitly. 2017-07-11 21:49:56 -05:00
982cd28f3c Remove Python 3.3 testing. 2014-07-08 17:16:36 +02:00
c5daf9a956 Remove fake oscs for testing. 2014-06-23 15:06:03 +02:00