From e53524d6b5182ab7f1bd405bc65a70d03515e986 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Nov 07 2017 16:57:20 +0000 Subject: Container-storage Add prune for containers-storage Atomic integration with kpod images and kpod ps Atomic/backends/_containers_storage.py: Enable tagging Atomic/backends/_containers_storage.py: Ensure size is reported correctly Atomic/backends/_containers_storage.py: backend functions for containers Pull image to containers-storage Delete: Add ability to delete images from container-storage SYSCONTAINERS prune: drop dangling checkouts uninstall: force a daemon-reload after rm'ing the service fil Add code documentation Give user info when run can not find the image add support for run change ostree prune flag to PRUNE_FLAGS_REFS_ONLY do not fail uninstall if uninstalling rpm fails introduce ALL_PROCESS_CAPABILITIES use Skopeo copy to pull images use docker.digest as image digest when present use repo under /var if on a different fs than /ostree/repo General Add verification options to dbus Create a mountpoint directory with overlay storage driver Implement stop for a container. docker: support credentials for accessing the source registry docs: document system container variables and files ostree: Skopeo pull supports insecure images again tests/storage: check for grep failure util.py: add function for retrieving the known proc capabilities util: skopeo_copy supports src_creds Atomic/scan.py: Add ability to remediate --- diff --git a/.gitignore b/.gitignore index 2ba4c9a..d3f4b89 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,4 @@ /90bb2a02f4a7f9ebccd9841a0e161e33f4b60a08.tar.gz /1d53173d127c1edac3e32cb40151e3bacdfa61d2.tar.gz /4c557b47a3abd7d637f5674febfd6589877c85cd.tar.gz +/840732d9b858ca998a3e61d3821ecbd260895a84.tar.gz diff --git a/atomic.spec b/atomic.spec index 8d456d5..7b4334c 100644 --- a/atomic.spec +++ b/atomic.spec @@ -11,7 +11,7 @@ %global __python %{__python3} %endif -%global commit 90bb2a02f4a7f9ebccd9841a0e161e33f4b60a08 +%global commit 840732d9b858ca998a3e61d3821ecbd260895a84 %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Registries package @@ -21,8 +21,8 @@ Name: atomic -Version: 1.19.1 -Release: 6%{?dist} +Version: 1.20.1 +Release: 1%{?dist} Summary: Tool for managing ProjectAtomic systems and containers License: LGPLv2+ URL: https://github.com/projectatomic/atomic @@ -46,7 +46,11 @@ BuildRequires: go-srpm-macros BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} BuildRequires: %{pypkg}-dateutil BuildRequires: %{pypkg}-dbus +%if 0%{?fedora} >= 26 BuildRequires: %{pypkg}-docker +%else +BuildRequires: %{pypkg}-docker-py +%endif BuildRequires: rpm-%{pypkg} %if (0%{?rhel} != 0 && 0%{?rhel} <= 7) BuildRequires: pygobject3-base @@ -76,7 +80,11 @@ Requires: rpm-%{pypkg} # https://github.com/projectatomic/atomic/pull/180 Requires: %{pypkg}-dateutil Requires: %{pypkg}-dbus +%if 0%{?fedora} >= 26 Requires: %{pypkg}-docker >= 1.7.2 +%else +Requires: %{pypkg}-docker-py +%endif Requires: %{pypkg}-requests >= 2.4.3 Requires: %{pypkg}-setuptools Requires: %{pypkg}-websocket-client >= 0.11.0 @@ -176,7 +184,6 @@ install -p -m 644 registries.fedora %{buildroot}%{_sysconfdir}/containers/regist %else install -p -m 644 registries.conf %{buildroot}%{_sysconfdir}/containers/ %endif - install -d %{buildroot}%{_unitdir} install -p -m 644 registries.service %{buildroot}%{_unitdir} install -p docs/registries.1.md %{buildroot}%{_mandir}/man1/ @@ -211,6 +218,39 @@ popd %{pysitelib}/registries-*.egg-info %changelog +* Tue Nov 7 2017 dwalsh - 1.20.1-1 +- Container-storage +- Add prune for containers-storage +- Atomic integration with kpod images and kpod ps +- Atomic/backends/_containers_storage.py: Enable tagging +- Atomic/backends/_containers_storage.py: Ensure size is reported correctly +- Atomic/backends/_containers_storage.py: backend functions for containers +- Pull image to containers-storage +- Delete: Add ability to delete images from container-storage +- SYSCONTAINERS +- prune: drop dangling checkouts +- uninstall: force a daemon-reload after rm'ing the service fil +- Add code documentation +- Give user info when run can not find the image +- add support for run +- change ostree prune flag to PRUNE_FLAGS_REFS_ONLY +- do not fail uninstall if uninstalling rpm fails +- introduce ALL_PROCESS_CAPABILITIES +- use Skopeo copy to pull images +- use docker.digest as image digest when present +- use repo under /var if on a different fs than /ostree/repo +General +- Add verification options to dbus +- Create a mountpoint directory with overlay storage driver +- Implement stop for a container. +- docker: support credentials for accessing the source registry +- docs: document system container variables and files +- ostree: Skopeo pull supports insecure images again +- tests/storage: check for grep failure +- util.py: add function for retrieving the known proc capabilities +- util: skopeo_copy supports src_creds +- Atomic/scan.py: Add ability to remediate + * Fri Nov 03 2017 baude - 1.19.1-6 - Convert base configuration files to TOML @@ -229,8 +269,16 @@ popd * Wed Aug 23 2017 Brent Baude - 1.19.1-1 - Release new version 1.19.1 -* Mon Jun 19 2017 bbaude - 1.18.1-5 -- Add fix_syscontainer_prefix.patch for F26 only, fixes BZ# 1461994 +* Wed Aug 02 2017 Fedora Release Engineering - 1.18.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.18.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Jul 13 2017 baude - 1.18.1-5 +- bump version +- ContainersStorage backend +- ostree virtual sizes * Tue Jun 06 2017 bbaude - 1.18.1-4 - Add registry.access.redhat.com to configuration file diff --git a/sources b/sources index 950f8b9..01a45eb 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ +SHA512 (840732d9b858ca998a3e61d3821ecbd260895a84.tar.gz) = 1fb0293e5fb8773fcfca3453164e37a4bb2cdc14644c94a035dd5d8f0bb6d82b6fe16e16795e46dcb0784efeab255f6aa6bbacb440e5a8dc6907df23e65cde04 SHA512 (4c557b47a3abd7d637f5674febfd6589877c85cd.tar.gz) = 3153f98d69bf53583eb3da4598aa95edd7dd3dcc5e5dc3d9bd747f16994bcd762611a06098f7421a842e4ce5a93c07d909a207e912e77d57cf11ef4259a317a9 -SHA512 (90bb2a02f4a7f9ebccd9841a0e161e33f4b60a08.tar.gz) = f3750174b132464ec87fa98ad6ba7d2384547d686aa7e8e174936005531086b37a5fe14845e1a465ef96727718cb23823d2ca1a1f6f0efa3a618ddc064973eea