Accepting request 487525 from Virtualization:containers

1

OBS-URL: https://build.opensuse.org/request/show/487525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/umoci?expand=0&rev=3
This commit is contained in:
Yuchen Lin 2017-04-13 08:45:27 +00:00 committed by Git OBS Bridge
commit 861b35b681
7 changed files with 146 additions and 27 deletions

View File

@ -1,15 +1,15 @@
<services> <services>
<service name="tar_scm" mode="disabled"> <service name="download_url" mode="disabled">
<param name="url">https://github.com/openSUSE/umoci</param> <param name="protocol">https</param>
<param name="scm">git</param> <param name="host">github.com</param>
<param name="filename">umoci</param> <param name="path">openSUSE/umoci/releases/download/v0.2.1/umoci.tar.xz</param>
<param name="versionformat">0.1.0</param> <param name="filename">umoci-0.2.1.tar.xz</param>
<param name="revision">v0.1.0</param>
<param name="exclude">.git</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="download_url" mode="disabled">
<param name="file">*.tar</param> <param name="protocol">https</param>
<param name="compression">xz</param> <param name="host">github.com</param>
<param name="path">openSUSE/umoci/releases/download/v0.2.1/umoci.tar.xz.asc</param>
<param name="filename">umoci-0.2.1.tar.xz.asc</param>
</service> </service>
<service name="set_version" mode="disabled"> <service name="set_version" mode="disabled">
<param name="basename">umoci</param> <param name="basename">umoci</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e2f39727cc86d665b7f9491e69dfb9e3422a3ed50dee8321afccbfd2ea3f2939
size 232575

3
umoci-0.2.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e911839d1650a8ce987ef9f4c6936801ac6bf8ca271430122bca775756e506c
size 171776

16
umoci-0.2.1.tar.xz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEXzbGxhtUYBJKdfWmnhiqJn3bjbQFAljtcHgACgkQnhiqJn3b
jbSKDBAAsX0KhAn3X29TKB5VJemgxI7Wf4/DBm7yWBvY+Mco+/u62NG8uZi5ZL/F
9bGys+scPaWjIKiLDLA5YLNRE/+jvOwUnNvg1BoQSj5iL85vCC83+l5P9ZIB5Tc5
hc7OCrENiL/tJ2nHzgvNOkrGuUEKhO1L2GqGZvQFkrrRNWsojnX/ki46Am0hhMcx
31+I5YofXz0LcokNuj1VnFNS9dGgSYeGMUSDThQ9iBLN20TwVWHBRTkX4SYo7IGC
2I5NSmcv0dLJW3Z4Kug/12MsRZhbwPgXS40dXoTWjdJZyhYzn30Ai288K2fZOP4y
hsKrdck+VYml0kuqkWzCEz6/TF0OH2uRdvGbGU+r2/s5sEuRaL/NiJyzBUZeFb48
PG1/BFcmHI0K84AswQIVbsuNBw+1jLSw4ahkdQkvD0Rh/4MhFkTgFGXvVhSK+tP0
xKzDaFH4OnbvH/9jEAVxFn7sSKFJQTOgjPxRokMqSGjLqtu0w6hZEjZQhGRE6sd9
VEhdsdG94ypyGDMLVLKLvIJIAeDQsgPOXYCKAFkx7PI2T/bxIhgw4jCYf5N8wwAF
kCydgoxl8MmWrjJgfqoD3xb3QQjLPTs4OIDR606rsMlji0d6vB4DylzBqC9iWS6P
1k9qDqC1r014JpkhVR6vjodK2SQ4S5LaF4Nsye1hL3Sd51d/HCo=
=BPwR
-----END PGP SIGNATURE-----

View File

@ -1,24 +1,56 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 21 20:49:19 UTC 2017 - containers-bugowner@suse.de Wed Apr 12 01:05:12 UTC 2017 - asarai@suse.com
- merge branch 'pr-103' - Update to umoci v0.2.1. Upstream changelog:
- makefile: switch go-build to use full project name * `hack/release.sh` automates the process of generating all of the published
- contrib: pkg: fix make_spec version artefacts for releases. The new script also generates signed source code
archives. openSUSE/umoci#116
* `umoci` now outputs configurations that are compliant with [`v1.0.0-rc5` of
the OCI runtime-spec][rspec-v1.0.0-rc5]. This means that now you can use runc
v1.0.0-rc3 with `umoci` (and rootless containers should work out of the box
if you use a development build of runc). openSUSE/umoci#114
* `umoci unpack` no longer adds a dummy linux.seccomp entry, and instead just
sets it to null. openSUSE/umoci#114
[rspec-v1.0.0-rc5]: https://github.com/opencontainers/runtime-spec/releases/tag/v1.0.0-rc5
- Add umoci.keyring to check signed archives on check-in and submission.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 21 10:43:53 UTC 2017 - containers-bugowner@suse.de Mon Apr 10 14:49:35 UTC 2017 - asarai@suse.com
- merge branch 'pr-102' - Update to umoci v0.2.0. Upstream changelog:
- packaging: move to contrib/pkg * `umoci` now has some automated scripts for generated RPMs that are used in
openSUSE to automatically submit packages to OBS. openSUSE/umoci#101
* `--clear=config.{cmd,entrypoint}` is now supported. While this interface is a
bit weird (`cmd` and `entrypoint` aren't treated atomically) this makes the
UX more consistent while we come up with a better `cmd` and `entrypoint` UX.
openSUSE/umoci#107
------------------------------------------------------------------- * New subcommand: `umoci raw runtime-config`. It generates the runtime-spec
Tue Mar 21 09:16:12 UTC 2017 - containers-bugowner@suse.de config.json for a particular image without also unpacking the root
filesystem, allowing for users of `umoci` that are regularly parsing
`config.json` without caring about the root filesystem to be more efficient.
However, a downside of this approach is that some image-spec fields
(`Config.User`) require a root filesystem in order to make sense, which is
why this command is hidden under the `umoci-raw(1)` subcommand (to make sure
only users that understand what they're doing use it). openSUSE/umoci#110
- merge branch 'pr-101' * `umoci`'s `oci/cas` and `oci/config` libraries have been massively refactored
- packaging: add packaging helper to automate submissions to obs and rewritten, to allow for third-parties to use the OCI libraries. The plan
is for these to eventually become part of an OCI project. openSUSE/umoci#90
* The `oci/cas` interface has been modifed to switch from `*ispec.Descriptor`
to `ispec.Descriptor`. This is a breaking, but fairly insignificant, change.
openSUSE/umoci#89
* `umoci` now uses an updated version of `go-mtree`, which has a complete
rewrite of `Vis` and `Unvis`. The rewrite ensures that unicode handling is
handled in a far more consistent and sane way. openSUSE/umoci#88
* `umoci` used to set `process.user.additionalGids` to the "normal value" when
unpacking an image in rootless mode, causing issues when trying to actually
run said bundle with runC. openSUSE/umoci#109
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 10 18:03:27 UTC 2017 - asarai@suse.com Fri Feb 10 18:03:27 UTC 2017 - asarai@suse.com

69
umoci.keyring Normal file
View File

@ -0,0 +1,69 @@
pub rsa4096 2016-06-21 [SC] [expires: 2031-06-18]
5F36C6C61B5460124A75F5A69E18AA267DDB8DB4
uid [ultimate] Aleksa Sarai <asarai@suse.com>
uid [ultimate] Aleksa Sarai <asarai@suse.de>
sub rsa4096 2016-06-21 [E] [expires: 2031-06-18]
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFdpGN0BEADMEmLpnUel7OI2SM8f88i7w0iRgJd4kOvF1z673+zWCgaw9QW8
ha7wAm/+3isas9IqlvGx61i6hbO7TFwcYi472VHhs4HP8jMtWytHHkjc3O9xlMc0
CfekjIpoR1CffYtCvkLr8/f74jHNRfqsmZ1Oxa9GjbhgDnbw4Baztp6WctzMXyOJ
j5bJuSfQTcgFbIeQ27zx7gNjbnHyEP5TEm1/CeoWpGPpZLJPiKHdI/TBCyFexHJ0
IlabKc4DC43RZyh0Btuf+FiX9K2NkoCC7l5nQdde8B6YG7SA6xEhwhQ73bSs7A56
rlZxfIFmLCB/81FyXk5eH0Eu9Lbwj69YQ81EdkLnLAyP3ZB+MRGuiWVD88Jr1He2
25m3dxTVzaP0TAV4LqdbuqTwr2wagu9MZQ5XXDiaEuiPwTrO10xlmivOjRaWxoWA
E0I3fOdrzqfg9XK6g1pG23v2WhHFIejqVCXrf5oPcCd62lGeh0ghEdNN89ikXbka
1PJRiWI3uDQ6STSKa+6uC5eUM7tK/ymqS8JYSQf4d3eIaC2H403psPt5kbq1bHdx
nRPX2eh/t1QzR1dhPxzai4CzLERIYJ9iD4nGiSscwy0P44AgyeuywSg4qXzr9Sfe
igOj+6lfJb3iZRN3dKLTRAKWvo7yfdi/UOycodlaQyW8v0yXAx7Yh1NgJQARAQAB
tB1BbGVrc2EgU2FyYWkgPGFzYXJhaUBzdXNlLmRlPokCPQQTAQgAJwUC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r64
gtRnnKXTimXkczEMU9eDSTgQoaebdPnWEnzoStS5ln03zH+CNTQF9qjcpYBrJ2mZ
wnxO9OP/45KQL4hPAi2+hGkq2yjuIzeCkFJabAc7sF6lwJqH82XtiIIR+AGTM8QC
Eno0eqAytg8YawARAQABiQIlBBgBCAAPBQJXaRjdAhsMBQkcMgSAAAoJEJ4YqiZ9
2420AuIP/1PYZDKFLv//+iY6Z9xGz4zHL+9nWND/Kll3xHeuWjYGZ2nmcovSnEW4
0eiMn1c6KMgs/CCR4+9bm7MdgaF73pjM4xzHBIBetLLkcKQIrniX2Fq+WgscJfFx
+0ha7Xb2TTpSy8PRiYHowVUaMPwyqSsAUwrSenLuwyiKr+EW4Wzo+YM2w9a86yw1
GfWuiyk0Z4sGoPoPEjmD4y6Xlf8kIfuZeb+joHd6W1nMf7cxDkNLQqX6sWvs62Tv
Lsx2jApPKD2PyTyyxItJKc6NXFVM+Uww323ZYVWMkz+VKalHRiv6xzGqArhpAIH6
fn+1WjjqkrrLU4I7smjlulZCy/NZLOKqQYaqM+7BgC2mOPMb5CM99cg4SrK86dFr
3Cf22+OTmC6/Wb5Gu4PzTzkYIJDnt3BJQYjJlp4zyOHluN6notrWagLIB06oX+jQ
pxGySHW++Cha/JCUb0mfeHIJKvRor3v7YaSJoFIo//rz6XJ9WVZfsKnOte/3s9m7
qkEvLArbe2o7pUJ2mxZZw/nAk/Y39FYAMvgMA9f+uv18O7u+ojYjS6DlrmNuIEg/
mp8FqVxVNdIS2capSF4+eOn3a4kcF0018xbTLA2AwQ2o9eF5G9qTdSVrN865VPCd
KWr9ByCKAwVHsaSgVSJE/dse4f1toqeEHHbWk682U4RqOWZR4bA0
=3/jE
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -27,13 +27,15 @@
%define project github.com/openSUSE/umoci %define project github.com/openSUSE/umoci
Name: umoci Name: umoci
Version: 0.1.0+20170321.ef7aa39 Version: 0.2.1
Release: 0 Release: 0
Summary: Open Container Image manipulation tool Summary: Open Container Image manipulation tool
License: Apache-2.0 License: Apache-2.0
Group: System/Management Group: System/Management
Url: https://github.com/openSUSE/umoci Url: https://github.com/openSUSE/umoci
Source: master.tar.gz Source0: %{name}-%{version}.tar.xz
Source1: %{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
%ifarch %{go_arches} %ifarch %{go_arches}
BuildRequires: go >= 1.6 BuildRequires: go >= 1.6
BuildRequires: go-go-md2man BuildRequires: go-go-md2man
@ -53,7 +55,7 @@ umoci is a manipulation tool for OCI images. In particular, it is an
alternative to oci-image-tools provided by the OCI. alternative to oci-image-tools provided by the OCI.
%prep %prep
%setup -q -n umoci-master %setup -q
%build %build