@@ -63,36 +63,12 @@ jobs:
6363 - name : Checkout
6464 uses : actions/checkout@v4
6565
66- - name : Install Docker
67- id : docker
68- run : |
69- # Add Docker's official GPG key:
70- apt-get update -y
71- apt-get install ca-certificates curl gnupg -y
72- install -m 0755 -d /etc/apt/keyrings
73- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
74- chmod a+r /etc/apt/keyrings/docker.gpg
75- # Add the repository to Apt sources:
76- echo \
77- "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
78- $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
79- tee /etc/apt/sources.list.d/docker.list > /dev/null
80- apt-get update -y
81- apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
82- docker info
83-
84- - name : install make and tooling for libbpf
85- id : dependency
86- run : |
87- apt-get install -y binutils-dev build-essential
88- apt-get install -y pkg-config
89- env
90-
9166 - name : use Kepler action to deploy cluster
9267 uses : sustainable-computing-io/kepler-action@main
9368 with :
9469 ebpfprovider : libbpf
9570 cluster_provider : kind
71+ install_containerruntime : true
9672 prometheus_enable : true
9773 tekton_enable : true
9874
@@ -103,8 +79,11 @@ jobs:
10379 uname -a # or any other command
10480 cat /etc/os-release
10581 cat /proc/cpuinfo
106- kind get kubeconfig --name=kind > /tmp/kubeconfig
107- kubectl get po --all-namespaces --kubeconfig=/tmp/kubeconfig
82+ echo "verify k8s info"
83+ export KUBECONFIG="/tmp/kubeconfig"
84+ kubectl cluster-info
85+ kubectl get po --all-namespaces
86+ echo "end of test"
10887
10988 destroy-runner :
11089 if : always()
0 commit comments