summaryrefslogtreecommitdiff
path: root/testing
AgeCommit message (Collapse)AuthorFilesLines
2022-02-11Update the docker containersAlexey Neyman13-51/+45
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>
2021-06-08testing: docker: Use archlinux:latest instead of archlinux/base:latestChris Packham1-1/+1
The name of the docker images have changed on docker hub. Update the name used to point to the official archlinux image. Fixes #1522 Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-06-09Add rsync dependencyChris Packham8-8/+8
Recent Linux kernels (5.3 and newer) use rsync to copy headers around. Add the rsync package to the list of dependencies. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-02-17testing/docker: set default value for CTNG_UID/CTNG_GIDChris Packham10-20/+20
Make the creation of docker images easier so that CTNG_UID/CTNG_GID have a default value if it's not explicitly specified when building. This will allow publishing of images on various package repositories (e.g. docker hub, gitlab containers). dmgr.sh can still be used to set the UID/GID to that of the current user when building a custom container. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-02-04Ignore trailing / in container nameAlexey Neyman1-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>
2020-02-04Replace Ubuntu 19.04 with 19.10.Alexey Neyman1-2/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-02Replace Ubuntu 18.10 with Ubuntu 19.04Alexey Neyman1-2/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-04-10Install python3, needed by recent GLIBCAlexey Neyman3-3/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-17Install python3 in MintAlexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-15Install python3 on Fedora29Alexey Neyman1-1/+1
GDB doesn't accept older 2.x as a valid choice. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-15Note the experimental status of AlpineAlexey Neyman1-0/+11
I don't have the time to fix all the various breakages it shows. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-15Use fedora29 as a referenceAlexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-10Move GDB build into a common backend functionAlexey Neyman2-8/+2579
... needed to create a common runtime test for an incompatible change in glibc API. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-04Centos6 also needs python3Alexey Neyman1-1/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-02Detect errors in each container if running an actionAlexey Neyman1-2/+22
... in more than one; then complain at the end. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-02Install Python3 from EPEL on CentOS7Alexey Neyman1-1/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-01Allow already configured directoriesAlexey Neyman1-1/+19
... while building in docker Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-28Centos6 wasn't able to su into `ctng' userAlexey Neyman1-0/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-28Seems like ArchLinux renamed its base on dockerhubAlexey Neyman1-3/+2
... awhile ago; I had it cached on one machine. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-28Archlinux: update keyring before packagesAlexey Neyman1-0/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-22Add a Dockerfile for Alpine Linux 3.8Alexey Neyman3-2/+18
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-06Add test if kconfig file version needs to be bumpedAlexey Neyman4-0/+5851
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-06Add a few tests to upgrade testsuiteAlexey Neyman9-0/+4021
... coverage not complete, but pretty diverse and covers most non-trivial conversions. PRs with better coverage for 1.23.o options welcome. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-05Start a testsuite for upgrade scriptAlexey Neyman2-0/+118
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-15Fix building archlinux imageAlexey Neyman1-2/+2
`groupadd` now requires libaudit.so, but coreutils can be installed without audit package. Weird, gross. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-29Add g++ for Ubuntu dockersAlexey Neyman3-6/+6
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-28More docker filesAlexey Neyman5-1/+54
... for reference OSes Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-28Change the layout a bitAlexey Neyman9-20/+37
... to a more natural installation paths, and also include ct-ng into $PATH in the containers. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-27Add libtool to CentOS6 docker configurationAlexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-22Add CentOS7 docker configurationAlexey Neyman1-0/+10
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-09Add the workaround for kconfig colors in archlinuxAlexey Neyman1-0/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-06Add wgetAlexey Neyman1-1/+1
... so that Docker image creation can fetch dumb-init. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-28Make dockerfiles a bit more consistentAlexey Neyman10-39/+71
... 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>
2018-09-27Use 'chmod a-x' instead of 'chmod -x'Alexey Neyman3-3/+3
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>
2018-04-30Add the ability to run some but not all samples in dockerAlexey Neyman3-17/+47
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>
2018-04-30Add unzip to ArchLinux docker imageAlexey Neyman1-1/+1
Needed by android sample. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29Update helpAlexey Neyman1-1/+4
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29Add docker testing for GentooAlexey Neyman3-1/+9
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-16Testing works for archlinux dockerAlexey Neyman4-12/+16
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-15First stab at docker-based test frameworkAlexey Neyman5-0/+143
Signed-off-by: Alexey Neyman <stilor@att.net>