aboutsummaryrefslogtreecommitdiff
path: root/testing/docker/dmgr.sh
Commit message (Collapse)AuthorAgeFilesLines
* Update the docker containersAlexey Neyman2022-02-111-4/+7
| | | | | | | | | | | | | | | | | | | | | | To avoid proliferation of versions, I suggest the following policy: the oldest LTS release still receiving maintenance updates + the most recent release for distributions that offer LTS releases. For CentOS, this means CentOS7 and CentOS Stream 9 (since CentOS are all "long-term support", this is just the oldest and the newest among currently supported). For Ubuntu, this means Ubuntu 18.04 (previous LTS are in "security fixes only" mode) and Ubuntu 21.10. Recent Ubuntu attempts to be interactive during the configuration of tzdata, required some additional setup. In the common installation script, the logic for handling a configured/built local directory breaks if `gmake` is detected as the make binary; `make distclean` then fails inside the container because not all systems have `gmake` symlink. Remove that attempt of a workaround completely, just require that the host directory is clean. Signed-off-by: Alexey Neyman <stilor@att.net>
* Ignore trailing / in container nameAlexey Neyman2020-02-031-1/+1
| | | | | | | ... so that it is possible to use tab completion when selecting the container to use. Signed-off-by: Alexey Neyman <stilor@att.net>
* Detect errors in each container if running an actionAlexey Neyman2019-03-021-2/+22
| | | | | | ... in more than one; then complain at the end. Signed-off-by: Alexey Neyman <stilor@att.net>
* Change the layout a bitAlexey Neyman2018-10-281-8/+28
| | | | | | | ... to a more natural installation paths, and also include ct-ng into $PATH in the containers. Signed-off-by: Alexey Neyman <stilor@att.net>
* Make dockerfiles a bit more consistentAlexey Neyman2018-09-281-12/+21
| | | | | | | | ... and add Mint 19 and CentOS 6. The latter currently fails in ctng's configure due to an old libtool; need to make libtool optional. Signed-off-by: Alexey Neyman <stilor@att.net>
* Use 'chmod a-x' instead of 'chmod -x'Alexey Neyman2018-09-261-1/+1
| | | | | | | | | | | | | There is a subtle difference when executable bit is a part of the umask. And at least some versions (Debian/stretch) fail if the resulting mode would've been different if not for the umask setting. Fixes #998. Although, with such chmods/umasks it is likely that some package installation will break anyway. But I'll leave it until somebody complains. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add the ability to run some but not all samples in dockerAlexey Neyman2018-04-291-13/+38
| | | | | | | | Also, build containers with --no-cache: distributions like ArchLinux retire their packages very quickly, need to always use up-to-date package databases. Signed-off-by: Alexey Neyman <stilor@att.net>
* Update helpAlexey Neyman2018-04-291-1/+4
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add docker testing for GentooAlexey Neyman2018-04-291-1/+4
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Testing works for archlinux dockerAlexey Neyman2018-04-151-1/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* First stab at docker-based test frameworkAlexey Neyman2018-04-151-0/+105
Signed-off-by: Alexey Neyman <stilor@att.net>