Skip to content

Commit 8680b58

Browse files
committed
bats: update to v1.11.0
This includes bats_pipe and some other nice features we can use in our tests. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
1 parent de52940 commit 8680b58

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ task:
7878
HOME: /root
7979
CIRRUS_WORKING_DIR: /home/runc
8080
GO_VERSION: "1.23"
81-
BATS_VERSION: "v1.9.0"
81+
BATS_VERSION: "v1.11.0"
8282
RPMS: gcc git iptables jq glibc-static libseccomp-devel make criu fuse-sshfs container-selinux
8383
# yamllint disable rule:key-duplicates
8484
matrix:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
- name: Setup Bats and bats libs
141141
uses: bats-core/bats-action@3.0.0
142142
with:
143-
bats-version: 1.9.0
143+
bats-version: 1.11.0
144144
support-install: false
145145
assert-install: false
146146
detik-install: false

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG GO_VERSION=1.23
2-
ARG BATS_VERSION=v1.9.0
2+
ARG BATS_VERSION=v1.11.0
33
ARG LIBSECCOMP_VERSION=2.5.5
44

55
FROM golang:${GO_VERSION}-bookworm
@@ -16,6 +16,7 @@ RUN KEYFILE=/usr/share/keyrings/criu-repo-keyring.gpg; \
1616
criu \
1717
gcc \
1818
gcc-multilib \
19+
cpio \
1920
curl \
2021
gawk \
2122
gperf \
@@ -24,6 +25,7 @@ RUN KEYFILE=/usr/share/keyrings/criu-repo-keyring.gpg; \
2425
kmod \
2526
pkg-config \
2627
python3-minimal \
28+
qemu-kvm \
2729
sshfs \
2830
sudo \
2931
uidmap \

0 commit comments

Comments
 (0)