mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 00:14:44 +01:00

- Tests defined in utils/test are now described by a task.yaml in the same directory and can run concurrently across many machines. - Tests for utils/ are now executed on openSUSE Tumbleweed since ttk themes is no longer a hard dependency in master. - Tests no longer run on openSUSE Leap 15.6 due to the age of default Python (3.6) and gcc/g++. The tight integration with SWIG which does not seem to support other Python versions very well. Perl hard-codes old GCC for extension modules. The upcoming openSUSE Leap 16 should be a viable target. In the meantime we can still test everything through rolling-release Tumbleweed. - Formatting of YAML files is now more uniform, at four spaces per tab. - The run-spread.sh script is now in the root of the tree. The script allows running all spread tests sequentially on one system, while collecting logs and artifacts for convenient analysis after the fact. - All systems are adjusted to run _four_ workers in parallel with _two_ virtual cores each and equipped with 1.5GB of virtual memory. This aims to best utilize the capacity of a typical CI worker with two to four cores and about 8GB of available memory. - Failing tests are marked as such, so that as a whole the entire spread suite can pass and be useful at catching regressions. Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
68 lines
1.3 KiB
Makefile
68 lines
1.3 KiB
Makefile
# This file is read by image-garden when spread is allocating test machines.
|
|
# All the package installation happens through cloud-init profiles defined
|
|
# below.
|
|
|
|
# This is the cloud-init user-data profile for all Debian systems. Note that it
|
|
# is an extension of the default profile necessary for operation of
|
|
# image-garden.
|
|
define DEBIAN_CLOUD_INIT_USER_DATA_TEMPLATE
|
|
$(CLOUD_INIT_USER_DATA_TEMPLATE)
|
|
packages:
|
|
- attr
|
|
- autoconf
|
|
- autoconf-archive
|
|
- automake
|
|
- bison
|
|
- build-essential
|
|
- dejagnu
|
|
- flake8
|
|
- flex
|
|
- gettext
|
|
- libdbus-1-dev
|
|
- libtool
|
|
- liburing-dev
|
|
- pkg-config
|
|
- python3-all-dev
|
|
- python3-gi
|
|
- python3-notify2
|
|
- python3-psutil
|
|
- python3-setuptools
|
|
- python3-tk
|
|
- python3-ttkthemes
|
|
- swig
|
|
endef
|
|
|
|
# Ubuntu shares cloud-init profile with Debian.
|
|
UBUNTU_CLOUD_INIT_USER_DATA_TEMPLATE=$(DEBIAN_CLOUD_INIT_USER_DATA_TEMPLATE)
|
|
|
|
# This is the cloud-init user-data profile for openSUSE Tumbleweed.
|
|
define OPENSUSE_tumbleweed_CLOUD_INIT_USER_DATA_TEMPLATE
|
|
$(CLOUD_INIT_USER_DATA_TEMPLATE)
|
|
packages:
|
|
- attr
|
|
- autoconf
|
|
- autoconf-archive
|
|
- automake
|
|
- bison
|
|
- dbus-1-devel
|
|
- dejagnu
|
|
- flex
|
|
- gcc
|
|
- gcc-c++
|
|
- gettext
|
|
- gobject-introspection
|
|
- libtool
|
|
- liburing2-devel
|
|
- make
|
|
- pkg-config
|
|
- python3-flake8
|
|
- python3-notify2
|
|
- python3-psutil
|
|
- python3-setuptools
|
|
- python3-setuptools
|
|
- python3-tk
|
|
- python311
|
|
- python3-devel
|
|
- python311-devel
|
|
- swig
|
|
endef
|