Skip to content

Commit ee66bce

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 ee66bce

File tree

5 files changed

+14
-0
lines changed

5 files changed

+14
-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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
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 ((fact('os.name') == 'Rocky') && (fact('os.release.major') == '9')) ||
8+
((fact('os.name') == 'Ubuntu') && (fact('os.release.major') == '24.04'))
9+
710
shell('cvmfs_config killall', acceptable_exit_codes: [0, 127])
811
pp = <<-EOS
912
class{"cvmfs":

spec/acceptance/cvmfs_mount_cern_domain_spec.rb

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

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

spec/acceptance/cvmfs_prom_enable_spec.rb

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

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

0 commit comments

Comments
 (0)