Commit graph

29 commits

Author SHA1 Message Date
Devan Goodwin
77c7ff9a91 Merge pull request #249 from stevekuznetsov/skuznets/reconfigure-test-os
Add CentOS 7 and Fedora 25 tests, remove Fedora 21 tests
2017-01-06 09:08:12 -04:00
Steve Kuznetsov
bc9b769c19
Add CentOS 7 and Fedora 25 tests, remove Fedora 21 tests
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2017-01-05 16:39:06 -05:00
Steve Kuznetsov
9a7fb69e9e
Use dnf instead of yum in Fedora Rawhide tests
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2017-01-05 16:33:59 -05:00
Steve Kuznetsov
784a76c036
Relabel test container volume contents for SELinux
To allow the tests to run from a host with SELinux enabled, the data
needs to be relabeled to the correct SELinux contexts. Adding the `Z`
label to the volume mount allows for this to occur.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2017-01-05 15:08:00 -05:00
Alex Wood
01c5170c29 Add python-blessings to Dockerfiles. 2015-06-09 10:52:07 -04:00
Devan Goodwin
dcbbb7f01a Add tito spec later in test dockerfiles.
It changes a lot and rebuilding everything sucks.
2015-05-12 16:07:04 -03:00
Devan Goodwin
43f9ce2dd3 Drop F20 docker tests. 2015-05-09 08:53:11 -03:00
Devan Goodwin
8f9f6ae3fd Add F21 docker testing. 2015-05-09 08:49:14 -03:00
Devan Goodwin
901bdf1d22 Docker test cleanup. 2015-05-08 16:15:02 -03:00
Devan Goodwin
efee896150 Restore rawhide docker tests. 2015-05-08 15:59:35 -03:00
Devan Goodwin
e8e7f63662 Restore F20 Python 3 docker tests. 2015-05-08 13:05:38 -03:00
Devan Goodwin
d1b1e9611b Restore F20 Python 2 docker tests. 2015-05-08 12:55:52 -03:00
Devan Goodwin
50526722e0 EL6 docker tests now fully passing. 2015-05-08 12:07:38 -03:00
Devan Goodwin
bf2d285061 Get the docker test suite up and running again. 2015-05-01 15:37:53 -03:00
Paul Morgan
20334d52ed remove f19 from test harness to save space and time
* Save disk space on dev host by avoiding `docker pull mattdm/fedora'
* Save time by not building a fedora 19 image and running its tests

We can always revert this commit if we need to run tests on f19.
2014-07-04 16:26:23 +00:00
Paul Morgan
fe0b6d8863 add fedora-rawhide to test harness
Use the "semi-official" base image for rawhide.
It appears to be updated on a regular basis.

This gives us advance warning of breaking changes
in the bleeding-edge version of fedora.
2014-07-04 16:26:23 +00:00
Paul Morgan
b479eb8cf7 use "semi-official" f20 base instead of mattdm/fedora
https://index.docker.io/_/fedora/ states:

> This image is to be considered semi-official from fedora's side
> (until approved by fedora rel-eng)
2014-07-04 16:26:23 +00:00
Paul Morgan
4aeab5dcc1 add f19 to test harness to test conditional build deps
* fedora 19 does not have rpm-python3, thus we only test python2.
* assert that build deps are correct for fedora 19
2014-07-04 16:26:23 +00:00
Paul Morgan
ea7404d6a5 DRY up test harness to use spec file for build deps
Ensure build deps are consistent across the spec file and test harness.

Note: http://fedoraproject.org/wiki/HOWTOFindMissingBuildRequires
says that some packages should not be BuildRequires because
"they would occur too often" and "are considered the minimum build
environment." However, Docker changes the scope of that assumption
to keep docker images small.
2014-07-04 16:26:23 +00:00
Paul Morgan
b3e0827d2c add rpmdevtools as build dep for el5
9feb9cf4 added rpmdevtools as an install depedency;
it is also needed as a build dep for current functional tests.
2014-07-04 14:34:00 +00:00
Devan Goodwin
cdf54b6ec5 Merge branch 'bzflagcheck'
Conflicts:
	hacking/titotest-centos-5.9/Dockerfile
2014-06-23 14:50:27 -03:00
Devan Goodwin
d978873738 Fixes for Python 3. 2014-06-23 09:45:41 -03:00
Paul Morgan
58e6360698 remove intermediate containers in test harness
Save disk space on workstation.
2014-05-26 23:49:22 +00:00
Paul Morgan
cd0cc194be add build dependency for el5 and new functional tests
* asciidoc indirectly requires docbook-style-xsl on el6 and f20,
  but not on el5. Resolve failure to build tito with tito on el5:
  "I/O error : Attempt to load network entity"

* Resolve "egg missing file" on el5 due to busted symlinks
  from 20c4f1b7c0.

* Add functional test to build tito with itself in order to
  catch problems like the ones above.

Closes https://github.com/dgoodwin/tito/issues/133
2014-05-26 18:37:00 +00:00
Dominic Cleal
bb60a6dede Support pre-5.20131213 versions of git-annex for EL6
Older versions of git-annex don't support `git annex lock --force`, so peform
a version check and call without --force on these.

The EL6 Docker image is changed to one that contains locales, in order for
git-annex to run successfully.
2014-05-09 13:57:53 +01:00
Devan Goodwin
4032c3d300 Merge pull request #121 from jumanjiman/hacking
propagate docs to docker public registry
2014-04-24 15:44:25 -03:00
alfen
66baaa4bd2 added rpmbuild output to an error raised by tito to easier the error's cause analysis 2014-04-20 18:55:26 +02:00
Paul Morgan
20c4f1b7c0 propagate docs to docker public registry
Add URL of upstream tito repo to HACKING, then
symlink HACKING as README.md in each Dockerfile dir.

Why?

If a README.md exists in same dir as Dockerfile (incl. symlink),
and it's set up as a
[trusted build](https://index.docker.io/help/docs/#trustedbuilds),
then index.docker.io automatically shows the readme on the info
page of the trusted build.
2014-04-19 21:05:15 +00:00
Paul Morgan
361eca6195 add test harness based on docker/lxc 2014-03-13 17:56:32 +00:00