Several of them don't use sections yet, but let's just have it everywhere to avoid weird surprised when moving code around and suddenly a section is used. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32299>
33 lines
570 B
Bash
33 lines
570 B
Bash
#!/usr/bin/env bash
|
|
|
|
# This is a ci-templates build script to generate a container for LAVA SSH client.
|
|
|
|
# shellcheck disable=SC1091
|
|
set -e
|
|
|
|
. .gitlab-ci/setup-test-env.sh
|
|
|
|
set -o xtrace
|
|
|
|
EPHEMERAL=(
|
|
)
|
|
|
|
# We only need these very basic packages to run the tests.
|
|
DEPS=(
|
|
openssh-client # for ssh
|
|
iputils # for ping
|
|
bash
|
|
curl
|
|
)
|
|
|
|
|
|
apk --no-cache add "${DEPS[@]}" "${EPHEMERAL[@]}"
|
|
|
|
. .gitlab-ci/container/container_pre_build.sh
|
|
|
|
############### Uninstall the build software
|
|
|
|
apk del "${EPHEMERAL[@]}"
|
|
|
|
. .gitlab-ci/container/container_post_build.sh
|