Skip to content

Commit

Permalink
enforce xz compression for consumer rpm
Browse files Browse the repository at this point in the history
EL9+ defaults to zstd, but EL7 can't consume that
  • Loading branch information
evgeni committed May 13, 2024
1 parent 1c787b1 commit 89c44e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/acceptance/bootstrap_rpm_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@

describe command('rpm -qp /var/www/html/pub/katello-ca-consumer-latest.noarch.rpm --requires') do
its(:stdout) { should match(/^subscription-manager/) }
its(:stdout) { should match(/PayloadIsXz/) }

Check failure on line 63 in spec/acceptance/bootstrap_rpm_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

bootstrap_rpm with default params Command "rpm -qp /var/www/html/pub/katello-ca-consumer-latest.noarch.rpm --requires" stdout is expected to match /PayloadIsXz/ Failure/Error: its(:stdout) { should match(/PayloadIsXz/) } expected "/bin/sh\n/bin/sh\n/usr/bin/bash\nrpmlib(CompressedFileNames) <= 3.0.4-1\nrpmlib(FileDigests) <= 4.6....nrpmlib(PayloadFilesHavePrefix) <= 4.0-1\nrpmlib(PayloadIsZstd) <= 5.4.18-1\nsubscription-manager\n" to match /PayloadIsXz/ Diff: @@ -1,8 +1,15 @@ -/PayloadIsXz/ +/bin/sh +/bin/sh +/usr/bin/bash +rpmlib(CompressedFileNames) <= 3.0.4-1 +rpmlib(FileDigests) <= 4.6.0-1 +rpmlib(PayloadFilesHavePrefix) <= 4.0-1 +rpmlib(PayloadIsZstd) <= 5.4.18-1 +subscription-manager

Check failure on line 63 in spec/acceptance/bootstrap_rpm_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

bootstrap_rpm with default params Command "rpm -qp /var/www/html/pub/katello-ca-consumer-latest.noarch.rpm --requires" stdout is expected to match /PayloadIsXz/ Failure/Error: its(:stdout) { should match(/PayloadIsXz/) } expected "/bin/sh\n/bin/sh\n/usr/bin/bash\nrpmlib(CompressedFileNames) <= 3.0.4-1\nrpmlib(FileDigests) <= 4.6....nrpmlib(PayloadFilesHavePrefix) <= 4.0-1\nrpmlib(PayloadIsZstd) <= 5.4.18-1\nsubscription-manager\n" to match /PayloadIsXz/ Diff: @@ -1,8 +1,15 @@ -/PayloadIsXz/ +/bin/sh +/bin/sh +/usr/bin/bash +rpmlib(CompressedFileNames) <= 3.0.4-1 +rpmlib(FileDigests) <= 4.6.0-1 +rpmlib(PayloadFilesHavePrefix) <= 4.0-1 +rpmlib(PayloadIsZstd) <= 5.4.18-1 +subscription-manager
end

describe command('rpm -qp /var/www/html/pub/katello-ca-consumer-latest.noarch.rpm --list') do
Expand Down

0 comments on commit 89c44e9

Please sign in to comment.