skopeo-1.4.1-0.12.el9
- add skopeo tests from Fedora - Related: #2000051 Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
parent
5ed3955d1a
commit
72ad847dbe
@ -20,7 +20,7 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl
|
||||
Epoch: 1
|
||||
Name: skopeo
|
||||
Version: 1.4.1
|
||||
Release: 0.11%{?dist}
|
||||
Release: 0.12%{?dist}
|
||||
Summary: Inspect container images and repositories on registries
|
||||
License: ASL 2.0
|
||||
URL: https://%{import_path}
|
||||
@ -121,6 +121,10 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
||||
%{_datadir}/%{name}/test
|
||||
|
||||
%changelog
|
||||
* Fri Oct 01 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.4.1-0.12
|
||||
- add skopeo tests from Fedora
|
||||
- Related: #2000051
|
||||
|
||||
* Fri Oct 01 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.4.1-0.11
|
||||
- update to the latest content of https://github.com/containers/skopeo/tree/main
|
||||
(https://github.com/containers/skopeo/commit/53cf287)
|
||||
|
14
tests/test_skopeo.sh
Executable file
14
tests/test_skopeo.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
# Log program and kernel versions
|
||||
echo "Important package versions:"
|
||||
(
|
||||
uname -r
|
||||
rpm -qa | egrep 'skopeo|podman|conmon|crun|runc|iptable|slirp|systemd' | sort
|
||||
) | sed -e 's/^/ /'
|
||||
|
||||
# Log environment; or at least the useful bits
|
||||
echo "Environment:"
|
||||
env | grep -v LS_COLORS= | sort | sed -e 's/^/ /'
|
||||
|
||||
SKOPEO_BINARY=/usr/bin/skopeo bats /usr/share/skopeo/test/system
|
16
tests/test_skopeo.yml
Normal file
16
tests/test_skopeo.yml
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
- container
|
||||
required_packages:
|
||||
- bats
|
||||
- skopeo
|
||||
- skopeo-tests
|
||||
tests:
|
||||
- root-test:
|
||||
dir: ./
|
||||
run: ./test_skopeo.sh
|
||||
timeout: 15m
|
1
tests/tests.yml
Normal file
1
tests/tests.yml
Normal file
@ -0,0 +1 @@
|
||||
- import_playbook: test_skopeo.yml
|
Loading…
Reference in New Issue
Block a user