mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-17 17:02:42 +00:00
Merge pull request #135 from jodh-intel/ci-add-make-for-ubuntu
CI: Install make on Ubuntu
This commit is contained in:
commit
b9b9410b83
@ -10,8 +10,6 @@ set -e
|
|||||||
cidir=$(dirname "$0")
|
cidir=$(dirname "$0")
|
||||||
source "${cidir}/lib.sh"
|
source "${cidir}/lib.sh"
|
||||||
|
|
||||||
bash "${cidir}/static-checks.sh"
|
|
||||||
|
|
||||||
#Note: If add clearlinux as supported CI use a stateless os-release file
|
#Note: If add clearlinux as supported CI use a stateless os-release file
|
||||||
source /etc/os-release
|
source /etc/os-release
|
||||||
|
|
||||||
@ -22,8 +20,10 @@ elif [ "$ID" == centos ];then
|
|||||||
sudo -E yum -y install automake yamllint coreutils moreutils
|
sudo -E yum -y install automake yamllint coreutils moreutils
|
||||||
elif [ "$ID" == ubuntu ];then
|
elif [ "$ID" == ubuntu ];then
|
||||||
sudo apt-get -qq update
|
sudo apt-get -qq update
|
||||||
sudo apt-get install -y -qq automake qemu-utils python-pip coreutils moreutils
|
sudo apt-get install -y -qq make automake qemu-utils python-pip coreutils moreutils
|
||||||
sudo pip install yamllint
|
sudo pip install yamllint
|
||||||
else
|
else
|
||||||
echo "Linux distribution not supported"
|
echo "Linux distribution not supported"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
bash "${cidir}/static-checks.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user