Commit Graph

473 Commits

Author SHA1 Message Date
Christoph Blecker
15bba1feed Update to use go1.12.10 2019-09-25 17:13:43 -07:00
Kubernetes Prow Robot
344054bf4a Merge pull request #80742 from k-toyoda-pi/fix_shellcheck_image-util
Fix shellcheck failure in test/image/image-util.sh
2019-09-10 14:29:45 -07:00
Jordan Liggitt
0558e83867 Add /readyz endpoints to converter/webhook test image 2019-08-30 12:52:52 -04:00
toyoda
5563e20a56 fix shellcheck failure in test/image/image-util.sh 2019-08-28 13:56:44 +09:00
Kubernetes Prow Robot
bccf68b4ee Merge pull request #81662 from bclau/test-images/documentation-update
test images: Adds README containing image building process
2019-08-27 00:53:08 -07:00
Guangming Wang
8ffba14ce4 Cleanup: fix typo in flag help message
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-22 22:58:18 +08:00
Kubernetes Prow Robot
b47f9a43fe Merge pull request #81499 from chendave/apparmor
Initialize flags to support extra flags
2019-08-21 00:29:31 -07:00
Claudiu Belu
210d7622fb test images: Updates image building process README
Updates the README with the given suggestions.
2019-08-20 13:14:18 -07:00
Claudiu Belu
aade8f8591 test images: Adds README containing image building process
Adds tests/images/README.md, which contains information regarding
the image modification / building process.
2019-08-20 00:22:51 -07:00
Joe Betz
3f519b0ee2 Upgrade ConversionReview e2e test image to also support v1 2019-08-17 10:28:39 -07:00
Kubernetes Prow Robot
fb64b76036 Merge pull request #81008 from bclau/test-images/agnhost-enhancements
test images: Adds version and bind-tools to agnhost
2019-08-17 02:42:07 -07:00
Kubernetes Prow Robot
6b50f1ae38 Merge pull request #81514 from liggitt/agnhost-cleanup
Delete agnhost binary
2019-08-16 19:10:35 -07:00
Jordan Liggitt
8ae7696028 ignore agnhost binary 2019-08-16 10:54:44 -04:00
Jordan Liggitt
145882dfda Delete agnhost binary 2019-08-16 10:21:25 -04:00
Dave Chen
129fa77aae Initialize flags to support extra flags
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-08-16 14:05:21 +08:00
Benjamin Elder
54c6744f8c update go to 1.12.9 2019-08-15 17:37:06 -07:00
Kubernetes Prow Robot
661e4d5b38 Merge pull request #81271 from jpbetz/webhok-agnhost-v1
Upgrade AdmissionReview e2e test image to also support v1
2019-08-14 23:12:32 -07:00
Joe Betz
4f7543e42a Upgrade AdmissionReview e2e test image to also support v1 2019-08-14 14:57:55 -07:00
Christoph Blecker
f2a4522be1 Update to go 1.12.8 2019-08-13 20:20:45 -07:00
Claudiu Belu
103498f538 test images: Adds version and bind-tools to agnhost
Adds bind-tools to the agnhost image. With this, dig will available
in the agnhost image, which can be used in DNS related tests.

Adds the --version flag to the agnhost binary, which will be useful for
debugging purposes (e.g.: when the image version does not match the binary
version).

Bumps version to 2.5.
2019-08-01 12:27:35 -07:00
Dave Chen
aba7e7597b doc: fix couple of issues for the doc of agnhost
- The code for google analytics is not well-formatted, which cause its not
rendered well and properly not work as expected.

- webhook v1beta1 is out, the `TODO` in the guide could be removed.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-08-01 10:54:57 +08:00
Kubernetes Prow Robot
a1a8641eff Merge pull request #80424 from chendave/doc
update guide to make the command works as expected
2019-07-30 05:33:31 -07:00
Dave Chen
5d268b9570 update guide to make the command works as expected
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-07-28 17:27:54 +08:00
Kubernetes Prow Robot
0f32f9ef0e Merge pull request #77100 from chardch/add-driver-version
Emit the nvidia driver version in gpu e2e test
2019-07-27 00:49:57 -07:00
Kubernetes Prow Robot
de091d102f Merge pull request #80053 from bclau/tests/fix-jessie-dnsutils
tests: Fixes jessie-dnsutils image build
2019-07-11 22:03:29 -07:00
Jintao Zhang
dfa46f8d47 Update to go 1.12.7
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-07-12 07:16:25 +08:00
Kubernetes Prow Robot
25dc90aa8a Merge pull request #79423 from danwinship/agnhost-connect
Add new agnhost subcommand for a networking test
2019-07-11 14:33:46 -07:00
Claudiu Belu
9ae1f41ca9 tests: Fixes jessie-dnsutils image build
Currently, the jessie-dnsutils image cannot be built for arm64, ppc64le, s390x,
as its mirrors has been moved to the archive.

This PR will replace its regular mirrors with the archive ones.
2019-07-10 14:38:36 -07:00
Kubernetes Prow Robot
3c09a870a4 Merge pull request #79692 from chendave/issue_79689
Address couple of issue on image build for ARM arch
2019-07-09 23:02:38 -07:00
Kubernetes Prow Robot
3c38115a32 Merge pull request #79045 from odinuge/file-perms
Fix file permissions for non executable files
2019-07-03 09:12:45 -07:00
Dave Chen
c60181317e Address couple of issue on image build for ARM arch
- `GOARM` should not be hardcoded
- `GOARM` needn't be set when the `ARCH` is not `arm`
- make it also possible to build binary within `agnhost` dir as well
- fix image build failure when the user is root

Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-07-03 16:56:23 +08:00
Dan Winship
66b9611945 agnhost: add connect subcommand
This can be used by networking tests that need to distinguish
different connect errors.
2019-06-29 08:55:59 -04:00
Claudiu Belu
54be382552 tests: Clarifies agnhost's entrypoint-tester's usage
Some of the entrypoint-tester related tests overrides agnhost's default entrypoint
with agnhost-2, and this function's args will only contain the subcommand's
args (./agnhost entrypoint-tester these args), but we need to print *all* the
args, which is why os.Args should be printed instead.
2019-06-26 22:14:28 -07:00
Claudiu Belu
af5c0c9e09 Centralizes images into agnhost (part 3)
Centralizes the following images into agnhost:

- audit-proxy
- crd-conversion-webhook
- entrypoint-tester
- inclusterclient
- iperf
- porter
- serve-hostname
2019-06-26 22:14:28 -07:00
Kubernetes Prow Robot
8245461a8d Merge pull request #79008 from jpbetz/fix-addlabel-mutation-example
Fix mutating webhook test image 'addlabel' to not clobber labels
2019-06-27 07:11:21 -07:00
Kubernetes Prow Robot
bd35a48815 Merge pull request #78958 from tao12345666333/go-1.12.6
Update to go 1.12.6
2019-06-19 18:37:00 -07:00
Joe Betz
aa9999c8f1 Fix mutating webhook test image 'addlabel' to update existing labels instead of clobbering 2019-06-19 14:30:17 -07:00
Richard Chen
794ec63bbd Output the nvidia gpu information in the E2E test.
Including the gpu information simplifies driver version verification.
nvidia-smi is used in order to display gpu information, which contains the driver version.
2019-06-18 17:11:19 -07:00
Claudiu Belu
4ccdcd7ab1 test images: Removes linux/ prefix from agnhost BASEIMAGE
A previous commit added the BASEIMAGE file for agnhost, but with
the linux/ prefix, which is supposed to be added in the Windows
support PR [1].

This is needed in order to be able to build the image.

[1]: https://github.com/kubernetes/kubernetes/pull/76838
2019-06-16 21:57:12 -07:00
Odin Ugedal
35cb87f9cf Fix file permissions for non executable files
Normal files should have permissions 644 by default,
and does not require the last bit to be
executable

Signed-off-by: Odin Ugedal <odin@ugedal.com>
2019-06-14 21:04:50 +02:00
Claudiu Belu
b633031ec5 tests: Sets MaximumNArgs for agnhost subcommands to 0
The subcommands rely on flags, not args. Because of this, the
cobra.MaximumNArgs should be set 0.
2019-06-13 14:58:34 -07:00
Claudiu Belu
bad9e15509 Updates agnhost README and Dockerfile files
logs-generator used to be configured through env variables, but with
the image centralization, that changed to flags.

This commit updates the agnhost README to reflect that.
2019-06-13 14:58:33 -07:00
Claudiu Belu
64c69094d3 Updates agnhost image version in documentation
The version was bumped to 2.1, not 1.1.

Co-Authored-By: Aaron Crickenberger <spiffxp@google.com>
2019-06-13 14:58:22 -07:00
Claudiu Belu
76550ea8b8 test images: Centralizes images into agnhost (part 1)
Centralizes the following images into agnhost:

- fakegitserver
- hostexec
- liveness
- logs-generator
- no-snat-test
- no-snat-test-proxy
- port-forward-tester
2019-06-13 14:51:39 -07:00
Claudiu Belu
99e2646067 test images: Refactors agnhost image
Refactors the functions used in agnhost into different modules,
based on their functionality, leaving only the main in the base
folder.

Future commits will add several functionalities to agnhost, so
this change will be necessary to keep it clean.
2019-06-13 14:24:15 -07:00
Claudiu Belu
8fc07ea929 Centralizes images into agnhost (part 2)
Centralizes the following images into agnhost:

- net
- netexec
- nettest
- webhook

Adds logging persistent flags, which are used by some tests.
2019-06-12 21:31:37 -07:00
Jintao Zhang
37f091eadf update to go 1.12.6
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-06-13 10:49:57 +08:00
Kubernetes Prow Robot
c7611727a6 Merge pull request #77861 from bclau/images/dnsutils-coredns
test images: Adds CoreDNS to dnsutils and jessie-dnsutils images
2019-05-29 11:26:26 -07:00
Kubernetes Prow Robot
cc11d977b4 Merge pull request #76826 from bclau/tests/nettest-recheck
tests: Adds retry to netexec connectivity check
2019-05-29 11:26:00 -07:00
Tim Allclair
c851c480d3 Move to debian-base non-root image 2019-05-24 11:57:43 -07:00