Commit Graph

68 Commits

Author SHA1 Message Date
Tim Hockin f932a17dca
Bump base image to 1.4.2 2022-09-01 10:51:58 -07:00
Tim Hockin 98446f45f4 Set up buildx when building containers 2022-08-20 14:44:03 -07:00
Kubernetes Prow Robot b7082f6a19
Merge pull request #607 from thockin/make_debug_bin
Pass DBG=1 to `make` to build for debug
2022-08-15 02:36:13 -07:00
Tim Hockin 78ee13c54f Pass DBG=1 to `make` to build for debug 2022-08-13 18:01:43 -07:00
Tim Hockin 45b1c5485d Move tools into a tools/ subdir
This avoids vendoring all the deps in the root.
2022-08-13 16:43:22 -07:00
Tim Hockin 2fceb47ba3 Get rid of special manifest-tool hacks 2022-07-26 11:28:48 -07:00
Tim Hockin 0f1c792c5d Echo manifest-list name during build 2022-07-26 11:28:48 -07:00
Jingfang Liu d9e8b72885
Fix CVE-2022-2068 2022-07-06 11:53:59 -07:00
Tim Hockin 9d52a21123 Bring some Makefile cleanups from k/k 2022-07-03 16:50:51 -07:00
Tim Hockin 4b9431f9bc Don't run apt-get in e2e build if we can avoid 2022-07-03 11:35:09 -07:00
Tim Hockin 10abfd561b e2e: rebuild container less often 2022-07-03 11:35:09 -07:00
Tim Hockin 2461b8672b Bump build image to go 1.18 2022-07-02 11:05:51 -07:00
Kubernetes Prow Robot de719048fb
Merge pull request #537 from thockin/v4-dotfiles
v4: Fix inconsistency with build dotfile names
2022-07-02 03:05:23 -07:00
Tim Hockin d8842d7546 Fix inconsistency with build dotfile names 2022-06-24 08:24:19 -07:00
Your 10da5e83bf upgrade base image to address vulnerabilities 2022-06-21 16:19:13 +00:00
Tim Hockin 660024b973 Fix Makefile to run tools on host OS/ARCH 2022-06-06 14:24:41 -07:00
Tim Hockin e6a8014ba2 Only build test-tools when needed 2022-03-17 12:10:22 -07:00
Jingfang Liu b3a261c673 update the base image to fix vulnerabilities
It fixes the critical vulnerabilities: CVE-2021-45960
2022-03-11 08:27:17 -08:00
Tim Hockin 944bf01f81 Bump go to 1.17 2022-01-28 20:11:04 -08:00
Tim Hockin 5d9abd7bdf Bump base image version 2021-07-01 13:50:18 -07:00
Tim Hockin 394a460405 Makefile: plain output when building container 2021-05-27 09:57:58 -07:00
Tim Hockin a0379cbcd4 Bump go to 1.16 2021-04-23 09:00:59 -07:00
Tim Hockin 6ac6e4eefd Fix licenses for other arch'es 2021-04-16 08:22:18 -07:00
Tim Hockin bb6f4441fd Update to latest base image debian-base:buster-v1.6.0 (v4) 2021-04-15 08:44:15 -07:00
Tim Hockin ed5e78472e Copy all licenses into the container image 2021-03-29 16:54:35 -07:00
Tim Hockin ac6f5036a2 Don't require a TTY to build/test 2021-03-17 22:02:32 -07:00
Tim Hockin a082bf83cf Build container without cache 2021-03-11 19:25:01 -08:00
Stephen Augustus 35507943ce Makefile: Update base and build images
- base: debian-base:v2.0.0 --> debian-base:buster-v1.4.0
- build: golang:1.14-alpine --> golang:1.15-alpine

Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-02-12 12:15:59 -05:00
Tim Hockin a285a770e2 Use docker to run helper servers in e2e
Reliably cleaning up leftover things like `nc` processes is surprisingly
difficult in pure shell.  e2e passes on the master branch now.
2021-01-23 15:59:24 -08:00
Tim Hockin 7d89f343be Use new staging GCR 2020-09-07 17:28:57 -07:00
Tim Hockin 8f87fd8397 Fix multi-arch build support
Buildx seems to do what we need.
2020-09-04 23:01:45 -07:00
Tim Hockin 7b25906ff7 Build updates
Move to go 1.14

Explicitly apt-get update when building
2020-05-01 14:22:06 -07:00
Tim Hockin ef8f5cf703 Bump to debian-base 2.0.0 (buster)
This changed `git fetch` to require a `-f` the way we use it.

Also fix a flaky test case for SSH.
2020-01-31 09:20:54 -08:00
Tim Hockin 1a1dd1cbe0 e2e: Add test for SSH
This requires having a docker image for git-over-ssh.
2020-01-07 08:25:36 -08:00
Tim Hockin 4f9273b91c Bump Go to 1.13 2019-11-21 08:39:08 -08:00
Tim Hockin 42e6d691fa Fix multi-platform build in Makefile 2019-07-26 14:08:27 -07:00
Sandy Jensen 22b8036ab8 Rebase against more recent k8s.gcr.io/debian-base image.
This addresses several high-severity vulnerabilities that have been fixed:

CVE-2016-9841
CVE-2016-9843
CVE-2017-15670
CVE-2017-15804
CVE-2017-16997
CVE-2017-18269
CVE-2017-1000408
CVE-2018-11236
CVE-2018-20843
CVE-2019-3855
2019-07-26 11:16:30 -07:00
Tim Hockin 15d53f3b99 Simplify for Go modules 2019-03-25 08:54:44 -07:00
Tim Hockin 59af7bf5a8 Bump go to 1.12 2019-03-25 08:54:44 -07:00
Tim Hockin 653bd85fc6 Use debian-base as base image
All of the main Kubernetes components are switching to it, since we can
maintain it more easily.
2019-03-11 17:16:53 -07:00
Tim Hockin f7546fc17f Fix bad perms on make 2019-02-01 08:23:54 -08:00
Tim Hockin dbfa625b4e Sync to latest go-build-template Makefile 2019-01-28 11:42:28 -08:00
Tim Hockin 1c374dab1f Update Makefile to not repeat build when possible 2019-01-28 10:53:16 -08:00
Tim Hockin 497c7df123 Clean up / document build and release
In writing better RELEASING docs, I realized the build was repeating
steps.  In fixing that I fixed some make deps, but realized I *still*
can't make the build ideal.

At least it is written down now...
2019-01-25 10:45:09 -08:00
chris060986 e37fa08e74 Fix docker build arg for https proxy 2019-01-23 07:35:13 +01:00
chris060986 59f5554348 Fix intention of makefile 2019-01-16 09:15:34 +01:00
chris060986 ea7c288dc3 Add proxy support to build 2018-12-20 14:41:06 +01:00
Tim Hockin ada75e9c6c Build a manifest list
Retool some of the build/test to produce a manifest-list rather than a
single image.
2018-11-09 14:20:23 -08:00
Tim Hockin 76bda81e0f bump go to 1.11 2018-11-09 10:20:30 -08:00
Tim Hockin 44c11c4390 Update alpine and golang images 2018-07-03 15:00:11 -07:00