Skip to content

Commit ebcabef

Browse files
authored
Merge pull request #9242 from cthorn42/main
(maint) Add workaround for AlmaLinux package testing failures
2 parents d9330f1 + 4287a56 commit ebcabef

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

acceptance/tests/resource/package/common_package_name_in_different_providers.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
skip_test('Skipping EC2 Hosts') if fact_on(agent, 'ec2_metadata')
77
end
88

9+
# Upgrade the AlmaLinux release package for newer keys until our image is updated (RE-16096)
10+
on(agent, 'dnf -y upgrade almalinux-release') if on(agent, facter('os.name')).stdout.strip == 'AlmaLinux'
11+
912
tag 'audit:high',
1013
'audit:acceptance' # Uses a provider that depends on AIO packaging
1114

acceptance/tests/resource/package/yum.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
skip_test('Skipping EC2 Hosts') if fact_on(agent, 'ec2_metadata')
77
end
88

9+
# Upgrade the AlmaLinux release package for newer keys until our image is updated (RE-16096)
10+
on(agent, 'dnf -y upgrade almalinux-release') if on(agent, facter('os.name')).stdout.strip == 'AlmaLinux'
11+
912
tag 'audit:high',
1013
'audit:acceptance' # Could be done at the integration (or unit) layer though
1114
# actual changing of resources could irreparably damage a

0 commit comments

Comments
 (0)