Commit Graph

21 Commits (dd88e3f32ec9e4f90a455b711cdc448a60639f0e)

Author SHA1 Message Date
Jeff Grafton ff1543e8d5 Ensure Docker experimental features are enabled before creating manifest 2019-02-19 14:41:27 -08:00
Davanum Srinivas 62fc6df5c2
Bump Docker supported version to 18.09
For 1.14, let's switch to latest Docker 18.09

Change-Id: Ib8d4d9dd3cb51cf4780623389a4bcb101d3c8fa7
2019-01-13 21:41:33 -05:00
Jeff Grafton a88244598a Use sudo only when not already root 2018-10-16 23:42:22 -07:00
Jeff Grafton 9e4fa1493d Use our forked qemu-static-register scripts instead of a privileged container 2018-10-16 23:41:32 -07:00
Aaron Crickenberger 2de8daf024 macOS and docker for mac don't play nicely with mktemp
On macOS mktemp -d drops something in /var/folders, which isn't
shared by default with Docker for Mac. Thus I can't run docker
with that volume mounted to build binaries for test images. So
instead, tell mktemp to use kubernetes/_tmp as its base, which
is what I see some of the hack/verify-* scripts use.
2018-08-10 09:10:03 -07:00
Kubernetes Submit Queue 35e3c78251
Merge pull request #67222 from ixdy/qemu-ARCH-static-permissions-fixes
Automatic merge from submit-queue (batch tested with PRs 67058, 67083, 67220, 67222, 67209). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix permissions of qemu-ARCH-static in debian-base and other images

**What this PR does / why we need it**: proper fix for the issue I found in #67215. Some machines (like apparently workstations at Google) have a restrictive umask, so the `qemu-ARCH-static` binaries were getting installed in images without world read/execute permissions, causing utilities like `apt-get` to fail.

There was also a duplicate download/install of these binaries for `debian-iptables`, which further confused the issue. I've since removed that duplicate installation.

Many thanks to @BenTheElder for asking the right question to get me to look at the permissions again.

I haven't pushed any images yet. After merge, I'll build/promote `debian-base:0.3.2`, then update everything to use it, then push some more images, write some more PRs, ...

**Release note**:

```release-note
NONE
```
/assign @tallclair
2018-08-09 20:58:13 -07:00
Kubernetes Submit Queue a8eb00666d
Merge pull request #67083 from mkumatag/docker-check
Automatic merge from submit-queue (batch tested with PRs 67058, 67083, 67220, 67222, 67209). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add a check for docker version to push fat manifest images

**What this PR does / why we need it**:

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #
This is for adding a check to avoid any corrupted fat manifest creation.

**Special notes for your reviewer**:
@dims @luxas 
**Release note**:

```release-note
NONE
```
2018-08-09 20:58:08 -07:00
Jeff Grafton 92fc7f18a2 ensure qemu-ARCH-static binary is world readable and executable 2018-08-09 15:55:20 -07:00
Manjunath A Kumatagi 01c24b59d0 Add a check for docker version to push fat manifest images 2018-08-09 09:43:07 +05:30
Davanum Srinivas 6ac597062a
Remove the local manifest list after push
Manifests seem sticky in docker, so let's try to purge so if
we have re-push a fresh set of containers (with same version number as
before) during testing, the manifests are created fresh.

Change-Id: I41c010c08bd50b68ff6973a4ae1e004824fab178
2018-08-08 16:28:19 -04:00
Kubernetes Submit Queue 5ef6a6a259
Merge pull request #66686 from dims/test-image-for-a-release-1.7-based-sample-apiserver
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

test image for a release 1.7 based sample-apiserver

**What this PR does / why we need it**:
In our e2e test suite we have use an image "gcr.io/kubernetes-e2e-test-images:k8s-aggregator-sample-apiserver:1.7v2". We need a way to build a fresh image that can we can use instead of that one. Especially we need one that has a multi-arch fat manifest so e2e tests can be run across multiple architectures.

This is especially important since we are in the process of promoting the test in question to the conformance suite - https://github.com/kubernetes/kubernetes/pull/63947

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:
/cc @mkumatag 
/cc @ixdy 
/cc @luxas 

**Release note**:

```release-note
NONE
```
2018-07-30 09:46:01 -07:00
Davanum Srinivas c8782f45c4
test image for a release 1.7 based sample-apiserver
Change-Id: I1429e4866cf20dd88781f37a124ccff65334f534
2018-07-28 16:29:18 -04:00
Davanum Srinivas 025a6b918b
Fix jessie-dnsutils image build for arm64 & ppc64el
- Remove debian-security for a couple of arch(es) as they are not
  available in the debian repos
- Also fix up the unbound SED problem with push() method

Change-Id: Ibb14ead9581954b66b39c02bcefb5adaa2464fab
2018-07-26 12:48:34 -04:00
Davanum Srinivas 649cfd22c6
Avoid sed bundled with Darwin for building test images
Change-Id: I4fc1d495c9a42d081107829cfae0cad6d5aa29ff
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2018-07-24 20:34:27 -04:00
Manjunath A Kumatagi 399b9c245f Replace manifest-tool with docker manifest command 2018-06-13 01:13:54 -04:00
Nitesh Konkar ae23e19f20 Push fat manifest for multi-arch images
Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2018-05-08 21:00:34 +05:30
Matthias Bertschy 9b15af19b2 Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
Mike Danese c0b7364563 remove gcloud docker -- since it's deprecated 2018-02-28 00:24:27 -08:00
Manjunath A Kumatagi 19ca6ca9f2 Fix review comments - luxas, ixdy 2017-06-30 18:51:23 +05:30
Manjunath A Kumatagi 60778cdaa4 Move go build to image-utils 2017-06-28 19:19:25 +05:30
Manjunath A Kumatagi 9b70ab1379 Multi Arch test images 2017-06-26 12:49:45 +05:30