This repository was archived by the owner on Mar 9, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929gcloud auth activate-service-account --key-file " ${GOOGLE_APPLICATION_CREDENTIALS} " --project=" ${PROJECT} "
3030
3131# Install dependent libraries.
32- sh -c " echo 'deb http://ftp.debian.org/debian jessie-backports main' > /etc/apt/sources.list.d/backports.list"
3332apt-get update
3433apt-get install -y btrfs-tools
35- apt-get install -y libseccomp2/jessie-backports
36- apt-get install -y libseccomp-dev/jessie-backports
34+
35+ # Kubernetes test infra uses jessie and stretch.
36+ if cat /etc/os-release | grep jessie; then
37+ sh -c " echo 'deb http://ftp.debian.org/debian jessie-backports main' > /etc/apt/sources.list.d/backports.list"
38+ apt-get update
39+ apt-get install -y libseccomp2/jessie-backports
40+ apt-get install -y libseccomp-dev/jessie-backports
41+ else
42+ apt-get install -y libseccomp2
43+ apt-get install -y libseccomp-dev
44+ fi
3745
3846# PULL_REFS is from prow.
3947if [ ! -z " ${PULL_REFS:- " " } " ]; then
You can’t perform that action at this time.
0 commit comments