install socat
parent
5a316b3bf9
commit
d18cb6fe09
|
@ -233,7 +233,8 @@ jobs:
|
|||
runs-on: ubuntu-16.04
|
||||
steps:
|
||||
# conntrack is required for kubernetes 1.18 and higher
|
||||
- name: Install conntrack
|
||||
# socat is required for kubectl port forward which is used in some tests such as validateHelmTillerAddon
|
||||
- name: Install tools for none
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
|
@ -303,7 +304,8 @@ jobs:
|
|||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
# conntrack is required for kubernetes 1.18 and higher
|
||||
- name: Install conntrack
|
||||
# socat is required for kubectl port forward which is used in some tests such as validateHelmTillerAddon
|
||||
- name: Install tools for none
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
|
|
|
@ -58,6 +58,12 @@ if ! conntrack --version &>/dev/null; then
|
|||
sudo apt-get -qq -y install conntrack
|
||||
fi
|
||||
|
||||
# socat is required for kubectl port forward which is used in some tests such as validateHelmTillerAddon
|
||||
if ! which socat &>/dev/null; then
|
||||
echo "WARNING: No socat is not installed"
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get -qq -y install socat
|
||||
fi
|
||||
|
||||
mkdir -p cron && gsutil -m rsync "gs://minikube-builds/${MINIKUBE_LOCATION}/cron" cron || echo "FAILED TO GET CRON FILES"
|
||||
sudo install cron/cleanup_and_reboot_Linux.sh /etc/cron.hourly/cleanup_and_reboot || echo "FAILED TO INSTALL CLEANUP"
|
||||
|
|
Loading…
Reference in New Issue