install socat
parent
5a316b3bf9
commit
d18cb6fe09
.github/workflows
hack/jenkins
|
@ -233,7 +233,8 @@ jobs:
|
||||||
runs-on: ubuntu-16.04
|
runs-on: ubuntu-16.04
|
||||||
steps:
|
steps:
|
||||||
# conntrack is required for kubernetes 1.18 and higher
|
# 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
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
|
@ -303,7 +304,8 @@ jobs:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
# conntrack is required for kubernetes 1.18 and higher
|
# 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
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
|
|
|
@ -58,6 +58,12 @@ if ! conntrack --version &>/dev/null; then
|
||||||
sudo apt-get -qq -y install conntrack
|
sudo apt-get -qq -y install conntrack
|
||||||
fi
|
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"
|
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"
|
sudo install cron/cleanup_and_reboot_Linux.sh /etc/cron.hourly/cleanup_and_reboot || echo "FAILED TO INSTALL CLEANUP"
|
||||||
|
|
Loading…
Reference in New Issue