Compare commits
No commits in common. "c8-stream-2.0" and "c10s" have entirely different histories.
c8-stream-
...
c10s
@ -1 +0,0 @@
|
|||||||
30cdc2273b6edc5fa16cbf676bb53ae7d6e240f9 SOURCES/conmon-1bddbf7.tar.gz
|
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/conmon-1bddbf7.tar.gz
|
/*.tar.*
|
||||||
|
@ -1,85 +0,0 @@
|
|||||||
%global with_debug 0
|
|
||||||
%global with_check 0
|
|
||||||
|
|
||||||
%if 0%{?with_debug}
|
|
||||||
%global _find_debuginfo_dwz_opts %{nil}
|
|
||||||
%global _dwz_low_mem_die_limit 0
|
|
||||||
%else
|
|
||||||
%global debug_package %{nil}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%global provider github
|
|
||||||
%global provider_tld com
|
|
||||||
%global project containers
|
|
||||||
%global repo conmon
|
|
||||||
# https://github.com/containers/conmon
|
|
||||||
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
|
|
||||||
%global commit0 1bddbf7051a973f4a4fecf06faa0c48e82f1e9e1
|
|
||||||
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
||||||
%global git0 https://%{import_path}
|
|
||||||
|
|
||||||
Name: %{repo}
|
|
||||||
Epoch: 2
|
|
||||||
Version: 2.0.15
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Summary: OCI container runtime monitor
|
|
||||||
License: ASL 2.0
|
|
||||||
URL: %{git0}
|
|
||||||
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
|
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: git
|
|
||||||
BuildRequires: glib2-devel
|
|
||||||
BuildRequires: systemd-devel
|
|
||||||
|
|
||||||
%description
|
|
||||||
%{summary}.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -Sgit -n %{name}-%{commit0}
|
|
||||||
|
|
||||||
%build
|
|
||||||
%{__make} all
|
|
||||||
|
|
||||||
%install
|
|
||||||
%{__make} PREFIX=%{buildroot}%{_prefix} install
|
|
||||||
|
|
||||||
#define license tag if not already defined
|
|
||||||
%{!?_licensedir:%global license %doc}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%license LICENSE
|
|
||||||
%doc README.md
|
|
||||||
%{_bindir}/%{name}
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Mon Apr 06 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.0.15-1
|
|
||||||
- update to 2.0.15
|
|
||||||
- Related: #1821193
|
|
||||||
|
|
||||||
* Thu Dec 12 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.0.6-1
|
|
||||||
- update to 2.0.6
|
|
||||||
- Related: RHELPLAN-25139
|
|
||||||
|
|
||||||
* Tue Dec 10 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.0.5-1
|
|
||||||
- update to 2.0.5
|
|
||||||
- Related: RHELPLAN-25139
|
|
||||||
|
|
||||||
* Tue Dec 10 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.0.4-1
|
|
||||||
- update to 2.0.4 bugfix release
|
|
||||||
- Related: RHELPLAN-25139
|
|
||||||
|
|
||||||
* Wed Nov 20 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.0.3-1.giteb5fa88
|
|
||||||
- update to 2.0.3
|
|
||||||
- Related: RHELPLAN-25139
|
|
||||||
|
|
||||||
* Wed Sep 25 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.2-0.1.dev.git422ce21
|
|
||||||
- build latest upstream master
|
|
||||||
|
|
||||||
* Tue Sep 10 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.0-2
|
|
||||||
- remove BR: go-md2man since no manpages yet
|
|
||||||
|
|
||||||
* Tue Sep 10 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0.0-1
|
|
||||||
- bump to v2.0.0
|
|
||||||
|
|
||||||
* Fri May 31 2019 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:0.2.0-1
|
|
||||||
- initial package
|
|
77
conmon.spec
Normal file
77
conmon.spec
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
%global with_debug 1
|
||||||
|
|
||||||
|
%if 0%{?with_debug}
|
||||||
|
%global _find_debuginfo_dwz_opts %{nil}
|
||||||
|
%global _dwz_low_mem_die_limit 0
|
||||||
|
%else
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?rhel}
|
||||||
|
%bcond_with docs
|
||||||
|
%else
|
||||||
|
%bcond_without docs
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Name: conmon
|
||||||
|
Epoch: 2
|
||||||
|
Version: 2.1.12
|
||||||
|
License: Apache-2.0
|
||||||
|
Release: %autorelease
|
||||||
|
Summary: OCI container runtime monitor
|
||||||
|
URL: https://github.com/containers/%{name}
|
||||||
|
# Tarball fetched from upstream
|
||||||
|
Source0: %{url}/archive/v%{version}.tar.gz
|
||||||
|
%if %{with docs}
|
||||||
|
ExclusiveArch: %{golang_arches_future}
|
||||||
|
BuildRequires: go-md2man
|
||||||
|
%endif
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: git-core
|
||||||
|
BuildRequires: glib2-devel
|
||||||
|
BuildRequires: libseccomp-devel
|
||||||
|
BuildRequires: systemd-devel
|
||||||
|
BuildRequires: systemd-libs
|
||||||
|
BuildRequires: make
|
||||||
|
Requires: glib2
|
||||||
|
Requires: systemd-libs
|
||||||
|
Requires: libseccomp
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -Sgit %{name}-%{built_tag_strip}
|
||||||
|
sed -i 's/install.bin: bin\/conmon/install.bin:/' Makefile
|
||||||
|
sed -i 's/install.crio: bin\/conmon/install.crio:/' Makefile
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__make} DEBUGFLAG="-g" bin/conmon
|
||||||
|
|
||||||
|
%if %{with docs}
|
||||||
|
%{__make} GOMD2MAN=go-md2man -C docs
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{__make} PREFIX=%{buildroot}%{_prefix} install.bin install.crio
|
||||||
|
|
||||||
|
%if %{with docs}
|
||||||
|
%{__make} PREFIX=%{buildroot}%{_prefix} -C docs install
|
||||||
|
%endif
|
||||||
|
|
||||||
|
#define license tag if not already defined
|
||||||
|
%{!?_licensedir:%global license %doc}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_libexecdir}/crio/%{name}
|
||||||
|
%dir %{_libexecdir}/crio
|
||||||
|
|
||||||
|
%if %{with docs}
|
||||||
|
%{_mandir}/man8/%{name}.8.gz
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
%autochangelog
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# recipients: jnovy, lsm5, santiago
|
||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules: []
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (v2.1.12.tar.gz) = 06668aa35f5752e3d383f0a2cdf88f7c5056bdef96756aa230279ae25ef1d6b6bfd14888d35907062404670ae85d71d2d7258577abff70b74fa49bff6c2d9d20
|
17
tests/test_podman.sh
Executable file
17
tests/test_podman.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
#
|
||||||
|
# Simple podman tests
|
||||||
|
#
|
||||||
|
|
||||||
|
# Log program and kernel versions
|
||||||
|
echo "Important package versions:"
|
||||||
|
(
|
||||||
|
uname -r
|
||||||
|
rpm -qa | egrep 'podman|conmon|crun|runc|iptable|slirp|systemd|container-selinux' | sort
|
||||||
|
) | sed -e 's/^/ /'
|
||||||
|
|
||||||
|
# Log environment; or at least the useful bits
|
||||||
|
echo "Environment:"
|
||||||
|
env | grep -v LS_COLORS= | sort | sed -e 's/^/ /'
|
||||||
|
|
||||||
|
bats /usr/share/podman/test/system
|
27
tests/test_podman.yml
Normal file
27
tests/test_podman.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
- container
|
||||||
|
required_packages:
|
||||||
|
- bats
|
||||||
|
- conmon
|
||||||
|
- podman
|
||||||
|
- podman-tests
|
||||||
|
tests:
|
||||||
|
- root-test:
|
||||||
|
dir: ./
|
||||||
|
run: ./test_podman.sh
|
||||||
|
timeout: 45m
|
||||||
|
environment:
|
||||||
|
QUADLET: /usr/libexec/podman/quadlet
|
||||||
|
- rootless-test:
|
||||||
|
# running the test with su doesn't create the directory for fedora user on /run/user/
|
||||||
|
# so create it manually
|
||||||
|
dir: ./
|
||||||
|
run: loginctl enable-linger fedora; su -c ${PWD}/test_podman.sh - fedora
|
||||||
|
timeout: 45m
|
||||||
|
environment:
|
||||||
|
QUADLET: /usr/libexec/podman/quadlet
|
1
tests/tests.yml
Normal file
1
tests/tests.yml
Normal file
@ -0,0 +1 @@
|
|||||||
|
- import_playbook: test_podman.yml
|
Loading…
Reference in New Issue
Block a user