From 8ca7a9ba439b1a4620062232e926ddc69f395ffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Wed, 14 Oct 2020 23:10:31 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/conmon#961f50398af1f6648e5cecf574208e31566dc8fe --- .gitignore | 75 ++++++++++ README.md | 3 + conmon.spec | 325 ++++++++++++++++++++++++++++++++++++++++++ gating.yaml | 14 ++ sources | 1 + tests/test_podman.sh | 17 +++ tests/test_podman.yml | 23 +++ tests/tests.yml | 1 + 8 files changed, 459 insertions(+) create mode 100644 README.md create mode 100644 conmon.spec create mode 100644 gating.yaml create mode 100644 sources create mode 100755 tests/test_podman.sh create mode 100644 tests/test_podman.yml create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index e69de29..4443d96 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,75 @@ +/conmon-e217fdf.tar.gz +/conmon-422ce21.tar.gz +/conmon-4dc8bcf.tar.gz +/conmon-bc758d8.tar.gz +/conmon-002da25.tar.gz +/conmon-098fcce.tar.gz +/conmon-f6d23b5.tar.gz +/conmon-42bce45.tar.gz +/conmon-df8c6aa.tar.gz +/conmon-fd5ac47.tar.gz +/conmon-c792503.tar.gz +/conmon-bc9e976.tar.gz +/conmon-ba14d9c.tar.gz +/conmon-8ba9575.tar.gz +/conmon-95ed45a.tar.gz +/conmon-4100fb2.tar.gz +/conmon-036ff29.tar.gz +/conmon-c8f7443.tar.gz +/conmon-c2e2e67.tar.gz +/conmon-b17d81b.tar.gz +/conmon-1560392.tar.gz +/conmon-b7bfc7b.tar.gz +/conmon-6e39a83.tar.gz +/conmon-26f6817.tar.gz +/conmon-ad05887.tar.gz +/conmon-5039b44.tar.gz +/conmon-ccfdbb6.tar.gz +/conmon-77f4a51.tar.gz +/conmon-86aa80b.tar.gz +/conmon-51c0e7b.tar.gz +/conmon-849ab62.tar.gz +/conmon-1b53637.tar.gz +/conmon-b97c274.tar.gz +/conmon-ff29dd6.tar.gz +/conmon-89b2478.tar.gz +/conmon-3ea6c68.tar.gz +/conmon-9c9b3e7.tar.gz +/conmon-b763fdd.tar.gz +/conmon-e34c6d6.tar.gz +/conmon-42cb289.tar.gz +/conmon-6fa9c2a.tar.gz +/conmon-edd4aaa.tar.gz +/conmon-82e9358.tar.gz +/conmon-27eb304.tar.gz +/conmon-27bb67e.tar.gz +/conmon-d0f367d.tar.gz +/conmon-63d0e3d.tar.gz +/conmon-d951a5a.tar.gz +/conmon-f12e90b.tar.gz +/conmon-50aeae4.tar.gz +/conmon-f951578.tar.gz +/conmon-2c32b99.tar.gz +/conmon-96ea3a2.tar.gz +/conmon-ab8f5e5.tar.gz +/conmon-42414b8.tar.gz +/conmon-9a1d403.tar.gz +/conmon-eff699e.tar.gz +/conmon-4fea27e.tar.gz +/conmon-3c396d4.tar.gz +/conmon-5bc12e0.tar.gz +/conmon-fe1563c.tar.gz +/conmon-5a6b2ac.tar.gz +/conmon-7ab6aa1.tar.gz +/conmon-76548e1.tar.gz +/conmon-9d61f0f.tar.gz +/conmon-6eb222d.tar.gz +/conmon-1d7b3a5.tar.gz +/conmon-668b748.tar.gz +/conmon-bc88ac5.tar.gz +/conmon-dd4fc17.tar.gz +/conmon-eb93261.tar.gz +/conmon-d213bfa.tar.gz +/conmon-59c2817.tar.gz +/conmon-162c363.tar.gz +/conmon-e5e2b93.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..cca17b0 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# conmon + +The conmon package \ No newline at end of file diff --git a/conmon.spec b/conmon.spec new file mode 100644 index 0000000..9151103 --- /dev/null +++ b/conmon.spec @@ -0,0 +1,325 @@ +%global with_debug 1 +%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 e5e2b93f68a1d06ab322c72584a31eee3ce00c70 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) +%global git0 https://%{import_path} + +# Used for comparing with latest upstream tag +# to decide whether to autobuild (non-rawhide only) +%global built_tag v2.0.20 + +Name: %{repo} +Epoch: 2 +Version: 2.0.22 +Release: 0.7.dev.git%{shortcommit0}%{?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 +BuildRequires: systemd-libs +Requires: glib2 +Requires: systemd-libs + +%description +%{summary}. + +%prep +%autosetup -Sgit -n %{name}-%{commit0} + +%build +%{__make} DEBUGTAG="enable_debug" all + +%install +%{__make} PREFIX=%{buildroot}%{_prefix} install install.crio + +#define license tag if not already defined +%{!?_licensedir:%global license %doc} + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_libexecdir}/crio/%{name} + +%changelog +* Sat Oct 10 2020 RH Container Bot - 2:2.0.22-0.7.dev.gite5e2b93 +- autobuilt e5e2b93 + +* Tue Oct 6 2020 RH Container Bot - 2:2.0.22-0.6.dev.git162c363 +- autobuilt 162c363 + +* Fri Sep 18 09:34:35 EDT 2020 Lokesh Mandvekar - 2:2.0.22-0.5.dev.git59c2817 +- build with journald support + +* Wed Sep 16 16:12:47 UTC 2020 RH Container Bot - 2:2.0.22-0.4.dev.git59c2817 +- autobuilt 59c2817 + +* Tue Sep 15 13:12:54 UTC 2020 RH Container Bot - 2:2.0.22-0.3.dev.gitd213bfa +- autobuilt d213bfa + +* Mon Sep 14 14:12:03 UTC 2020 RH Container Bot - 2:2.0.22-0.2.dev.giteb93261 +- autobuilt eb93261 + +* Tue Sep 8 22:12:10 UTC 2020 RH Container Bot - 2:2.0.22-0.1.dev.gitdd4fc17 +- bump to 2.0.22 +- autobuilt dd4fc17 + +* Tue Sep 8 21:12:42 UTC 2020 RH Container Bot - 2:2.0.21-0.11.dev.gitbc88ac5 +- autobuilt bc88ac5 + +* Thu Sep 3 14:13:45 UTC 2020 RH Container Bot - 2:2.0.21-0.10.dev.git668b748 +- autobuilt 668b748 + +* Wed Sep 02 2020 Lokesh Mandvekar - 2:2.0.21-0.9.dev.git1d7b3a5 +- Resolves: #1786090 - build with -g for debuginfo + +* Thu Aug 27 14:14:25 UTC 2020 RH Container Bot - 2:2.0.21-0.8.dev.git1d7b3a5 +- autobuilt 1d7b3a5 + +* Wed Aug 26 13:11:37 UTC 2020 RH Container Bot - 2:2.0.21-0.7.dev.git6eb222d +- autobuilt 6eb222d + +* Tue Aug 25 15:11:33 UTC 2020 RH Container Bot - 2:2.0.21-0.6.dev.git9d61f0f +- autobuilt 9d61f0f + +* Mon Aug 24 14:11:36 UTC 2020 RH Container Bot - 2:2.0.21-0.5.dev.git76548e1 +- autobuilt 76548e1 + +* Fri Aug 21 15:10:39 UTC 2020 RH Container Bot - 2:2.0.21-0.4.dev.git7ab6aa1 +- autobuilt 7ab6aa1 + +* Wed Aug 05 16:10:09 GMT 2020 RH Container Bot - 2:2.0.21-0.3.dev.git5a6b2ac +- autobuilt 5a6b2ac + +* Tue Aug 04 2020 Peter Hunt - 2:2.0.21-0.2.dev.gitfe1563c +- rebuild + +* Tue Jul 28 14:09:38 GMT 2020 RH Container Bot - 2:2.0.21-0.1.dev.gitfe1563c +- bump to 2.0.21 +- autobuilt fe1563c + +* Mon Jul 27 21:09:33 GMT 2020 RH Container Bot - 2:2.0.20-0.3.dev.git5bc12e0 +- autobuilt 5bc12e0 + +* Mon Jul 27 2020 Fedora Release Engineering - 2:2.0.20-0.2.dev.git3c396d4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 15 2020 RH Container Bot - 2:2.0.20-0.1.dev.git3c396d4 +- bump to 2.0.20 +- autobuilt 3c396d4 + +* Wed Jul 15 2020 RH Container Bot - 2:2.0.19-0.6.dev.git4fea27e +- autobuilt 4fea27e + +* Wed Jul 08 2020 RH Container Bot - 2:2.0.19-0.5.dev.giteff699e +- autobuilt eff699e + +* Mon Jun 29 2020 RH Container Bot - 2:2.0.19-0.4.dev.git9a1d403 +- autobuilt 9a1d403 + +* Mon Jun 22 2020 RH Container Bot - 2:2.0.19-0.3.dev.git42414b8 +- autobuilt 42414b8 + +* Wed Jun 17 2020 RH Container Bot - 2:2.0.19-0.2.dev.gitab8f5e5 +- autobuilt ab8f5e5 + +* Mon Jun 15 2020 RH Container Bot - 2:2.0.19-0.1.dev.git96ea3a2 +- bump to 2.0.19 +- autobuilt 96ea3a2 + +* Wed Jun 10 2020 RH Container Bot - 2:2.0.18-0.8.dev.git2c32b99 +- autobuilt 2c32b99 + +* Mon Jun 08 2020 RH Container Bot - 2:2.0.18-0.7.dev.gitf951578 +- autobuilt f951578 + +* Wed Jun 03 2020 RH Container Bot - 2:2.0.18-0.6.dev.git50aeae4 +- autobuilt 50aeae4 + +* Wed Jun 03 2020 RH Container Bot - 2:2.0.18-0.5.dev.gitf12e90b +- autobuilt f12e90b + +* Tue Jun 02 2020 RH Container Bot - 2:2.0.18-0.4.dev.gitd951a5a +- autobuilt d951a5a + +* Mon Jun 01 2020 RH Container Bot - 2:2.0.18-0.3.dev.git63d0e3d +- autobuilt 63d0e3d + +* Wed May 27 2020 RH Container Bot - 2:2.0.18-0.2.dev.gitd0f367d +- autobuilt d0f367d + +* Tue May 26 2020 RH Container Bot - 2:2.0.18-0.1.dev.git27bb67e +- bump to 2.0.18 +- autobuilt 27bb67e + +* Tue May 26 2020 RH Container Bot - 2:2.0.17-0.3.dev.git27eb304 +- autobuilt 27eb304 + +* Mon May 25 2020 Lokesh Mandvekar - 2:2.0.17-0.2.dev.git82e9358 +- depend on glib2 + +* Tue May 12 2020 RH Container Bot - 2:2.0.17-0.1.dev.git82e9358 +- bump to 2.0.17 +- autobuilt 82e9358 + +* Tue May 12 2020 RH Container Bot - 2:2.0.16-0.4.dev.gitedd4aaa +- autobuilt edd4aaa + +* Tue May 12 2020 RH Container Bot - 2:2.0.16-0.3.dev.git6fa9c2a +- autobuilt 6fa9c2a + +* Mon May 11 2020 RH Container Bot - 2:2.0.16-0.2.dev.git42cb289 +- autobuilt 42cb289 + +* Thu Apr 02 2020 RH Container Bot - 2:2.0.16-0.1.dev.gite34c6d6 +- bump to 2.0.16 +- autobuilt e34c6d6 + +* Wed Apr 01 2020 RH Container Bot - 2:2.0.15-0.6.dev.gitb763fdd +- autobuilt b763fdd + +* Tue Mar 31 2020 RH Container Bot - 2:2.0.15-0.5.dev.git9c9b3e7 +- autobuilt 9c9b3e7 + +* Mon Mar 30 2020 RH Container Bot - 2:2.0.15-0.4.dev.git3ea6c68 +- autobuilt 3ea6c68 + +* Wed Mar 25 2020 RH Container Bot - 2:2.0.15-0.3.dev.git89b2478 +- autobuilt 89b2478 + +* Mon Mar 23 2020 RH Container Bot - 2:2.0.15-0.2.dev.gitff29dd6 +- autobuilt ff29dd6 + +* Fri Mar 20 2020 RH Container Bot - 2:2.0.15-0.1.dev.gitb97c274 +- bump to 2.0.15 +- autobuilt b97c274 + +* Fri Mar 20 2020 RH Container Bot - 2:2.0.14-0.2.dev.git1b53637 +- autobuilt 1b53637 + +* Tue Mar 17 2020 RH Container Bot - 2:2.0.14-0.1.dev.git849ab62 +- bump to 2.0.14 +- autobuilt 849ab62 + +* Mon Mar 16 2020 RH Container Bot - 2:2.0.12-0.1.dev.git51c0e7b +- bump to 2.0.12 +- autobuilt 51c0e7b + +* Tue Feb 11 2020 RH Container Bot - 2:2.0.11-0.6.dev.git86aa80b +- autobuilt 86aa80b + +* Tue Jan 28 2020 Fedora Release Engineering - 2:2.0.11-0.5.dev.git77f4a51 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jan 15 2020 RH Container Bot - 2:2.0.11-0.4.dev.git77f4a51 +- autobuilt 77f4a51 + +* Tue Jan 14 2020 RH Container Bot - 2:2.0.11-0.3.dev.gitccfdbb6 +- autobuilt ccfdbb6 + +* Sat Jan 11 2020 RH Container Bot - 2:2.0.11-0.2.dev.git5039b44 +- autobuilt 5039b44 + +* Wed Jan 08 2020 RH Container Bot - 2:2.0.11-0.1.dev.gitad05887 +- bump to 2.0.11 +- autobuilt ad05887 + +* Tue Jan 07 2020 RH Container Bot - 2:2.0.10-0.3.dev.git26f6817 +- autobuilt 26f6817 + +* Tue Jan 07 2020 RH Container Bot - 2:2.0.10-0.2.dev.git6e39a83 +- autobuilt 6e39a83 + +* Mon Jan 06 2020 RH Container Bot - 2:2.0.10-0.1.dev.gitb7bfc7b +- bump to 2.0.10 +- autobuilt b7bfc7b + +* Mon Jan 06 2020 RH Container Bot - 2:2.0.9-0.3.dev.git1560392 +- autobuilt 1560392 + +* Fri Dec 20 2019 RH Container Bot - 2:2.0.9-0.2.dev.gitb17d81b +- autobuilt b17d81b + +* Fri Dec 13 2019 RH Container Bot - 2:2.0.9-0.1.dev.gitc2e2e67 +- bump to 2.0.9 +- autobuilt c2e2e67 + +* Fri Dec 13 2019 RH Container Bot - 2:2.0.8-0.2.dev.gitc8f7443 +- autobuilt c8f7443 + +* Thu Dec 12 2019 RH Container Bot - 2:2.0.8-0.1.dev.git036ff29 +- bump to 2.0.8 +- autobuilt 036ff29 + +* Thu Dec 12 2019 RH Container Bot - 2:2.0.7-0.3.dev.git4100fb2 +- autobuilt 4100fb2 + +* Thu Dec 12 2019 RH Container Bot - 2:2.0.7-0.2.dev.git95ed45a +- autobuilt 95ed45a + +* Wed Dec 11 2019 RH Container Bot - 2:2.0.7-0.1.dev.git8ba9575 +- bump to 2.0.7 +- autobuilt 8ba9575 + +* Wed Dec 11 2019 RH Container Bot - 2:2.0.6-0.2.dev.gitba14d9c +- autobuilt ba14d9c + +* Tue Dec 10 2019 RH Container Bot - 2:2.0.6-0.1.dev.gitbc9e976 +- bump to 2.0.6 +- autobuilt bc9e976 + +* Tue Dec 10 2019 RH Container Bot - 2:2.0.5-0.2.dev.gitc792503 +- autobuilt c792503 + +* Mon Dec 09 2019 RH Container Bot - 2:2.0.5-0.1.dev.gitfd5ac47 +- bump to 2.0.5 +- autobuilt fd5ac47 + +* Mon Dec 02 2019 RH Container Bot - 2:2.0.4-0.3.dev.gitdf8c6aa +- autobuilt df8c6aa + +* Fri Nov 29 2019 RH Container Bot - 2:2.0.4-0.2.dev.git42bce45 +- autobuilt 42bce45 + +* Mon Nov 11 2019 RH Container Bot - 2:2.0.4-0.1.dev.gitf6d23b5 +- bump to 2.0.4 +- autobuilt f6d23b5 + +* Mon Nov 11 2019 RH Container Bot - 2:2.0.3-0.3.dev.git098fcce +- autobuilt 098fcce + +* Thu Nov 07 2019 RH Container Bot - 2:2.0.3-0.2.dev.git002da25 +- autobuilt 002da25 + +* Mon Oct 21 2019 Lokesh Mandvekar - 2:2.0.3-0.1.dev.gitbc758d8 +- built commit bc758d8 + +* Wed Sep 25 2019 Lokesh Mandvekar - 2:2.0.2-0.1.dev.git422ce21 +- build latest upstream master + +* Tue Sep 10 2019 Lokesh Mandvekar - 2:2.0.0-2 +- remove BR: go-md2man since no manpages yet + +* Tue Sep 10 2019 Lokesh Mandvekar - 2:2.0.0-1 +- bump to v2.0.0 + +* Fri May 31 2019 Lokesh Mandvekar - 2:0.2.0-1 +- initial package diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..c8a218f --- /dev/null +++ b/gating.yaml @@ -0,0 +1,14 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_testing +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/sources b/sources new file mode 100644 index 0000000..2ce2363 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (conmon-e5e2b93.tar.gz) = 1a50b29a7cd1892bad84f35e97a61bb83ca803ada19f3ce610632078c20fde564b7813c9f32552a48f70f98ca6c10c16bed3a6826de2a6427418a2811110d4cb diff --git a/tests/test_podman.sh b/tests/test_podman.sh new file mode 100755 index 0000000..75bcc53 --- /dev/null +++ b/tests/test_podman.sh @@ -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 diff --git a/tests/test_podman.yml b/tests/test_podman.yml new file mode 100644 index 0000000..afd80c6 --- /dev/null +++ b/tests/test_podman.yml @@ -0,0 +1,23 @@ +--- +- 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: 15m + - 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: 15m diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..80caee7 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1 @@ +- import_playbook: test_podman.yml