mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
Merge pull request #24678 from rhatdan/manifest
Add podman manifest rm --ignore
This commit is contained in:
@ -66,6 +66,9 @@ t POST "/v4.0.0/libpod/manifests/xyz:latest/registry/localhost:$REGISTRY_PORT%2F
|
||||
# /v3.x cannot delete a manifest list
|
||||
t DELETE /v4.0.0/libpod/manifests/$id_abc 200
|
||||
t DELETE /v4.0.0/libpod/manifests/$id_xyz 200
|
||||
t GET /v4.0.0/libpod/manifests/$id_xyz/exists 404
|
||||
t DELETE /v4.0.0/libpod/manifests/$id_xyz 404
|
||||
t DELETE /v4.0.0/libpod/manifests/$id_xyz?ignore=true 200
|
||||
|
||||
# manifest add --artifact tests
|
||||
truncate -s 20M $WORKDIR/zeroes
|
||||
|
@ -94,6 +94,10 @@ function validate_instance_compression {
|
||||
--tls-verify=false $mid \
|
||||
$manifest1
|
||||
run_podman manifest rm $manifest1
|
||||
run_podman 1 manifest rm $manifest1
|
||||
is "$output" "Error: $manifest1: image not known" "Missing manifest is reported"
|
||||
run_podman manifest rm --ignore $manifest1
|
||||
is "$output" "" "Missing manifest is ignored"
|
||||
|
||||
# Default is to require TLS; also test explicit opts
|
||||
for opt in '' '--insecure=false' '--tls-verify=true' "--authfile=$authfile"; do
|
||||
|
Reference in New Issue
Block a user