Skip to content

Commit

Permalink
test/build-utils.sh: remove support for Debian Jessie
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
thaJeztah committed Aug 3, 2021
1 parent 7d48917 commit 0cb6568
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions test/build-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
cat /etc/os-release
apt-get update
apt-get install -y libseccomp2 libseccomp-dev

# PULL_REFS is from prow.
if [ ! -z "${PULL_REFS:-""}" ]; then
Expand Down

0 comments on commit 0cb6568

Please sign in to comment.