Skip to content

Commit

Permalink
(roles/rucio_spec.rb) add role tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dtapiacl committed Oct 4, 2024
1 parent ffe4d9e commit 84f370e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions spec/hosts/roles/rucio_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# frozen_string_literal: true

require 'spec_helper'

role = 'rucio'

describe "#{role} role" do
on_supported_os.each do |os, os_facts|
next unless os =~ %r{almalinux-9-x86_64}

context "on #{os}" do
lsst_sites.each do |site|
describe "#{role}.#{site}.lsst.org", :sitepp do
let(:node_params) do
{
role:,
site:,
}
end
let(:facts) { lsst_override_facts(os_facts) }

it { is_expected.to compile.with_all_deps }
end # host
end # lsst_sites
end # on os
end # on_supported_os
end # role

0 comments on commit 84f370e

Please sign in to comment.