Skip to content

Commit

Permalink
Upgrade AlmaLinux release package
Browse files Browse the repository at this point in the history
We have started to see test failures on AlmaLinux due to outdated keys
when validating packages. This commit updates tests to upgrade the
AlmaLinux release package to pull in new keys to allow other packages to
be installed.

(cherry picked from commit 7cb629e)
  • Loading branch information
mhashizume committed Jan 23, 2024
1 parent bd3716e commit 5e9d356
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions acceptance/tests/validate_vendored_ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ def install_dependencies(agent)
agents_to_test = agents - agents_to_skip
agents_to_test.each do |agent|
gem_install_sqlite3 = setup_build_environment(agent)

# Upgrade the AlmaLinux release package for newer keys until our image is updated (RE-16096)
on(agent, 'dnf -y upgrade almalinux-release') if on(agent, facter('os.name')).stdout.strip == 'AlmaLinux'

install_dependencies(agent)
on(agent, gem_install_sqlite3)

Expand Down

0 comments on commit 5e9d356

Please sign in to comment.