diff options
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/alpine-runtime.sh | 18 | ||||
-rwxr-xr-x | ci/alpine.sh | 4 | ||||
-rwxr-xr-x | ci/debian.cross-compile.sh | 4 | ||||
-rwxr-xr-x | ci/debian.i386.sh | 4 | ||||
-rwxr-xr-x | ci/debian.minimal.sh | 4 | ||||
-rwxr-xr-x | ci/debian.sh | 4 | ||||
-rwxr-xr-x | ci/fedora.sh | 4 | ||||
l--------- | ci/quay.io.sh (renamed from ci/centos.sh) | 0 | ||||
-rwxr-xr-x | ci/tumbleweed-runtime.sh | 15 | ||||
-rwxr-xr-x | ci/tumbleweed.sh | 4 |
10 files changed, 47 insertions, 14 deletions
diff --git a/ci/alpine-runtime.sh b/ci/alpine-runtime.sh new file mode 100755 index 000000000..3bff42770 --- /dev/null +++ b/ci/alpine-runtime.sh @@ -0,0 +1,18 @@ +#!/bin/sh -eux +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (c) 2023 SUSE LLC + +apk add \ + acl \ + keyutils \ + libaio \ + libacl \ + libcap \ + libselinux \ + libsepol \ + libtirpc \ + numactl \ + openssl \ + py3-msgpack + +adduser -D -g "Unprivileged LTP user" ltp diff --git a/ci/alpine.sh b/ci/alpine.sh index 9ae5a8d07..d2495c389 100755 --- a/ci/alpine.sh +++ b/ci/alpine.sh @@ -1,6 +1,6 @@ -#!/bin/sh +#!/bin/sh -eux +# SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) 2019-2022 Petr Vorel <petr.vorel@gmail.com> -set -ex apk update diff --git a/ci/debian.cross-compile.sh b/ci/debian.cross-compile.sh index 0a7ef7710..95cf11da2 100755 --- a/ci/debian.cross-compile.sh +++ b/ci/debian.cross-compile.sh @@ -1,6 +1,6 @@ -#!/bin/sh +#!/bin/sh -eux +# SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) 2018-2020 Petr Vorel <pvorel@suse.cz> -set -ex if [ -z "$ARCH" ]; then echo "missing \$ARCH!" >&2 diff --git a/ci/debian.i386.sh b/ci/debian.i386.sh index 707a23ca6..d28e552ff 100755 --- a/ci/debian.i386.sh +++ b/ci/debian.i386.sh @@ -1,6 +1,6 @@ -#!/bin/sh +#!/bin/sh -eux +# SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) 2018-2020 Petr Vorel <pvorel@suse.cz> -set -ex dpkg --add-architecture i386 apt update diff --git a/ci/debian.minimal.sh b/ci/debian.minimal.sh index b51154b05..568125555 100755 --- a/ci/debian.minimal.sh +++ b/ci/debian.minimal.sh @@ -1,6 +1,6 @@ -#!/bin/sh +#!/bin/sh -eux +# SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) 2018-2023 Petr Vorel <pvorel@suse.cz> -set -ex apt="apt remove -y" diff --git a/ci/debian.sh b/ci/debian.sh index da92337fb..96b55a35b 100755 --- a/ci/debian.sh +++ b/ci/debian.sh @@ -1,6 +1,6 @@ -#!/bin/sh +#!/bin/sh -eux +# SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) 2018-2021 Petr Vorel <pvorel@suse.cz> -set -ex # workaround for missing oldstable-updates repository # W: Failed to fetch http://deb.debian.org/debian/dists/oldstable-updates/main/binary-amd64/Packages diff --git a/ci/fedora.sh b/ci/fedora.sh index a603bcbe3..623dbb5cb 100755 --- a/ci/fedora.sh +++ b/ci/fedora.sh @@ -1,6 +1,6 @@ -#!/bin/sh +#!/bin/sh -eux +# SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) 2018-2021 Petr Vorel <pvorel@suse.cz> -set -ex yum="yum -y install --skip-broken" diff --git a/ci/centos.sh b/ci/quay.io.sh index 1479a43e0..1479a43e0 120000 --- a/ci/centos.sh +++ b/ci/quay.io.sh diff --git a/ci/tumbleweed-runtime.sh b/ci/tumbleweed-runtime.sh new file mode 100755 index 000000000..3eea991aa --- /dev/null +++ b/ci/tumbleweed-runtime.sh @@ -0,0 +1,15 @@ +#!/bin/sh -eux +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (c) 2023 SUSE LLC + +zyp="zypper --non-interactive install --force-resolution --no-recommends" + +$zyp \ + iproute2 \ + keyutils \ + libaio1 \ + libmnl0 \ + libnuma1 \ + libtirpc3 + +useradd ltp diff --git a/ci/tumbleweed.sh b/ci/tumbleweed.sh index f1e7252f2..42d62c0e0 100755 --- a/ci/tumbleweed.sh +++ b/ci/tumbleweed.sh @@ -1,6 +1,6 @@ -#!/bin/sh +#!/bin/sh -eux +# SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) 2018-2021 Petr Vorel <pvorel@suse.cz> -set -ex zyp="zypper --non-interactive install --force-resolution --no-recommends" |