From 5d47ccfb3ec8a815ed05befdfd793ed12ce5121d Mon Sep 17 00:00:00 2001 From: Michael Chmielewski Date: Thu, 10 Feb 2022 11:38:21 -0500 Subject: [PATCH 1/2] Update image to be used to test RHEL 8 package. --- .kitchen.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.kitchen.yml b/.kitchen.yml index 4626b1e..86337a4 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -91,7 +91,7 @@ platforms: key_file_uri: <%= ENV['TS_RPM_REPO_URL'] != nil ? ENV['TS_RPM_REPO_URL'] + '/EL/8/repomd.xml.key' : nil %> validate_gpg_key: false # This is ONLY for test purposes! Don't do this in your actual roles/recipes driver_config: - image: centos:8 + image: quay.io/centos/centos:stream8 run_command: /sbin/init privileged: true run_options: @@ -110,7 +110,7 @@ platforms: key_file_uri: <%= ENV['TS_RPM_REPO_URL'] != nil ? ENV['TS_RPM_REPO_URL'] + '/EL/8/repomd.xml.key' : nil %> validate_gpg_key: false # This is ONLY for test purposes! Don't do this in your actual roles/recipes driver_config: - image: arm64v8/centos:8 + image: quay.io/centos/centos:stream8 run_command: /sbin/init privileged: true run_options: From 99433245bbf878621095abf3afdede3d932af3b2 Mon Sep 17 00:00:00 2001 From: Michael Chmielewski Date: Thu, 10 Feb 2022 12:50:15 -0500 Subject: [PATCH 2/2] Use digests to ensure the different architecture tests pull the correct images from quay.io. Useful for systems that can test multiple platforms (like Macs). --- .kitchen.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.kitchen.yml b/.kitchen.yml index 86337a4..e0d7ac7 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -91,7 +91,7 @@ platforms: key_file_uri: <%= ENV['TS_RPM_REPO_URL'] != nil ? ENV['TS_RPM_REPO_URL'] + '/EL/8/repomd.xml.key' : nil %> validate_gpg_key: false # This is ONLY for test purposes! Don't do this in your actual roles/recipes driver_config: - image: quay.io/centos/centos:stream8 + image: quay.io/centos/centos@sha256:ec7c5f072735a39f9a71268075d18263ea3f6d56af1ee7d81b37e8420a161b42 run_command: /sbin/init privileged: true run_options: @@ -110,7 +110,7 @@ platforms: key_file_uri: <%= ENV['TS_RPM_REPO_URL'] != nil ? ENV['TS_RPM_REPO_URL'] + '/EL/8/repomd.xml.key' : nil %> validate_gpg_key: false # This is ONLY for test purposes! Don't do this in your actual roles/recipes driver_config: - image: quay.io/centos/centos:stream8 + image: quay.io/centos/centos@sha256:75147b8b821136594e8dff6e4eff7069d537bc4280423996109c58df77a695b4 run_command: /sbin/init privileged: true run_options: