Commit Graph

887 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
ac5f05b374
Merge pull request #100359 from chewong/increase-dns-timeout
agnhost: increase dns timeout from 5 seconds to 20 seconds
2021-03-19 08:04:33 -07:00
Ernest Wong
0a368288ac
agnhost: increase dns timeout from 5 seconds to 20 seconds
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-03-17 16:07:35 -07:00
Claudiu Belu
327093093d
test images: Fixes Windows busybox image
The image "e2eteam/powershell-helper:6.2.7-linux-cache" is a Linux image. Because we're running "docker buildx build --platform windows/amd64", docker buildx will consider it as a Windows image unless we explicitly specify otherwise. If the image's platform is not correctly identified, we can run into problems when trying to build the image.

We are already doing something similar with the windows-servercore-cache image.
2021-03-17 16:51:06 +02:00
Kubernetes Prow Robot
3d1d8731bd
Merge pull request #99866 from claudiubelu/test-images/powershell-helper-linux-cache
test images: powershell-helper linux cache
2021-03-16 17:02:56 -07:00
Kubernetes Prow Robot
72cc3f2112
Merge pull request #99860 from chewong/fix-99470
agnhost: resolve service account issuer URL before invoking oidc.NewProvider
2021-03-16 14:49:30 -07:00
Claudiu Belu
ac6ebc260c test images: powershell-helper linux cache
We can cache the powershell-helper image's results into a scratch Linux image using
docker buildx. This will allow us to spend less time pulling the data we need from the
powershell-helper image when we need it.

Additionally, docker buildx might have some issues with cross-registry images, so this
will allow us to circumvent it.
2021-03-16 17:07:50 +00:00
Ernest Wong
573535691b
agnhost: resolve service account issuer URL before invoking oidc.NewProvider
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-03-15 19:14:14 -07:00
Kubernetes Prow Robot
b458d97feb
Merge pull request #99670 from jsturtevant/windows-gmsa
Include nltest in the windows busybox image
2021-03-15 05:01:05 -07:00
Stephen Augustus
13ef775df2 [go1.16] Update to go1.16.1
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-10 19:06:57 -05:00
Antonio Ojea
97fba66df6 update agnhost readme 2021-03-08 11:55:12 +01:00
Kubernetes Prow Robot
90851a0fb5
Merge pull request #99905 from BenTheElder/shellchecked
update verify-shellcheck to v0.7.1, fix nits, multi-arch digest pinning, fix new lint errors
2021-03-06 22:17:53 -08:00
Kubernetes Prow Robot
a44db4f9ef
Merge pull request #99889 from aojea/imageutil
image util unbound variable
2021-03-06 16:45:41 -08:00
Benjamin Elder
a0cd54a7f1 fix trivial shell quoting issues surfaced by shellcheck v0.7.1 2021-03-06 13:19:17 -08:00
Kubernetes Prow Robot
1289c883a2
Merge pull request #99718 from listx/remove-listx-owners
remove listx from OWNERS
2021-03-06 12:49:41 -08:00
Antonio Ojea
88fbd7c509 image util unbound variable 2021-03-06 12:10:06 +01:00
Federico Paolinelli
f6451c93b1 Bump up agnhost version to 2.29
This is to consume the changes for binding the udp listeners of netexec
to specific addresses.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-03-05 10:49:09 +01:00
Federico Paolinelli
5125f1fc31 Agnhost: make it possible to pass the addresses to listen on for udp
The current udp implementation listens on any for tcp, udp and tcp. There
are some cases where it makes sense to listen on specific addresses
(especially udp, see https://github.com/kubernetes/kubernetes/issues/95565).
This is because UDP is connectionless, and in order to conntrack to
work, the application must ensure that the src of the reply is the same
as the dest of the request. The easiest way to do that is to bind
explicitly on an ip.
Here we pass an optional parameter that contains a comma separated list
of addresses.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-03-05 10:49:08 +01:00
Dinghua Li
88dbe814dc Fix the image path of resource-consumer in README. 2021-03-04 10:50:03 -08:00
James Sturtevant
1ed2b287e3 include nltest in the windows busybox image 2021-03-03 11:01:18 -08:00
Linus Arver
85d5ebef4a remove listx from OWNERS 2021-03-03 08:53:27 -08:00
Supriya Premkumar
e52e5e486c
Adds ineffassign to GO linter script.
Changes:
 - Enables ineffassign check in the verify scripts.
 - Fixes lint errs.
2021-03-03 08:28:10 -08:00
Kubernetes Prow Robot
a5c3b24dba
Merge pull request #99631 from claudiubelu/patch-5
test images: Adds label to httpd-new image
2021-03-02 13:23:32 -08:00
Claudiu Belu
4f8084e3e0
test images: Adds label to httpd-new image
Adds a label to the httpd-new image, so a new SHA gets generated, so it can be pushed to staging.
2021-03-02 11:36:00 +02:00
Stephen Augustus
274133fe11 [go1.16] Update to go1.16
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:00 -05:00
Claudiu Belu
d5cf7f652b test images: Generates new SHAs for mirrored images
The same SHA cannot be pushed twice to the staging registry. Because some images were
mirrored, their SHAs remained unchanged. This addresses this issue.
2021-03-01 20:18:06 +00:00
Benjamin Elder
56e092e382 hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
Kubernetes Prow Robot
7322dff5b5
Merge pull request #99395 from claudiubelu/test-images/fixes-windows-nginx-entrypoints
test images: Fixes Windows nginx images entrypoints
2021-02-24 06:38:49 -08:00
Claudiu Belu
17fcda15c5 test images: Fixes Windows nginx images entrypoints
nginx expects to find its conf and logs folder locally, and fails if it cannot find them.
cd-ing into the the nginx folder solves this issue. This is a similar approach to the
echoserver image, which also uses nginx.
2021-02-24 10:58:38 +00:00
Kubernetes Prow Robot
0a3cd56092
Merge pull request #82778 from chendave/split_build_scripts
Differentiate build process for non-amd platforms
2021-02-20 00:55:42 -08:00
Dave Chen
be971ab549 Fix the comments around the quote for compatibility, expansion etc. 2021-02-18 11:04:40 +08:00
Claudiu Belu
030b6cc84c test images: Fixes Windows httpd images
A 32-bit php was included in the images, instead of the 64-bit one. The base image
is nanoserver-based, which does not support 32-bit apps. Because of this, httpd
fails to start.

Additionally, we've previously removed the busybox-helper dependency, but was
left in in the httpd images. This removes the dependency from the httpd images.
2021-02-12 14:11:02 +00:00
Claudiu Belu
3945c8972c tests: Switch dockerhub registry images to promoted registry
Due to the dockerhub rate limiting, we had to find an alternative solution. We've mirrored the dockerhub
images into our own.

Additionally, our own busybox, httpd, and nginx images also have Windows support.
2021-02-08 08:01:04 -08:00
Kubernetes Prow Robot
49a772a122
Merge pull request #98917 from claudiubelu/test-images/resource-consumer-bump
test images: Bump resource-consumer to 1.9
2021-02-09 12:05:06 -08:00
Kubernetes Prow Robot
ab5a8c4af8
Merge pull request #98639 from knabben/udp-connect-agnhost
UDP protocol on connect agnhost command
2021-02-09 10:25:39 -08:00
Kubernetes Prow Robot
1f24b504cd
Merge pull request #98831 from claudiubelu/test-images/fixes-windows-php
test images: Fixes Windows php source
2021-02-09 01:38:49 -08:00
Amim Knabben
f1da11078a UDP protocol on connect agnhost command 2021-02-07 15:29:58 -05:00
Claudiu Belu
3e0b66b802 test images: Bump resource-consumer to 1.9
We've added Windows support to the resource-consumer image and 1.8 tag is already promoted.
We need to bump the VERSION, so we can promote the new image.
2021-02-06 23:54:25 -08:00
Claudiu Belu
a7de2d82d3 test images: Retrigger some image jobs 2021-02-06 16:43:52 -08:00
Kubernetes Prow Robot
fc7b785e64
Merge pull request #98818 from chewong/remove-duplicated-code
fix: remove duplicated code in image-util.sh due to merge conflict
2021-02-07 09:23:11 -08:00
Kubernetes Prow Robot
3534e31ade
Merge pull request #98834 from cpanato/go1158
[go1.15] Update to go1.15.8
2021-02-06 15:35:11 -08:00
Carlos Panato
8b5bf8ef91
[go1.15] Update to go1.15.8
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-02-06 15:55:39 +01:00
Claudiu Belu
6dae3054b5 test images: Fixes Windows php source
The PHP release page tends to get updated and changed every time there's a
new release, removing the old ones. Because of this, the PHP link in the
httpd and httpd-new images may become invalid.

Updating the links to the archives solves this issue.
2021-02-06 11:32:21 +00:00
Ernest Wong
5a559e48f8
fix: remove duplicated code in image-util.sh due to merge conflict
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-02-05 14:12:25 -08:00
Kubernetes Prow Robot
3f42a66bd3
Merge pull request #92719 from claudiubelu/test-images/windows-support-res-consumer
test images: Adds Windows support for resource-consumer
2021-02-05 10:45:05 -08:00
Kubernetes Prow Robot
aacd157c2e
Merge pull request #97457 from claudiubelu/test-images-readme-updates
test images: Updates Image Builder process in the README
2021-02-04 09:52:47 -08:00
Kubernetes Prow Robot
11ab887ccd
Merge pull request #95567 from claudiubelu/test-images/linux-busybox
test images: Mirrors dockerhub images to staging
2021-02-04 09:52:29 -08:00
Claudiu Belu
9b09d8752f test images: Adds Windows support (part 3)
Adds the httpd, nginx, images that are used in tests.

Two different versions of nginx have to build, and thus, the have
different folders. An ALIAS file was added to nginx-new in order to
keep the same image name.
2021-02-04 06:15:54 -08:00
Claudiu Belu
28e1dee333 test images: Adds Windows support for resource-consumer
stress was being used for the memory consumption part. This adds a golang equivalent,
which will also work on Windows.
2021-02-02 14:50:35 +00:00
Claudiu Belu
6e22aac8fe test images: Updates Image Builder process in the README
A few details about the image builder postsubmit jobs changed, so the README had to
be updated as well.

Added a few extra bits of information regarding the Windows images.
2021-01-29 14:04:51 -08:00
Dave Chen
721da10205 Differentiate build process for non-amd64 platforms
- reset `binfmt_misc` is needn't when the building platform is non-amd64 and the
target arch is the same as building platform

- non-amd64 platform doesn't supported cross-build well, and there is no binary of
`qemu-user-static` able to do that, and thus skip the cross-build on non-amd64
platform.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-01-29 19:04:10 +08:00
Kubernetes Prow Robot
816e67ab9d
Merge pull request #97456 from claudiubelu/remove-busybox-helper
test images: Remove busybox-helper image
2021-01-28 08:21:34 -08:00
Claudiu Belu
bdaf849c0f test images: Remove busybox-helper image
We cannot have any RUN commands in the Windows stage when using docker buildx,
which is why we were using the busybox-helper image. The purpose of the image
was to contain a few things that we would obtain by running a few commands:

- symlinks for the busybox binary
- run vcredist_x64.exe which would also give us the vcruntime140.dll which is
  necessary for dig or httpd.

There are alternatives to the commands above that can be achieved in a Linux stage
as well:

- we can create the symlinks in a Linux stage with ln -s. Copying them over to
Windows will allow them to work just as well as if they were being copied over
from a Windows image. The 'Files\' prefix issue to the symlink target still persists.
- we can download the vcruntime140.dll directly, allowing us to skip the vcredist_x64.exe
  installation.
2021-01-27 04:22:38 -08:00
Carlos Panato
e76fc62258
[go1.15] Update to go1.15.7
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-01-27 11:43:01 +01:00
Kubernetes Prow Robot
fb276ce201
Merge pull request #98318 from dims/adding-dims-to-test/images-owners
Adding dims to test/images OWNERS file
2021-01-23 18:06:53 -08:00
Kubernetes Prow Robot
676079605d
Merge pull request #97789 from pacoxu/fix/gce-depre-version
metadata concealment: remove the legacy endpoints from the check
2021-01-23 10:41:39 -08:00
Kubernetes Prow Robot
ecb3a682b8
Merge pull request #98313 from claudiubelu/test-images/fixes-apparmor-loader
test images: Fixes apparmor-loader image
2021-01-23 01:51:39 -08:00
Davanum Srinivas
d9fdc68bae
Adding dims to test/images OWNERS file
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-22 13:17:54 -05:00
Claudiu Belu
cbeab55eb6
test images: Adds --progress=plain to docker buildx build
The default value for the progress is ``auto``, which will eat the output of RUN commands. This makes it a bit hard to debug when issues occur. Changing that option to ``plain`` will ensure that the output is properly kept.
2021-01-22 17:34:15 +02:00
Claudiu Belu
f56d832943 test images: Fixes apparmor-loader image
Currently, the image is not working properly because of the apparmor_parser giving this error:

Error relocating /sbin/apparmor_parser: secure_getenv: symbol not found

Updating musl to 1.1.20 or newer will fix this problem.
2021-01-22 15:25:47 +00:00
Kubernetes Prow Robot
88c652c154
Merge pull request #98227 from claudiubelu/test-images/metadata-concealment-fix
test images: Fixes metadata-concealment image building
2021-01-21 18:47:26 -08:00
Claudiu Belu
ab3bd32d22 test images: Fixes metadata-concealment image building
The metadata-concealment image does not have any BASEIMAGE file, which means
that the image will be built from scratch. In this case, there are a few
fixes that need to be made in the image-build.sh script.
2021-01-21 20:47:55 +00:00
Kubernetes Prow Robot
044bcb5f06
Merge pull request #98226 from claudiubelu/test-images/peer-finder-fix
test images: Prepend linux/ to peer-finder BASEIMAGEs
2021-01-21 12:01:11 -08:00
Kubernetes Prow Robot
6a161bf6d3
Merge pull request #98189 from claudiubelu/test-images/echoserver-windows
test images: Fixes echoserver image for Windows
2021-01-21 04:39:01 -08:00
pacoxu
5d6c41cfc9 metadata concealment: remove the legacy endpoints from the check, bump the image version
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-01-21 07:58:45 +08:00
Claudiu Belu
483ed6a783 test images: Fixes echoserver image for Windows
The Windows echoserver image no longer relies on a helper image.
2021-01-20 14:48:07 +00:00
Claudiu Belu
8d565064ab test images: Prepend linux/ to peer-finder BASEIMAGEs
The BASEIMAGE entries should be formated as: OS/ARCH=image. The peer-finder
image BASEIMAGE file does not respect that format.
2021-01-20 13:43:19 +00:00
Kubernetes Prow Robot
7f87f5174a
Merge pull request #98190 from claudiubelu/test-images/trigger-jobs
test images: Minor changes to trigger postsubmit image building jobs
2021-01-19 20:35:58 -08:00
Ernest Wong
9af74a6be9
test images: bump BASEIMAGE of kitten and nautilus to agnhost 2.26
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-01-19 13:24:50 -05:00
Claudiu Belu
180b9527bd test images: Small changes to trigger image postsubmit jobs 2021-01-14 09:05:57 -08:00
Adelina Tuvenie
577b335d65
Update Dockerfile_windows
Change Dockerfile Copyright year. Reason: retrigger image build job.
2021-01-14 17:04:02 +02:00
Antonio Ojea
6176597b0d update agnhost readme 2021-01-14 09:58:14 +01:00
Claudiu Belu
38dea811cb test images: Minor changes to trigger postsubmit image building jobs
Some of these images didn't have any job run for them. Some of these
images previously failed due to an issue that has been addressed since.

Making a change into their image directory will spawn a postsubmit job
that will build that image.
2021-01-13 21:44:55 -08:00
Claudiu Belu
77ca485321
test images: Print docker version and docker buildx version
For debugging purposes, it should be useful to run ``docker version`` and ``docker buildx version`` in order to more easily check and verify issues encountered with the Image Builder.
2021-01-12 19:35:56 +02:00
Kubernetes Prow Robot
f1941c9c6d
Merge pull request #97046 from claudiubelu/test-images-2004
test images: Adds BASEIMAGE for windows/amd64/2004 and windows/amd64/20H2
2021-01-11 11:18:25 -08:00
Kubernetes Prow Robot
be839a4365
Merge pull request #97177 from pacoxu/cleanup/docker-20.10
cleanup: legacy 'ENV name value' syntax deprecated(Docker 20.10)
2021-01-08 20:01:04 -08:00
Kubernetes Prow Robot
781eb03b89
Merge pull request #96792 from aojea/promotev6image
e2e test regression image multiarch
2021-01-08 15:39:05 -08:00
Kubernetes Prow Robot
c6b3e72e0e
Merge pull request #97421 from claudiubelu/test-images-20h2
test images: Adds 20H2 to the windows_os_versions
2020-12-22 07:52:41 -08:00
Kubernetes Prow Robot
b10d82b93b
Merge pull request #97422 from claudiubelu/sample-apiserver-tty
test images: Allows sample-apiserver to be built without a TTY
2020-12-21 14:00:25 -08:00
Kubernetes Prow Robot
7da7d2084c
Merge pull request #96918 from aojea/agnhostbump
bump agnhost base image
2020-12-17 13:54:24 -08:00
Claudiu Belu
64934518fd test images: Allows sample-apiserver to be built without a TTY
Currently, the image's postsubmit job fails because of the docker run -t
in the image's Makefile. We don't need it in order to build the image.

Logs: https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/post-kubernetes-push-e2e-sample-apiserver-test-images/1331076845436669952
2020-12-17 13:02:19 -08:00
Claudiu Belu
31101408d3 test images: Adds 20H2 to the windows_os_versions
We are planing to test and support 20H2 release of Windows, thus,
we need to build test images for it as well. The busybox image already
has a BASEIMAGE entry for it, but we also need to add it to the image-util.sh's
windows_os_versions, so the OS Version can be properly included in the
manifest list.
2020-12-17 12:43:22 -08:00
Claudiu Belu
479f37e5e9 test images: Adds 20H2 to the windows_os_versions
We are planing to test and support 20H2 release of Windows, thus,
we need to build test images for it as well. The busybox image already
has a BASEIMAGE entry for it, but we also need to add it to the image-util.sh's
windows_os_versions, so the OS Version can be properly included in the
manifest list.
2020-12-17 19:03:01 +00:00
Claudiu Belu
6816b2e7e9 test images: Adds dockerhub images for mirroring
Dockerhub will introduce rate limiting in November, and a lot of E2E tests
are relying on the busybox image. It could potentially become an issue
causing jobs to fail because of this.

Ideally, we'd have the busybox image mirrored on gcr.io, but that could take
some time. Until then, we can just have the Image Builder mirror the image
for us in the staging registry and use that for tests until this issue is
solved. The busybox image should NOT be promoted out of staging.

During the sig-testing meeting, it was decided that we should do the same
for the other images are hosted on dockerhub.

Two different versions of httpd and nginx have to be built, and thus, the have
different folders. An ALIAS file was added to httpd-new and nginx-new in order
to keep the same image name.
2020-12-17 19:02:26 +00:00
Kubernetes Prow Robot
b9ce4ac212
Merge pull request #97346 from linux-on-ibm-z/issue-97318
Bump agnhost and nonewprivs versions
2020-12-16 19:19:08 -08:00
Rajas Kakodkar
902f4a9038 bump agnhost VERSION
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-12-16 17:48:28 +00:00
Rajas Kakodkar
794080c8da bump VERSION
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-12-16 07:36:31 +00:00
Rajas Kakodkar
7a82831255 bump VERSION
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-12-16 07:35:59 +00:00
Claudiu Belu
f78aa177fa test images: Adds windows/amd64/20H2 BASEIMAGE 2020-12-15 16:35:01 +00:00
Kubernetes Prow Robot
84ba901b60
Merge pull request #97247 from claudiubelu/test-images/20h2-windows
test images: Adds 20H2 image to windows-servercore-cache
2020-12-14 14:02:10 -08:00
Claudiu Belu
5fd669db51 test images: Adds Windows 2004 and 20H2 base images for busybox
busybox is being used as a base image for a few other images, like
agnhost, so we need to update this image first.
2020-12-13 08:22:14 -08:00
Kubernetes Prow Robot
eecbdea3d6
Merge pull request #96462 from claudiubelu/test-images-multiarch
test images: Adds -p yes when calling register.sh
2020-12-11 15:01:27 -08:00
Claudiu Belu
77e0c55acd test images: Adds 20H2 image to windows-servercore-cache
The 20H2 image was released in the second half of the year, and
we are going to need images for testing the release.

The image tag can be found here:
https://hub.docker.com/_/microsoft-windows-servercore
2020-12-11 03:22:55 -08:00
Kubernetes Prow Robot
ee8983705a
Merge pull request #96679 from stmcginnis/appspot-cleanup
Remove stale analytics links from docs
2020-12-10 23:17:22 -08:00
pacoxu
75a2cc2cfd fix legacy 'ENV name value' syntax
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2020-12-10 10:38:10 +08:00
Antonio Ojea
5e712b85a1 bump agnhost base image 2020-12-04 10:01:24 +01:00
Claudiu Belu
e2ca45ca0a test images: Adds windows/amd64/2004 BASEIMAGE 2020-12-03 15:31:09 +00:00
Claudiu Belu
b95891b1f0 test images: sets DOCKER_CLI_EXPERIMENTAL="enabled" globally 2020-12-01 15:10:39 +00:00
Claudiu Belu
ef530c12d6 test images: Adds -p yes when calling register.sh
Before creating and bootstrapping a docker buildx instance, we need to call
register.sh with the -p yes flag. Without this, the docker buildx will only
support linux/amd64 and linux/386 platforms, meaning that it will fail when
trying to build images for other architecture types.

Additionally, the builder has to have qemu and its qemu-* binaries installed
in order to properly build the images. The recently created image
gcr.io/k8s-testimages/gcb-docker-gcloud:v20201130-750d12f has those requirements met.
2020-12-01 15:10:39 +00:00
Stephen Augustus
2407a70cc7 [go1.15] Update to go1.15.5
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 20:49:56 -05:00
Antonio Ojea
782da4414a e2e test regression image multiarch
Signed-off-by: Antonio Ojea <aojea@redhat.com>
2020-11-22 10:46:38 +01:00
Sean McGinnis
be131457ef
Remove stale analytics links from docs
Many README files and other docs contained a link to a an appspot
tracking app that is no longer active. Following the links leads to an
error about Go 1.9 no longer being supported. Go 1.9 support was dropped
in appspot in 2019 and disabled June 2020.

This also resulted in a broken image link displaying when viewing these
files on GitHub. Since the app is no longer functioning, and since it
causes a potentially (but granted, minor) confusing error to display,
this just removes those links as I don't believe they are needed
anymore.

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-11-18 07:04:48 -06:00
Kubernetes Prow Robot
58f82efe70
Merge pull request #95032 from claudiubelu/test-images/multiarch
test images: Removes -p yes flag from qemu-user-static script call
2020-11-06 12:24:29 -08:00
Claudiu Belu
5152919611 test images: Authenticate in order to push images
We cannot push images without being authenticated.
2020-11-04 23:22:30 -08:00
Claudiu Belu
54d0c1e1d2 test images: Removes -p yes flag from qemu-user-static script call
Currently, the Image Builder job is failing as it cannot build images
for other architecture types. This happens because the Image Builder image
does not have any of the expected qemu-* binaries in /usr/bin/ needed in order to
run qemu-binfmt-conf.sh with the -p yes flag, so that flag is removed.
2020-11-04 23:01:24 +00:00
Claudiu Belu
5de5ae6bd3 test images: sets HOME=/root in cloudbuild.yaml
The default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx

We need to set the Home to /root explicitly since we're using docker buildx
2020-11-03 22:19:18 -08:00
Claudiu Belu
cf838ca180 test images: set DOCKER_CLI_EXPERIMENTAL=enabled
docker buildx requires DOCKER_CLI_EXPERIMENTAL=enabled to be set
in order to be used.

This environment variable is not getting plumbed through from the
test/images/cloudbuild.yaml file, causing the docker buildx commands
to fail.
2020-11-04 14:23:44 +00:00
Kubernetes Prow Robot
17376e6aef
Merge pull request #92850 from tallclair/netexec
Enhance agnhost netexec for SSRF E2Es
2020-11-02 18:10:14 -08:00
Kubernetes Prow Robot
0dbfe2633e
Merge pull request #95781 from ii/porter-add-verbose-flag
Add verbose flag to porter so http method can be returned to client
2020-11-02 13:41:33 -08:00
Tim Allclair
c05a350b4f Update usage information for --http-override 2020-11-02 13:30:55 -08:00
Tim Allclair
354cb6ca91 Bump agnhost version 2020-11-02 13:30:55 -08:00
Tim Allclair
700006f2d9 Add override option to netexec 2020-11-02 13:30:22 -08:00
Tim Allclair
9156360234 Add a redirect handler to netexec 2020-11-02 13:30:22 -08:00
Tim Allclair
a15f5ea836 Add optional code to netexec echo endpoint 2020-11-02 13:30:22 -08:00
Stephen Heywood
f005b3a5f7 Add json-response flag to porter
Provides a response that includes a body and a method. This response
will enable a client (e2e test) to confirm that a proxy did not alter
the http method.
2020-10-30 14:48:16 +13:00
Kubernetes Prow Robot
0ec6602679
Merge pull request #77398 from claudiubelu/test-images/windows-support-part-2
test images: Adds Windows Container images support (part 2)
2020-10-26 06:19:02 -07:00
Kubernetes Prow Robot
82cc713b13
Merge pull request #95328 from aojea/conntrack_invalid
add ipv6 support to the image issue-74839
2020-10-22 22:16:16 -07:00
Rajas Kakodkar
0269e2d042 bump qemu version
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-10-22 16:34:53 +00:00
Claudiu Belu
4dbb55fe85 test images: Adds Windows support (part 2)
Adds Windows support for most of the images.

Adds a README explaining the image building process, including the
Windows Container image building process.
2020-10-19 16:54:28 +00:00
Claudiu Belu
0d24b05434 test images: Switches to buildx
Currently, some of the E2E test images have Windows support, and one of the goals is for most of
them to have Windows support. For that, the Image Builder is currently building those Windows
container images using a few Windows Server nodes (for 1809, 1903, 1909) with Remote Docker
enabled which are hosted on an azure subscription dedicated for CNCF.

With this, the Windows nodes dependency is removed entirely, as the images can be also built with
docker buildx. One additional benefit to this is that adding new supported Windows OS versions
to the E2E test images manifest lists becomes a lot easier (we wouldn't have to create a new Windows
Server node that matches that new OS version, assign DNS name, update certificates, etc.), and it
also becomes easier for other people to build their own E2E windows test images.

However, some dependencies are still required to run on a Windows machine. To solve this, we can
just pull helper images: e2eteam/powershell-helper:6.2.7 and e2eteam/busybox-helper:1.29.0. Their
Dockerfiles and a Makefile for them has been included in this commit. If any change is required to
them, then a new image will be built and tagged under a different version, but they are pretty
straight-forward and shouldn't require changes.

However, there is a small concern when it comes to the build time: Windows servercore images are
very large (for example, mcr.microsoft.com/windows/servercore:ltsc2019 is 4.99GB uncompressed, and
about ~2 GB compressed - those images are already cached on the Windows Server builder nodes, so
this isn't an issue there), and we currently support 1809, 1903, and 1909 (soon to add 2004).
This can lead to build times that are too big.

We have changed the base image to nanoserver (uncompressed size: 250MB), but some images still
require some DLLs or some other dependencies that can be fetched from a servercore image.

A separate job has been defined that would build a scratch windows-servercore-cache image monthly,
and then we can just get those dependencies from this cache, which will be very small.
This would be preferred, as the Windows images update periodically, and those dependencies
could be updated as well.
2020-10-16 10:42:49 +00:00
Antonio Ojea
a0887285f5 add ipv6 support to the image issue-74839
Co-authored-by: Dan Winship <danwinship@redhat.com>
2020-10-07 18:30:47 +02:00
Kubernetes Prow Robot
3a7d7101c5
Merge pull request #94876 from linux-on-ibm-z/nonewprivs-s390x
Add s390x support for nonewprivs
2020-09-25 01:37:11 -07:00
Valerii Ponomarov
c55b6cdbb4 agnhost image: use actual DNS domain instead of hardcoded cluster.local
'agnhost' image uses hardcoded 'cluster.local' value for DNS domain.
It leads to failure of a bunch of HPA tests when test cluster is
configured to use custom DNS domain and there is no alias for
default 'cluster.local' one.
So, fix it by reusing it's own function for reading DNS domain suffixes.

Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
2020-09-24 14:24:16 +03:00
Claudiu Belu
46c820e793 test images: uses nanoserver
Using Windows nanoserver container images as a base instead of the current
Windows servercore image will reduce the image size by about ~10x.

However, the nanoserver image lacks several things we need:
- netapi32.dll
- powershell
- certain powershell commands
- chocolatey cannot be used

When building the nanoserver images, we are going to use a Windows servercore helper,
in which we are going to install the necessary dependencies, and then copy them over
to our nanoserver image, including necessary DLLs.

Other notable changes include:
- switch from wget to curl (wget was a powershell alias).
- implement in code getting the DNS suffix list and DNS server list.
- reimplement getting file permissions for mounttest.
2020-09-21 04:53:44 -07:00
Kubernetes Prow Robot
73b4f09dce
Merge pull request #94777 from claudiubelu/test-images/echoserver-fix
test images: Fixes echoserver s390x image
2020-09-17 08:12:45 -07:00
Rajas Kakodkar
7566da7f81 Add support for s390x
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-09-17 02:50:20 -07:00
Claudiu Belu
d663b07f7d test images: Fixes echoserver s390x image
When trying to build the s390x image, it would fail when running the apk
command with the following error:

ERROR: Unable to open root: Bad address
ERROR: Failed to open apk database: Bad address

This can be fixed by updating the third_party/multiarch/qemu-user-static/register/register.sh
and third_party/multiarch/qemu-user-static/register/qemu-binfmt-conf.sh scripts
and their usage to a newer version [1].

Additionally, the packages nginx-mod-http-lua and nginx-mod-http-lua-upstream
cannot be found in the regular http://dl-cdn.alpinelinux.org/alpine/v3.9/main/s390x/
repository, but we can use an older one [2].

[1] https://github.com/qemu/qemu/blob/master/scripts/qemu-binfmt-conf.sh
[2] http://dl-cdn.alpinelinux.org/alpine/v3.8/main
2020-09-17 09:34:40 +00:00
Kubernetes Prow Robot
aed5ffd195
Merge pull request #94449 from justaugustus/go115
[go1.15] Update to go1.15.2
2020-09-15 15:15:19 -07:00
Stephen Augustus
fc673df1e4 test/{images,utils/image}: Add justaugustus as reviewer
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-14 09:11:50 -04:00
Stephen Augustus
a4a98f440c [go1.15] Update to go1.15.2
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-11 13:15:12 -07:00
Kubernetes Prow Robot
5832c44dbf
Merge pull request #92988 from nikhita/cleanup-owners-test-images
test/images/pets: remove OWNERS to cleanup inactive members
2020-08-27 19:08:43 -07:00
Benjamin Elder
3e2cb2922b synchronize agnhost image / app version 2020-08-20 17:00:41 -07:00
Benjamin Elder
9d7a94263a track agnhost version in dependencies.yaml 2020-08-20 17:00:41 -07:00
Stephen Augustus
aa2bb18a2b [go1.15] Update to go1.15
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-12 14:19:59 -04:00
Stephen Augustus
ffcef48b83 [go1.15] Update to go1.15rc2
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-09 02:53:53 -04:00
Kubernetes Prow Robot
aec30be5b3
Merge pull request #93433 from dcbw/netexec-errors
agnhost/netexec: logging cleanup and print more verbose errors
2020-07-28 21:04:01 -07:00
Stephen Augustus
479249b3a3 [go1.15] dependencies.yaml: Update to go1.15rc1
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-25 16:45:02 -04:00
Dan Williams
31c563a46f agnhost/netexec: logging cleanup and print more verbose errors
There's currently no way to know whether an error is for SCTP or
UDP, for example:

Jul 24 09:55:54.469: INFO: netserver-0[e2e-nettest-3476].container[webserver].log
2020/07/24 09:53:52 Started UDP server
2020/07/24 09:53:52 Error occurred. error:protocol not supported

In this case the "Error occurred. error:protocol not supported" is
actually for the SCTP socket. Make that more apparent.
2020-07-24 14:40:58 -05:00
Stephen Augustus
90c223fa5c [VDF] Remove references to us.gcr.io/k8s-artifacts-prod
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-22 16:08:30 -04:00
Stephen Augustus
3bbcba9b84 Update Golang to v1.14.6
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-17 14:47:21 -04:00
Stephen Augustus
c4b6678757 Update Golang to v1.14.5
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-15 00:10:05 -04:00
Nikhita Raghunath
cb2fb92686 test/images/pets: remove OWNERS to cleanup inactive members
bprashanth hasn't be active since the release of v1.11. Removing them
from test/images/pets/OWNERS would leave mkumatag as the sole approver.

But mkumatag is also an approver for test/images/OWNERS so this commit
removes the test/images/pets/OWNERS completely.

Note: we should try to find more OWNERS for test/images/pets instead,
but this cleanup is a short term solution to avoid the bot suggesting
inactive members for reviews and approval.
2020-07-11 19:35:47 +05:30
Jeff Grafton
089a1af421 Move ixdy to emeritus 2020-07-06 10:39:56 -07:00
Kubernetes Prow Robot
efb56da4a5
Merge pull request #92665 from klueska/upstream-add-get-preferred-allocation-api
Add GetPreferredAllocation() call to the v1beta1 device plugin API
2020-07-03 20:31:16 -07:00
Kevin Klues
cbd405d85c Update existing tests in support of GetPreferredallocation() 2020-07-03 13:01:32 +00:00
Kubernetes Prow Robot
f7a13de36c
Merge pull request #92667 from liggitt/admission-warnings
Admission webhook warnings
2020-07-01 23:14:17 -07:00
Kubernetes Prow Robot
94e1c54735
Merge pull request #92655 from BenTheElder/cleanup-some-owners
Cleanup some owners
2020-07-01 23:14:08 -07:00
Jordan Liggitt
5eef60a00a Add warnings capability for admission webhooks 2020-07-01 12:14:06 -04:00
Kubernetes Prow Robot
3d912dd072
Merge pull request #76828 from claudiubelu/images/goarm-var
images: Adds GOARM to images' Makefiles
2020-07-01 07:10:18 -07:00
Kubernetes Prow Robot
9238fb1388
Merge pull request #90062 from claudiubelu/test-images/owner-files
test images: Adds OWNERS files for images
2020-06-28 01:08:14 -07:00
Benjamin Elder
3a531edbd1 rmmh is no longer active 2020-06-26 21:49:24 -07:00
Federico Paolinelli
7ff930b6c8 Bump up the agnhost version to reflect changes in https://github.com/kubernetes/kubernetes/pull/90797
There was an un-noticied conflict with 279ce5d89e (diff-75312865ef706f08787bf2987d761c13)

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-06-24 17:37:41 +02:00
Kubernetes Prow Robot
0072d8ae23
Merge pull request #90797 from fedepaol/sctpconnectporter
Add SCTP support to agnhost connect / porter commands.
2020-06-23 07:05:41 -07:00
Stephen Augustus
236ef23f46 deps: Update Golang to v1.14.4
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-06-22 18:46:51 -04:00
Kubernetes Prow Robot
0a91893126
Merge pull request #92119 from BenTheElder/agnhost-sync
agnhost sync
2020-06-20 00:14:39 -07:00
Benjamin Elder
279ce5d89e s/master/primary in agnhost guestbook test references & agnhost code
to do in follow-up: update the agnhost deployments and references to those when the new image is pushed
2020-06-19 12:23:16 -07:00
Federico Paolinelli
b8819b91a8 Add sctp support to agnhost connect / porter commands.
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-06-19 09:31:05 +02:00
Kubernetes Prow Robot
19d220073c
Merge pull request #92176 from claudiubelu/test-images/rebases-kitten-nautilus
test images: rebases the kitten and nautilus images
2020-06-16 19:24:31 -07:00
Benjamin Elder
d65a3b15bf update agnhost guestbook usage for s/slave/replica/ 2020-06-15 20:08:27 -07:00
Kubernetes Prow Robot
f66af1062d
Merge pull request #92106 from BenTheElder/bump-image
bump agnhost version to match fully
2020-06-13 00:34:22 -07:00
Kubernetes Prow Robot
0d82da429c
Merge pull request #90167 from claudiubelu/test-images/owner-files-part-3
test images: Adds OWNERS files for images (part 3)
2020-06-12 19:53:56 -07:00
Claudiu Belu
023282f1bd test images: rebases the kitten and nautilus images
The current kitten and nautilus images are depending on agnhost:2.14, which
has not been built, since the Image Promoter was not working at the time.
2020-06-12 16:46:18 -07:00
Benjamin Elder
c57e39f664 bump agnhost version to match fully 2020-06-12 15:44:15 -07:00
Claudiu Belu
30f529c57f test images: Adds --force-yes when installing jessie-dnsutils packages
Currently, the jessie-dnsutils image fails to build for arm64 arch with the following
error:

GPG error: http://archive.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1587841717

We can bypass this issue by adding a --force-yes flag when installing the needed dnsutils.
2020-06-12 14:22:28 -07:00
Claudiu Belu
06ca9c8aab test images: Adds OWNERS files for images
Adds reviewers to the OWNERS files in the kubernetes/test/images folder.
The reviewers are added automatically, based on their contributions on
an image (>= 20% code churn).

Note that the code churn is taken into account for authors, and not committers.

Adds OWNERS files for: ipc-utils, node-perf, nonroot, regression-issue-74839,
resource-consumer, sample-device-plugin.
2020-06-12 11:49:16 -07:00
Kubernetes Prow Robot
4ea576e4f5
Merge pull request #87105 from BenTheElder/agnhost-replica
s/slave/replica in guestbook app
2020-06-11 10:48:56 -07:00
Kubernetes Prow Robot
b41b89a424
Merge pull request #91682 from claudiubelu/img-promoter/windows-certs
test images: Adds step for fetching Windows image builder certificates
2020-06-10 04:39:42 -07:00
Claudiu Belu
abe8bea529
Fixes test images cloudbuild.yaml secret fetching
Co-authored-by: Aaron Crickenberger <spiffxp@google.com>
2020-06-09 14:05:33 +03:00
Benjamin Elder
c8dce6d4b3 bump agnhost version 2020-06-08 16:38:09 -07:00
Benjamin Elder
f9851d929b s/slave/replica in guestbook app 2020-06-08 16:37:26 -07:00
Claudiu Belu
46df555ebe test images: Adds step for fetching Windows image builder certificates
The google cloud builder job is launched without the required Windows Image Builder nodes
certificates that are needed for authentication when building the Windows container images.

Adds a step in test/images/cloudbuild.yaml that fetches a secret containing the certificates.
2020-06-02 07:50:45 -07:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00
Kubernetes Prow Robot
9188bbbdaa
Merge pull request #90990 from hasheddan/guestbook
Retry resolving TCP address in agnhost/guestbook
2020-05-13 15:59:24 -07:00
Stephen Augustus
b5117ae8b5 base-images: Update to kube-cross:v1.13.9-5
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-05-12 18:14:33 -04:00
hasheddan
921b76ceaa
Move getting IP address into retry loop for agnhost/guestbook
Removes the fatal error from getIP and moves it to
retry loop so that application will not immediately
crash on failure.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-05-12 13:55:17 -05:00
hasheddan
9081dfb68d
Improve error messages in agnhost/guestbook
This updates the error messages when registering a
node to be more explicit about what error occurred
and how long it will wait to retry.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-05-12 09:58:53 -05:00
hasheddan
0cacc44fc9
Retry resolving TCP address in agnhost/guestbook
Currently the guestbook application will fail if unable
to resolve TCP address on first attempt. If pod networking
is not setup when the application starts then it will be
unable to resolve, leading to frequent failures. This moves
the address resolution into the retry block so it will try
again if unsuccessful on first attempt.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-05-11 13:45:28 -05:00
Clayton Coleman
3c9959a5d4
netexec: Allow graceful shutdown testing from netexec
The current /exit method is not sufficient to test graceful shutdown
behaviors within Kube that allow services to remain available during
rolling restarts. Add support for `wait=DURATION` and
`timeout=DURATION` to the exit handler and wire that to the Go http
server's graceful termination.

With these methods netexec can be used in a pod to simulate graceful
shutdown by adding a preStop handler that hits the exit endpoint with
a timeout and wait period.
2020-05-07 09:18:27 -04:00
Jason Simmons
d0f19815d2 Updates agnhost image VERSION and README 2020-04-21 09:43:58 -04:00
Jason Simmons
c56d8df5e3 Adds HTTPS logic to agnhost netexec
The agnhost image used for testing has a `netexec` path which supports
two new flags, `--tls-cert-file` and `--tls-private-key-file`. If the
former is provided, the HTTP server will be upgraded to HTTPS, using the
certificate (and private key) provided.

By default, there are keys already mounted into the container at
`/localhost.crt` and `/localhost.key`, which contain PEM-encoded TLS
certs with IP SANs for `127.0.0.1` and `[::1]`.
2020-04-16 11:42:37 -04:00
Kubernetes Prow Robot
5ccc6e0142
Merge pull request #90166 from claudiubelu/test-images/owner-files-part-2
test images: Adds OWNERS files for images (part 2)
2020-04-15 11:36:42 -07:00
Kubernetes Prow Robot
a06d735829
Merge pull request #89152 from claudiubelu/image-promoter/reenable-windows
Image promoter: Reenable Windows test image building
2020-04-15 11:35:46 -07:00
Claudiu Belu
2321378fe5 test images: Adds OWNERS files for images (part 3)
Adds reviewers to the OWNERS files in the kubernetes/test/images folder.
The reviewers are added automatically, based on their contributions on
an image (>= 20% code churn).

Note that the code churn is taken into account for authors, and not committers.

Adds OWNERS files for: cuda-vector-add, nonewprivs, pets, redis, volume.
2020-04-14 05:26:22 -07:00
Claudiu Belu
2b5fb5366f test images: Adds OWNERS files for images (part 2)
Adds reviewers to the OWNERS files in the kubernetes/test/images folder.
The reviewers are added automatically, based on their contributions on
an image (>= 20% code churn).

Note that the code churn is taken into account for authors, and not committers.

Adds ONWERS files for: apparmor-loader, echoserver, jessie-dnsutils, metadata-concealment,
sample-apiserver.
2020-04-14 05:18:34 -07:00
Claudiu Belu
94ffe582e9 Image promoter: Reenable Windows test image building
The build times are a bit high for the image builder (~50 minutes), and it will a bit more
when Windows support will be added to the other test images. This commit changes the
machineType to N1_HIGHCPU_8.

Reenables Windows test image building. Added DOCKER_CERT_BASE_PATH (default value: $HOME),
which will contain the path where the certificates needed for Remote Docker Connection can
be found.

If a REMOTE_DOCKER_URL was not set for a particular OS version, exclude that image from the
manifest list. This fixes an issue where, if REMOTE_DOCKER_URL was not set for Windows Server 1909,
the Windows were completely excluded from the manifest list, including for Windows Server 1809
and 1903 which could have been built and pushed.

Sets "test-webserver" as the default CMD for kitten and nautilus. Since they are now based on
agnhost, they should be set to run test-webserver to maintain previous behaviour.

Bumps the agnhost version to 2.13, as 2.12 has already been promoted. 2.13 will contain
Windows support.

Adds Windows support for the kitten and nautilus images, so they can promoted together
with agnhost (they were not previously promoted).

Adds OWNERS files to: agnhost, busybox, kitten, nautilus.
2020-04-14 05:12:46 -07:00
Kubernetes Prow Robot
4bdb72ed11
Merge pull request #89113 from claudiubelu/test-images/fixes-and-cleanups
test images: Adds various fixes and cleanups to the image building process
2020-04-08 18:19:44 -07:00
Federico Paolinelli
e31f72e3a4 Bump agnhost version to 2.13, and bump up depending images.
Kitten / nautilus depend on agnhost.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-04-03 13:00:23 -04:00
Kubernetes Prow Robot
2fd8debe9b
Merge pull request #87926 from fedepaol/agnostsctp
Preliminary SCTP connectivity tests
2020-04-02 02:12:24 -07:00
Stephen Augustus
b6179ac7b9 deps: Update to Golang 1.13.9
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
Co-authored-by: Jeff Grafton <jgrafton@google.com>
2020-03-23 17:10:03 -04:00
Claudiu Belu
7389385a20 test images: Adds various fixes and cleanups to the image building process
Adds splitOsArch function to image-util.sh, which makes the script DRY-er.

When building a Windows test image, if REMOTE_DOCKER_URL is not set, skip the rest of the
building process for that image, which will save some time (no need to build binaries).

If a REMOTE_DOCKER_URL was not set for a particular OS version, exclude that image from the
manifest list. This fixes an issue where, if REMOTE_DOCKER_URL was not set for Windows Server 1909,
the Windows were completely excluded from the manifest list, including for Windows Server 1809
and 1903 which could have been built and pushed.

Sets "test-webserver" as the default CMD for kitten and nautilus. Since they are now based on
agnhost, they should be set to run test-webserver to maintain previous behaviour.
2020-03-14 15:18:10 -07:00
Dan Winship
55d3408211 agnhost: add SCTP support to netexec 2020-03-04 23:34:15 +01:00
Claudiu Belu
06062b15e9 test images: ARG instructions should be first
A few other Dockerfiles had the ARG duplicated as well.
2020-02-28 01:31:05 -08:00
Claudiu Belu
ce30d2d5c8 test images: Skip building manifest list if no image was pushed
For Windows-only images, if there is no image built / pushed, you cannot create
a manifest list.
2020-02-27 19:05:47 -08:00
Claudiu Belu
acf84351e4 test images: Rebases nautilus and kitten images
The current agnhost version is 2.12, 2.11 was not previously built as the
VERSION bumps merged one after the other, and the Image Promoter did not get to
build the 2.11 image.
2020-02-27 06:04:01 -08:00
Claudiu Belu
117cbda487 Image Promoter: Allows images to be pushed immediately after being built
In the current version, due to how make works, when building all the conformance
images (make all-push WHAT=all-conformance), ALL the images are being built first
before being pushed.

This PR will allow images to be built and pushed immediately afterwards, so the first
images that have been succesfully built are already pushed and promotable, even if
the the task failed on the last image, or it timed out.
2020-02-27 06:00:03 -08:00
Claudiu Belu
b6b60f7fa5 test images: Temporarely exclude Windows test images
A previous PR (#76838) introduced the ability to build and publish
Windows Test Images to kubernetes/test/images/image-util.sh.

Additionally, that PR also configured the Image Promoter to use a
few Windows Remote Docker build nodes to build the Windows Test Images,
however, there is a minor issue: the build container has a different $HOME
folder than expected (is: /builder/home, expected: /root - since it's the
root user), and the Remote Docker credentials are mounted in /root.

Because of that, image-build.sh cannot find the credentials it needs.
This will have to be properly fixed, but for now, we can just skip
the Windows image building part.
2020-02-26 22:51:26 -08:00
Kubernetes Prow Robot
f692f5cfcd
Merge pull request #88049 from mtaufen/provider-info-agnhost
Update agnhost to test OIDC validation of JWT tokens
2020-03-04 03:43:47 -08:00
Charles Eckman
5ceecd3ba3 Update agnhost to test OIDC validation of JWT tokens
Extends agnhost with the capability to validate a mounted token against
the API server's OIDC endpoints.

Co-authored-by: Michael Taufen <mtaufen@google.com>
2020-03-03 15:27:47 -08:00
Kubernetes Prow Robot
a5048219ee
Merge pull request #76838 from claudiubelu/test-images/windows-support
test images: Adds Windows Container images support (part 1)
2020-03-02 16:15:38 -08:00
ialidzhikov
e26fff5cbc Update to golang@1.13.8
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-02-27 09:27:48 +02:00