Skip to content

Commit 39fe1c3

Browse files
authored
Merge pull request #3848 from kolyshkin/bump-vagrant
ci/cirrus: use vagrant from hashicorp repo, bump Fedora to 38, bump bats
2 parents 30f9f80 + 13091ee commit 39fe1c3

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

.cirrus.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,15 @@ task:
3737
# -----
3838
cat /proc/cpuinfo
3939
install_libvirt_vagrant_script: |
40+
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
41+
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
42+
sudo sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list
4043
apt-get update
41-
apt-get install -y libvirt-daemon libvirt-daemon-system vagrant vagrant-libvirt
44+
apt-get install -y libvirt-daemon libvirt-daemon-system vagrant
4245
systemctl enable --now libvirtd
46+
apt-get build-dep -y vagrant ruby-libvirt
47+
apt-get install -y --no-install-recommends libxslt-dev libxml2-dev libvirt-dev ruby-bundler ruby-dev zlib1g-dev
48+
vagrant plugin install vagrant-libvirt
4349
vagrant_cache:
4450
fingerprint_script: uname -s ; cat Vagrantfile.$DISTRO
4551
folder: /root/.vagrant.d
@@ -71,7 +77,7 @@ task:
7177
HOME: /root
7278
CIRRUS_WORKING_DIR: /home/runc
7379
GO_VERSION: "1.19"
74-
BATS_VERSION: "v1.8.2"
80+
BATS_VERSION: "v1.9.0"
7581
RPMS: gcc git iptables jq glibc-static libseccomp-devel make criu fuse-sshfs
7682
# yamllint disable rule:key-duplicates
7783
matrix:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: install bats
7777
uses: mig4/setup-bats@v1
7878
with:
79-
bats-version: 1.8.2
79+
bats-version: 1.9.0
8080

8181
- name: unit test
8282
if: matrix.rootless != 'rootless'

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG GO_VERSION=1.20
2-
ARG BATS_VERSION=v1.8.2
2+
ARG BATS_VERSION=v1.9.0
33
ARG LIBSECCOMP_VERSION=2.5.4
44

55
FROM golang:${GO_VERSION}-bullseye

Vagrantfile.fedora

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Vagrant.configure("2") do |config|
55
# Fedora box is used for testing cgroup v2 support
6-
config.vm.box = "fedora/37-cloud-base"
6+
config.vm.box = "fedora/38-cloud-base"
77
config.vm.provider :virtualbox do |v|
88
v.memory = 2048
99
v.cpus = 2

0 commit comments

Comments
 (0)