test/build-utils.sh: remove support for Debian Jessie
Jessie is EOL since June 30, 2020, so it's probably fine to assume it's no longer used. https://www.debian.org/News/2020/20200709 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
7d4891783a
commit
0cb656860f
@ -28,18 +28,9 @@ fi
|
||||
# Activate gcloud service account.
|
||||
gcloud auth activate-service-account --key-file "${GOOGLE_APPLICATION_CREDENTIALS}" --project="${PROJECT}"
|
||||
|
||||
# Kubernetes test infra uses jessie and stretch.
|
||||
if cat /etc/os-release | grep jessie; then
|
||||
sh -c "echo 'deb http://ftp.debian.org/debian jessie-backports main' > /etc/apt/sources.list.d/backports.list"
|
||||
apt-get update
|
||||
apt-get install -y libseccomp2/jessie-backports
|
||||
apt-get install -y libseccomp-dev/jessie-backports
|
||||
else
|
||||
cat /etc/os-release
|
||||
apt-get update
|
||||
apt-get install -y libseccomp2
|
||||
apt-get install -y libseccomp-dev
|
||||
fi
|
||||
apt-get install -y libseccomp2 libseccomp-dev
|
||||
|
||||
# PULL_REFS is from prow.
|
||||
if [ ! -z "${PULL_REFS:-""}" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user