Commit Graph

336 Commits

Author SHA256 Message Date
Aleksa Sarai
5038fcde2b Accepting request 484060 from home:jordimassaguerpla:branch:V:c:docker:fix_seccomp
- Disable libseccomp for leap 42.1, sle12sp1 and sle12, because
  docker needs a higher version. Otherwise, we get the error
    "conditional filtering requires libseccomp version >= 2.2.1
  (bsc#1028639 and bsc#1028638)

OBS-URL: https://build.opensuse.org/request/show/484060
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=175
2017-03-31 11:32:13 +00:00
Dominique Leuenberger
b61db04550 Accepting request 480841 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/480841
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=52
2017-03-22 22:18:14 +00:00
Jordi Massaguer
757ddedc74 Accepting request 480819 from home:cyphar:containers
- Add a backport of fix to AppArmor lazy loading docker-exec case.
  https://github.com/docker/docker/pull/31773
  + pr31773-daemon-also-ensureDefaultApparmorProfile-in-exec-pat.patch

OBS-URL: https://build.opensuse.org/request/show/480819
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=173
2017-03-17 13:18:51 +00:00
Jordi Massaguer
9c1f006520 Accepting request 477670 from home:cyphar:containers
This massively cleans up the docker mount secrets patch we have to use the new
Docker Swarm framework for /run/secrets (which doesn't require swarm mode with
these patches).

OBS-URL: https://build.opensuse.org/request/show/477670
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=172
2017-03-08 09:03:15 +00:00
Aleksa Sarai
f0d9c665f7 Accepting request 477346 from home:jordimassaguerpla:branch:V:c:docker:small_fixes_1_13_0
- fix docker-mount-secrets.patch to apply to docker-1.13.0 

- Remove old plugins.json to prevent docker-1.13 to fail to start 

- Fix bsc#1026827: systemd TasksMax default throttles docker  

- Fix post section by adding shadow as a package requirement
  Otherwise the groupadd instruction fails

OBS-URL: https://build.opensuse.org/request/show/477346
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=171
2017-03-07 10:40:30 +00:00
Jordi Massaguer
bfed92d82d Accepting request 476967 from home:cyphar:containers
- Add patch to fix TestDaemonCommand failure in %check. This is an upstream
  bug, and has an upstream PR to fix it https://github.com/docker/docker/pull/31549.
  + pr31549-cmd-docker-fix-TestDaemonCommand.patch

OBS-URL: https://build.opensuse.org/request/show/476967
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=170
2017-03-06 09:15:37 +00:00
Aleksa Sarai
d94576af79 Accepting request 461899 from home:jordimassaguerpla:branch:Vc:update_docker_1_13
- update docker to 1.13.0
  see details in https://github.com/docker/docker/releases/tag/v1.13.0 
- use the same buildflags for building docker and for building the
  tests.
- enable pkcs11:
  37fa75b344

OBS-URL: https://build.opensuse.org/request/show/461899
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=169
2017-03-05 03:07:44 +00:00
Dominique Leuenberger
9b65e9a53d Accepting request 453400 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/453400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=51
2017-01-31 11:46:50 +00:00
Jordi Massaguer
e41683b0fb Accepting request 453067 from openSUSE:Factory:zSystems
please remove that artificial excludearch s390x for opensuse

OBS-URL: https://build.opensuse.org/request/show/453067
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=167
2017-01-30 09:45:07 +00:00
Aleksa Sarai
e29a1fcaf0 Accepting request 452786 from home:jordimassaguerpla:branch:Vc:fix_runtime_docker
- provide the oci runtime so that containers which were using an old
  runtime option, when started on the new docker version, the runtime
  is changed to the new one. fix bsc#1020806 bsc#1016992

OBS-URL: https://build.opensuse.org/request/show/452786
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=166
2017-01-27 16:27:14 +00:00
Dominique Leuenberger
bd69b413f2 Accepting request 450492 from Virtualization:containers
** This should go together with https://build.opensuse.org/project/show/openSUSE:Factory:Staging:adi:160" **

- fix CVE-2016-9962 bsc#1012568 . Fix it by updating to 1.12.6
  plus an extra commit to fix liverestore:
  97cd32a6a9 

- add "a wait" when starting docker service to fix
  bsc#1019251

OBS-URL: https://build.opensuse.org/request/show/450492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=50
2017-01-23 10:36:23 +00:00
Aleksa Sarai
9dd652a377 Accepting request 450174 from home:jordimassaguerpla:branch:Vc:update_docker_1_12_6
OBS-URL: https://build.opensuse.org/request/show/450174
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=164
2017-01-13 17:01:50 +00:00
Aleksa Sarai
82acbf96ef Accepting request 449885 from home:jordimassaguerpla:branch:Vc:add_wait_on_service_startup
- add "a wait" when starting docker service to fix
  bsc#1019251

OBS-URL: https://build.opensuse.org/request/show/449885
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=163
2017-01-13 13:05:35 +00:00
Dominique Leuenberger
472f65fb18 Accepting request 447306 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/447306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=49
2017-01-10 09:43:25 +00:00
Aleksa Sarai
d7c5e8e7f3 Accepting request 447283 from home:jordimassaguerpla:branch:V:c:fix_ppc64le
- remove netlink_gcc_go.patch after integration of PR
  https://github.com/golang/go/issues/11707
- new boltdb_bolt_add_brokenUnaligned.patch for ppc64
  waiting for https://github.com/boltdb/bolt/pull/635

OBS-URL: https://build.opensuse.org/request/show/447283
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=161
2016-12-21 14:28:32 +00:00
Jordi Massaguer
be6bb16dbb fix exec start in systemd. In the previous commit we removed the containerd option by mistake
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=160
2016-12-21 10:40:12 +00:00
Jordi Massaguer
e7c95c3802 Accepting request 447279 from home:cyphar:containers
Remove socket activation from Docker, to match upstream.

OBS-URL: https://build.opensuse.org/request/show/447279
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=159
2016-12-21 09:44:20 +00:00
Aleksa Sarai
3d7280619a OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=158 2016-12-19 14:01:37 +00:00
Dominique Leuenberger
96520b1ecb Accepting request 445286 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/445286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=48
2016-12-12 11:47:11 +00:00
Aleksa Sarai
2033d2ac73 Accepting request 443923 from home:jordimassaguerpla:branch:vc:docker:fix_completin
- fix bash-completion

OBS-URL: https://build.opensuse.org/request/show/443923
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=156
2016-12-11 04:45:46 +00:00
Dominique Leuenberger
e5745de5ad Accepting request 442805 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/442805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=47
2016-12-02 15:42:09 +00:00
Jordi Massaguer
226e269bd5 Accepting request 442751 from home:boombatower:branches:Virtualization:containers
Add packageand(docker:bash) to bash-completion to match zsh-completion.

OBS-URL: https://build.opensuse.org/request/show/442751
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=154
2016-11-30 09:52:14 +00:00
Dominique Leuenberger
cded7ca0e9 Accepting request 441892 from Virtualization:containers
this should go here
https://build.opensuse.org/project/show/openSUSE:Factory:Staging:adi:117

OBS-URL: https://build.opensuse.org/request/show/441892
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=46
2016-11-29 11:48:47 +00:00
Jordi Massaguer
93c5e4c56c - fix runc and containerd revisions
fix bsc#1009961

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=152
2016-11-24 16:09:34 +00:00
Dominique Leuenberger
d91d32cb0d Accepting request 437554 from Virtualization:containers
- update docker to 1.12.3
 - fix bsc#1007249 - CVE-2016-8867: Fix ambient capability usage in containers
 - other fixes:
   https://github.com/docker/docker/releases/tag/v1.12.3

- Fix go version to 1.5 (bsc#977394)

OBS-URL: https://build.opensuse.org/request/show/437554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=45
2016-10-31 08:56:29 +00:00
Jordi Massaguer
68dcb35da6 - update docker to 1.12.3
- fix bsc#1007249 - CVE-2016-8867: Fix ambient capability usage in containers
 - other fixes:
   https://github.com/docker/docker/releases/tag/v1.12.3

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=150
2016-10-27 11:36:02 +00:00
Jordi Massaguer
f6cba4501a add changelog entry which was removed:
Fix go version to 1.5 (bsc#977394)

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=149
2016-10-26 15:19:09 +00:00
Dominique Leuenberger
453a984281 Accepting request 437085 from Virtualization:containers
update to docker-1.12.2

OBS-URL: https://build.opensuse.org/request/show/437085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=44
2016-10-26 11:29:13 +00:00
Jordi Massaguer
c8a522d920 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=148 2016-10-24 10:56:09 +00:00
Dominique Leuenberger
7f561cc682 Accepting request 434286 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/434286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=43
2016-10-13 09:31:39 +00:00
Miquel Sabate Sola
96b81887ce Accepting request 434284 from home:cyphar:branches:Virtualization:containers
This just fixes the docker-mount-secrets.patch to assist in bsc#999582.

OBS-URL: https://build.opensuse.org/request/show/434284
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=146
2016-10-11 10:30:52 +00:00
Dominique Leuenberger
3a114d5adb Accepting request 428793 from Virtualization:containers
- fix go_arches definition: use global instead of define, otherwise
  it fails to build 

- Add dockerd(8) man page.

- add missing patch to changelog

- fix integration test case
- add integration-cli-fix-TestInfoEnsureSucceeds.patch

- update rpmlintrc

- make test timeout configurable

- Remove noarch from docker-test, which was causing lots of fun issues when
  trying to run them.

- Fix build for ppc64le: use static libgo for dockerd and docker-proxy
  as in docker build.

- Update docker to 1.12.1 (bsc#996015)
  see changelog in https://github.com/docker/docker/releases/tag/v1.12.1

- Add asaurin@suse.com's test.sh test script.
- Add integration test binary in docker.spec file. This is work done by
  asaurin@suse.com.

- Package docker-proxy (which was split out of the docker binary in 1.12).
  boo#995620

OBS-URL: https://build.opensuse.org/request/show/428793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=42
2016-09-21 16:49:51 +00:00
Jordi Massaguer
41d1413338 fix docker version in spec file
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=144
2016-09-19 18:21:15 +00:00
Aleksa Sarai
1013eed0ae Accepting request 428673 from home:jordimassaguerpla:branch:V:c:fix_go_arches_def
- fix go_arches definition: use global instead of define, otherwise
  it fails to build

OBS-URL: https://build.opensuse.org/request/show/428673
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=143
2016-09-19 12:08:32 +00:00
Miquel Sabate Sola
3919623e60 Accepting request 427574 from home:cyphar:branches:Virtualization:containers
Adds the dockerd man page.

OBS-URL: https://build.opensuse.org/request/show/427574
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=142
2016-09-14 10:14:05 +00:00
Miquel Sabate Sola
7b7b508120 Accepting request 426147 from home:thipp:branch:Virtualization:containers
- add missing patch to changelog

OBS-URL: https://build.opensuse.org/request/show/426147
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=141
2016-09-14 07:47:42 +00:00
Alvaro Saurin
266b75a4a6 Accepting request 425388 from home:thipp:branch:Virtualization:containers
- fix integration test case

OBS-URL: https://build.opensuse.org/request/show/425388
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=140
2016-09-09 12:03:05 +00:00
Flavio Castelli
f0b7966b11 Accepting request 425094 from home:thipp:branch:Virtualization:containers
- update rpmlintrc 
- make test timeout configurable

OBS-URL: https://build.opensuse.org/request/show/425094
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=139
2016-09-06 14:03:21 +00:00
Thomas Hipp
cdc9ae4192 Accepting request 424428 from home:cyphar:branches:Virtualization:containers
Fix noarch oddness.

OBS-URL: https://build.opensuse.org/request/show/424428
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=138
2016-09-02 10:40:58 +00:00
Christian Brauner
aeedf36a58 Accepting request 423771 from home:jordimassaguerpla:branch:fix_static_build_ppc64le:docker
- Fix build for ppc64le: use static libgo for dockerd and docker-proxy
  as in docker build.

OBS-URL: https://build.opensuse.org/request/show/423771
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=137
2016-08-30 13:36:05 +00:00
Aleksa Sarai
3f61d42910 Accepting request 423658 from home:jordimassaguerpla:branch:update_docker_1_12_1
- Update docker to 1.12.1 (bsc#996015)
  see changelog in https://github.com/docker/docker/releases/tag/v1.12.1

OBS-URL: https://build.opensuse.org/request/show/423658
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=136
2016-08-29 12:39:23 +00:00
Jordi Massaguer
bf63e2c24a Accepting request 423068 from home:chbrauner:branches:Virtualization:containers
Add Alvaro's (asaurin@suse.de) work on a integration test binary.

OBS-URL: https://build.opensuse.org/request/show/423068
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=135
2016-08-26 12:49:06 +00:00
Jordi Massaguer
e0fc501ae0 Accepting request 423036 from home:cyphar:branches:Virtualization:containers
boo#995620

OBS-URL: https://build.opensuse.org/request/show/423036
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=134
2016-08-26 10:55:56 +00:00
Aleksa Sarai
423e97ff39 Accepting request 423023 from home:jordimassaguerpla:branch:V:c:fix_migration_code_again
- fix bsc#995102 - Docker "migrator" prevents installing "docker",
  if docker 1.9 was installed before but there were no images

OBS-URL: https://build.opensuse.org/request/show/423023
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=133
2016-08-26 10:03:39 +00:00
Jordi Massaguer
d3620f68cb Accepting request 422714 from home:cyphar:branches:Virtualization:containers
Fixes the overwrites of docker.service.

OBS-URL: https://build.opensuse.org/request/show/422714
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=132
2016-08-26 09:56:58 +00:00
Christian Brauner
d227abc5a1 Accepting request 422125 from home:jordimassaguerpla:branch:V:c:remove_patch_add_tests
- remove disable-pprof-trace.patch: We can remove this patch because
  we use go 1.6, either gcc6-go or gc-go. This patch was for gcc5-go

OBS-URL: https://build.opensuse.org/request/show/422125
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=131
2016-08-25 14:14:03 +00:00
Christian Brauner
4382c45dde Accepting request 421923 from home:jordimassaguerpla:branch:V:c:fix_go_arches_definition
fix the go_arches definition

OBS-URL: https://build.opensuse.org/request/show/421923
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=130
2016-08-25 12:04:09 +00:00
Christian Brauner
a6db502979 Accepting request 421769 from home:jordimassaguerpla:branch:Vc:add_version_unconverted_back
add back version_unconverted

OBS-URL: https://build.opensuse.org/request/show/421769
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=129
2016-08-24 15:02:56 +00:00
Christian Brauner
214db3dee3 Accepting request 421577 from home:jordimassaguerpla:branch:V:c:add_go_arches_in_prjconf
- add go_arches in project configuration: this way, we can use the
  same spec file but decide in the project configuration if to
  use gc-go or gcc-go for some archs.

OBS-URL: https://build.opensuse.org/request/show/421577
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=128
2016-08-24 12:33:39 +00:00
Christian Brauner
d470da093f Accepting request 421307 from Virtualization:containers:1.12-RC
- use gcc6-go instead of gcc5-go (bsc#988408) 
- build ppc64le with gc-go because this version builds with gc-go 1.6
- remove bnc964673-boltdb-metadata-recovery.patch because it has already
  been merged

- update to v1.12.0 (bsc#995058)
  see detailed changelog at
    https://github.com/docker/docker/releases/tag/v1.12.0
- disable test that fail in obs build context
- only run unit tests on architectures that provide the go list and go test
  tools
- disable dockerd, parser, integration test, and devicemapper related tests
  on versions below SLE12 and openSUSE_13.2
- bump test timeout to 10m (for aarch64)
- run unit tests during the build
- Adapt docker.service file.
- adapt install sections for gccgo builds: gccgo build are not built in separate
  folders for client and daemon. They both reside in dyngccgo.
- gcc-go-patch: link against systemd when compiling the daemon.
- Add disable-pprof-trace.patch
  pprof.Trace() is not available in go version <= 1.4 which we use to build SLES
  packages. This patch comments out the pprof.Trace() section.
- update gcc-go-patch and docker-mount-secrets.patch

- Fixed binary split, install both required binaries correctly

OBS-URL: https://build.opensuse.org/request/show/421307
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=127
2016-08-23 14:44:42 +00:00