skopeo-1.6.1-2.el9

- be sure to install BATS before gating tests are executed
  (thanks to Ed Santiago)
- Related: #2061316

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
Jindrich Novy 2022-03-14 14:49:34 +01:00
parent e3b85c5431
commit 7a15858c41
3 changed files with 19 additions and 1 deletions

View File

@ -20,7 +20,7 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl
Epoch: 2
Name: skopeo
Version: 1.6.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Inspect container images and repositories on registries
License: ASL 2.0
URL: https://%{import_path}
@ -121,6 +121,11 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%{_datadir}/%{name}/test
%changelog
* Mon Mar 14 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.6.1-2
- be sure to install BATS before gating tests are executed
(thanks to Ed Santiago)
- Related: #2061316
* Thu Feb 17 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.6.1-1
- update to https://github.com/containers/skopeo/releases/tag/v1.6.1
- Related: #2000051

View File

@ -0,0 +1,12 @@
---
# Sigh; RHEL8 doesn't have BATS
- name: bats | fetch and unpack tarball
unarchive:
src: https://github.com/bats-core/bats-core/archive/v1.5.0.tar.gz
dest: /root
remote_src: true
- name: bats | install
command: ./install.sh /usr/local
args:
chdir: /root/bats-core-1.5.0

View File

@ -1,6 +1,7 @@
---
- hosts: localhost
roles:
- role: bats_installed
- role: standard-test-basic
tags:
- classic