Shaun Ruffell
dcfe0d1c3d
test/docker: containers should return non-zero values on failures
2020-02-23 19:03:40 +01:00
Shaun Ruffell
8e99c07d85
Introduce AtomicFiles
...
Introduce AtomicFile and a test of this module to the code.
AtomicFile is like File, except all writes go to temporary files until
the class method finalize_all () is called and the temporary files are
copied over the real files. If any writes fail, like when there is no
more space on the filesystem, none of the files in the database will be
modified.
Since we need version 1.00 of libfiu, I have only added it to the debian
testing container, which includes libfiu-1.00 in the default repository.
Related to #155
2020-02-23 19:03:40 +01:00
Thomas Lauf
6637452a1f
Cleanup Dockerfiles
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:32:56 +01:00
Thomas Lauf
5c1e037abc
Persist activation of scl package
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:32:55 +01:00
Thomas Lauf
8189652bbc
Print version information at end
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:32:46 +01:00
Thomas Lauf
800062ace2
Consolidate package list
...
- Remove unnecessary packages
- Sort packages alphabetically
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:32:36 +01:00
Thomas Lauf
660816ae5f
Put packages on separate lines for better readability
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:32:25 +01:00
Thomas Lauf
28a3db5579
Switch to python 3
...
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-21 22:31:05 +01:00
Thomas Lauf
1d8b2aa042
Fix gentoo setup
...
- Change path for portage to /var/db/repos/gentoo
- Replace sys-apps/man with sys-apps/man-db
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-11-17 22:18:49 +01:00
Thomas Lauf
629a3ffe58
Run tests from parent directory
...
- somehow cpp-testfiles are not compiled when calling make in the test directory
- make install is required to be executed before make test, because we need access to man pages (help.t)
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-09-06 16:11:29 +02:00
Thomas Lauf
cf41d2f80c
Set repository location back to /usr/portage
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-27 09:38:30 +02:00
Thomas Lauf
26716679ef
Set gentoo portage location to /var/db/repos/gentoo
...
- See https://github.com/gentoo/gentoo-docker-images/issues/69
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-27 09:33:21 +02:00
Thomas Lauf
529e6905ca
Use external image as stage
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 23:46:58 +02:00
Thomas Lauf
c33de03a9a
Remove debug statements
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 23:15:05 +02:00
Thomas Lauf
bdb4111dd7
Fix setting locale for ubuntu
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 22:51:43 +02:00
Thomas Lauf
f49a5e14b1
Add package locales
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 22:32:47 +02:00
Thomas Lauf
5a5b8c7fe4
Fix setting locale for debian
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 22:26:18 +02:00
Thomas Lauf
a37db57b3c
Set environment variable ENV MAN_DISABLE_SECCOMP=1
...
- See https://bugs.archlinux.org/task/57557
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 21:48:40 +02:00
Thomas Lauf
81c7dbc3e3
Use package man-db instead of man
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 21:24:54 +02:00
Thomas Lauf
e1b1eecf06
Fix dependency
...
- use groff instead of nroff
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 20:08:22 +02:00
Thomas Lauf
8db7aff1af
Add nroff to dependencies
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-26 19:11:47 +02:00
Thomas Lauf
38a72afd97
Let this statement pass...
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-25 14:07:20 +02:00
Thomas Lauf
b48f4a87cd
Add some statements to debug gentoo build fail
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-25 14:00:16 +02:00
Thomas Lauf
fa2c683e3e
Install python2 along with python(3)
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-06-29 01:31:48 +02:00
Thomas Lauf
966256cb79
Add 'man' to list of required packages
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-06-24 21:25:36 +02:00
Thomas Lauf
295b7b78f4
Wrap emerge call with keep-alive script
...
- emerge takes longer than 10 minutes for some jobs to output something
- travis kills builds that do not output something for 10 minutes
- Workaround: add a keep-alive script that echos "RUNNING" every minute for one hour. This should keep the door open long enough for emerge to finish...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-05-03 16:52:15 +02:00
Thomas Lauf
455b9b9614
Fix docker-image name
...
- base/archlinux is deprecated
- rename from arch180101 to archlinux
2019-02-27 00:11:20 +01:00
Thomas Lauf
bb0539468a
Setting environment variable via ENV
2019-01-13 23:17:24 +01:00
Thomas Lauf
368be8397e
Remove comment
2019-01-13 22:19:40 +01:00
Thomas Lauf
50b15463bb
Set timezone to Europe/Berlin via TZ environment variable
2019-01-13 22:07:53 +01:00
Thomas Lauf
65453fcf98
Install python-dateutil and set timezone on fedora 29
2019-01-07 22:16:09 +01:00
Thomas Lauf
595ec2ea8a
Set timezone on fedora 28
2019-01-07 22:08:11 +01:00
Thomas Lauf
fc42580bbd
Set timezone on openSUSE
2019-01-07 22:07:28 +01:00
Thomas Lauf
bdbb766a53
Add check for timedatectl on fedora 28
2019-01-07 21:53:51 +01:00
Thomas Lauf
7d50ba925f
Install python-dateutil on centOS 7
2019-01-07 21:50:42 +01:00
Thomas Lauf
f6ac47d222
Install python-dateutil on openSUSE
2019-01-07 21:48:13 +01:00
Thomas Lauf
8e61ab830d
Run timedatectl to debug container
2019-01-07 21:34:34 +01:00
Thomas Lauf
0199f2db7d
Explicitly set timezone to Europe/Berlin on fedora 28
2019-01-07 21:11:40 +01:00
Thomas Lauf
092003f4cb
Add missing 'yes' option
2019-01-07 20:45:12 +01:00
Thomas Lauf
f44840b131
Install python-dateutil on fedora 28
2019-01-07 20:38:37 +01:00
Thomas Lauf
2418d6f51a
Apply ubuntu-fix to debian
2019-01-07 07:01:08 +01:00
Thomas Lauf
ba18e10326
Fix install of tzdata and configure timezone for ubuntu 18.04
2019-01-07 06:56:24 +01:00
Thomas Lauf
62dd70f999
Set timezone to Europe/Berlin
...
- Necessary as export.t fails on timezone Etc/UTC (needs to be investigated!)
2019-01-07 06:42:57 +01:00
Thomas Lauf
5a73150b6e
Remove explicit setting of timezone
...
- Seems not necessary, default timezone UTC should suffice
2019-01-06 23:03:37 +01:00
Thomas Lauf
d11a73d1d7
Try to fix install of tzdata
2019-01-06 22:54:36 +01:00
Thomas Lauf
a5ae4d03cc
Move install of python-dateutil to ubuntu docker-config
2019-01-06 22:25:40 +01:00
Tomas Babej
92a8029598
tests: Fix version printout
2019-01-06 21:03:43 +01:00
Tomas Babej
bdb98553fb
tests: Implement Travis-based Multi-OS CI service
...
This commit implements (after the example of taskwarrior) a Travis-based
multi-OS continuous integration service, that tests on a variety of
Linux-based hosts and Mac OS X.
2019-01-06 21:03:43 +01:00