Skip to content

Commit

Permalink
tests: Add ubuntu 22.04 to vagrant
Browse files Browse the repository at this point in the history
we are running with 20.04 and 22.04 in CI, let's add the 22.04 to the
vagrantfile to let users test their changes on either of those.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
  • Loading branch information
ldoktor authored and fitzthum committed May 15, 2024
1 parent 529c52a commit 73fbe55
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/e2e/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ Vagrant.configure("2") do |config|
SHELL
end

config.vm.define "tests-e2e-ubuntu2204", autostart: false do |ubuntu|
ubuntu.vm.box = "generic/ubuntu2204"

ubuntu.vm.provision "shell", inline: <<-SHELL
sudo apt-get -y update
sudo apt-get -y install ansible
cd "#{guest_home_dir}/src/confidential-containers/operator/tests/e2e"
./run-local.sh -r "#{runtimeclass}"
SHELL
end

config.vm.define "tests-e2e-centosstream8", autostart: false do |centosstream8|
centosstream8.vm.box = "centos/stream8"
centosstream8.vm.provision "shell", inline: <<-SHELL
Expand Down

0 comments on commit 73fbe55

Please sign in to comment.