File tree 4 files changed +9
-11
lines changed
4 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 5
5
strategy :
6
6
matrix :
7
7
go-versions : ['1.22', '1.21']
8
- platform : [ubuntu-20 .04]
8
+ platform : [ubuntu-22 .04]
9
9
environment-variables : [build/config/plain.sh, build/config/libpfm4.sh, build/config/libipmctl.sh]
10
10
runs-on : ${{ matrix.platform }}
11
11
timeout-minutes : 30
32
32
strategy :
33
33
matrix :
34
34
go-versions : ['1.22', '1.21']
35
- platform : [ubuntu-20 .04]
35
+ platform : [ubuntu-22 .04]
36
36
environment-variables : [build/config/plain.sh, build/config/libpfm4.sh, build/config/libipmctl.sh]
37
37
runs-on : ${{ matrix.platform }}
38
38
timeout-minutes : 30
Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
export GO_FLAGS=" -tags=libipmctl,cgo -race"
16
- export PACKAGES=" sudo libipmctl4 "
17
- export BUILD_PACKAGES=" libipmctl4 libipmctl-dev"
16
+ export PACKAGES=" sudo libipmctl5 "
17
+ export BUILD_PACKAGES=" libipmctl5 libipmctl-dev"
18
18
export CADVISOR_ARGS=" -perf_events_config=perf/testing/perf-non-hardware.json"
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function run_tests() {
42
42
docker run --rm \
43
43
-w /go/src/github.com/google/cadvisor \
44
44
-v ${PWD} :/go/src/github.com/google/cadvisor \
45
- golang:" $GOLANG_VERSION -bullseye " \
45
+ golang:" $GOLANG_VERSION -bookworm " \
46
46
bash -c " $BUILD_CMD "
47
47
48
48
EXTRA_DOCKER_OPTS=" -e DOCKER_IN_DOCKER_ENABLED=true"
@@ -58,13 +58,11 @@ function run_tests() {
58
58
--privileged \
59
59
--cap-add=" sys_admin" \
60
60
--entrypoint=" " \
61
- gcr.io/k8s-testimages /bootstrap \
61
+ gcr.io/k8s-staging-test-infra /bootstrap \
62
62
bash -c " export DEBIAN_FRONTEND=noninteractive && \
63
- echo 'deb http://deb.debian.org/debian buster-backports main'>/etc/apt/sources.list.d/buster.list && \
64
- cat /etc/apt/sources.list.d/buster.list && \
65
63
apt update && \
66
- apt install -y -t buster-backports $PACKAGES && \
67
- CADVISOR_ARGS=" $CADVISOR_ARGS " /usr/local/bin/runner.sh build/integration.sh"
64
+ apt install -y $PACKAGES && \
65
+ CADVISOR_ARGS=$CADVISOR_ARGS /usr/local/bin/runner.sh build/integration.sh"
68
66
}
69
67
70
68
GO_FLAGS=${GO_FLAGS:- " -tags=netgo -race" }
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ func (a dockerActions) RunPause() string {
220
220
// Run the specified command in a Docker busybox container.
221
221
func (a dockerActions ) RunBusybox (cmd ... string ) string {
222
222
return a .Run (DockerRunArgs {
223
- Image : "registry.k8s.io/busybox" ,
223
+ Image : "registry.k8s.io/busybox:1.27 " ,
224
224
}, cmd ... )
225
225
}
226
226
You can’t perform that action at this time.
0 commit comments