automation-tests/common/libimage
Valentin Rothberg 8ba7e55c56 libimage: pull: platform checks for non-local platform
After containers/podman/issues/10682, we decided to always re-pull
images of non-local platforms and match *any* local image. Over time, we
refined this logic to not *always* pull the image but only if there is a
*newer* one. This has slightly changed the semantics and requires to
perform platform checks when looking up a local image. Otherwise, bogus
values would match a local image and mistakenly return it.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2022-01-12 10:15:09 +01:00
..
manifests libimage/manifests.list.Add(): pull variant info from configs 2021-11-04 14:51:14 -04:00
testdata pull: fix pulling from dir transport 2022-01-10 13:34:36 +01:00
copier.go libimage: normalize platform 2021-12-23 13:09:03 +01:00
corrupted_test.go libimage: Inspect: add InspectOptions 2021-10-08 13:45:54 +02:00
disk_usage.go libimage: disk usage: catch corrupted images 2021-08-31 11:09:21 +02:00
events.go Merge pull request #524 from vrothberg/libimage-events 2021-05-06 14:34:49 -04:00
filters.go libimage filters: allow duplicates with the same value 2022-01-10 14:32:16 +01:00
filters_test.go Add filters for image and manifest 2021-12-14 10:19:57 -05:00
history.go libimage: follow-up changes 2021-05-03 15:20:40 +02:00
image.go reference filter: match exact behavior of Docker 2021-12-03 10:52:47 +01:00
image_config.go libimage: use faster json library 2021-09-29 14:18:01 +02:00
image_test.go image lookup: apply checks for matching digest 2022-01-10 13:18:42 +01:00
image_tree.go libimage: image tree: fix nil deref 2021-07-09 15:11:04 +02:00
import.go pkg/download: for downloading files into tmp 2021-11-10 14:41:42 +01:00
import_test.go libimage: import: fix tags 2021-07-06 14:42:50 +02:00
inspect.go libimage: inspect: extract healthchecks from configs 2021-11-09 13:02:54 +01:00
layer_tree.go libruntime: layer tree: handle empty images 2021-07-20 11:00:21 +02:00
load.go load: support buildkit archives 2021-12-10 13:24:05 +01:00
load_test.go load: support buildkit archives 2021-12-10 13:24:05 +01:00
manifest_list.go libimage: LookupImage: remove IgnorePlatform option 2021-07-02 14:14:56 +02:00
manifest_list_test.go remove-image: Add optional LookupManifest to RemoveImagesOptions. 2021-09-02 14:21:51 +05:30
normalize.go libimage: normalize platform 2021-12-23 13:09:03 +01:00
normalize_test.go libimage: normalize platform 2021-12-23 13:09:03 +01:00
oci.go libimage: follow-up changes 2021-05-03 15:20:40 +02:00
pull.go libimage: pull: platform checks for non-local platform 2022-01-12 10:15:09 +01:00
pull_test.go libimage: pull: platform checks for non-local platform 2022-01-12 10:15:09 +01:00
push.go libimage: LookupImage: remove IgnorePlatform option 2021-07-02 14:14:56 +02:00
push_test.go libimage: Inspect: add InspectOptions 2021-10-08 13:45:54 +02:00
remove_test.go libimage: force remove: only untag on multi tag image 2021-06-17 15:46:14 +02:00
runtime.go image lookup: apply checks for matching digest 2022-01-10 13:18:42 +01:00
runtime_test.go libimage: refine pull-policy enforcement for custom platforms 2022-01-10 16:27:10 +01:00
save.go libimage: LookupImage: remove IgnorePlatform option 2021-07-02 14:14:56 +02:00
save_test.go libimage: add save tests 2021-05-14 12:21:52 +02:00
search.go libimage: search custom registries 2021-11-25 14:28:45 +01:00