Skip to content

Commit e8f9f81

Browse files
committed
Switch to vagrant hypervisor
Working with kernel modules (autofs) and rootless podman is just to hard for acceptance tests.
1 parent 76a9344 commit e8f9f81

File tree

5 files changed

+11
-0
lines changed

5 files changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ jobs:
2323
puppet:
2424
name: Puppet
2525
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v3
26+
with:
27+
beaker_hypervisor: 'vagrant_libvirt'

.sync.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
---
22
spec/spec_helper_acceptance.rb:
33
unmanaged: false
4+
5+
.github/workflows/ci.yml:
6+
beaker_hypervisor: vagrant_libvirt

spec/acceptance/cvmfs_mount_atlas_repo_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
describe 'cvmfs::mount atlas.cern.ch' do
66
it 'configures and work with no errors' do
7+
pending('vargrant image being available') if ((os.name == 'Rocky') && (os.release.major == '9')) ||
8+
((os.name == 'Ubuntu') && (os.release.major == '24.04'))
79
shell('cvmfs_config killall', acceptable_exit_codes: [0, 127])
810
pp = <<-EOS
911
class{"cvmfs":

spec/acceptance/cvmfs_mount_cern_domain_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
describe 'cvmfs::domain cern.ch' do
66
it 'configures and work with no errors' do
7+
pending('vargrant image being available') if ((os.name == 'Rocky') && (os.release.major == '9')) ||
8+
((os.name == 'Ubuntu') && (os.release.major == '24.04'))
79
# Clean up all existing mounts
810
shell('cvmfs_config killall', acceptable_exit_codes: [0, 127])
911
pp = <<-EOS

spec/acceptance/cvmfs_prom_enable_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
describe 'cvmfs enable_prometheus_exporter' do
66
it 'configures and work with no errors' do
7+
pending('vargrant image being available') if ((os.name == 'Rocky') && (os.release.major == '9')) ||
8+
((os.name == 'Ubuntu') && (os.release.major == '24.04'))
79
# Clean up all existing mounts
810
shell('cvmfs_config killall', acceptable_exit_codes: [0, 127])
911
pp = <<-PUPPET

0 commit comments

Comments
 (0)