Commit Graph

645 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
15a1f9a39d
Merge pull request #117921 from kkkkun/clean-up-etcd-version
clean up unsupport etcd version
2023-05-18 20:30:28 -07:00
Kubernetes Prow Robot
9f6f17b899
Merge pull request #117970 from kkkkun/replace_etcd_build_to_build.sh
replace etcd build to build.sh
2023-05-17 01:38:33 -07:00
kkkkun
8b4840aa37 clean up unsupport etcd version
Signed-off-by: kkkkun <scuzk373x@gmail.com>
2023-05-17 16:35:50 +08:00
Kubernetes Prow Robot
54dbb93388
Merge pull request #117999 from kkkkun/bump-etcd-image-3.5.9-0
etcd: Build image 3.5.9-0
2023-05-16 07:07:36 -07:00
Kubernetes Prow Robot
4f5a2256f9
Merge pull request #117428 from cbandy/etcd-testing-setenv
Replace os.Setenv with testing.T.Setenv in tests
2023-05-13 12:29:26 -07:00
kkkkun
655f2f7401 replace build to build.sh
Signed-off-by: kkkkun <scuzk373x@gmail.com>
2023-05-12 17:06:07 +08:00
kkkkun
7681135f1b etcd: Build image 3.5.9-0
Signed-off-by: kkkkun <scuzk373x@gmail.com>
2023-05-12 11:14:02 +08:00
Humble Chirammal
bfb4f8b707 etcd version monitor build go version update to 1.19.9
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-11 12:36:46 +05:30
Humble Chirammal
0ae902fca4 update golang version of etcd build to 1.19.9
As per https://github.com/etcd-io/etcd/blob/main/.go-version it is
1.19.9.

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-11 10:17:13 +05:30
kkkkun
aab02d52f4 Fix make etcd image failed
Signed-off-by: kkkkun <scuzk373x@gmail.com>
2023-05-09 15:45:26 +08:00
Kubernetes Prow Robot
3a15029a95
Merge pull request #117643 from humblec/etcd
update the etcd base image to v1.4.2
2023-04-27 11:10:27 -07:00
Humble Chirammal
f24d1d2c95 use go 1.19.x for etcd version monitor compilation
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-27 20:21:00 +05:30
Humble Chirammal
91df71be54 correct etcd base image reference in the doc
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-27 18:11:39 +05:30
Humble Chirammal
6c8be35fa8 update the etcd base image to v1.4.2
The current base v1.3.0 has many CVEs[1] which are addressed in latest
versions of the bullseye

[1] ex:
CVE-2022-2509
CVE-2021-46828

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-27 17:06:54 +05:30
kkkkun
be6709044a etcd: Build image 3.5.8-0
Signed-off-by: kkkkun <scuzk373x@gmail.com>
2023-04-19 22:08:45 +08:00
Chris Bandy
f3b9e0ddc9 Replace os.Setenv with testing.T.Setenv in tests
T.Setenv ensures that the environment is returned to its prior state
when the test ends. It also panics when called from a parallel test to
prevent racy test interdependencies.

Similarly, T.Cleanup ensures the environment is restored after a test
or any of its parallel sub-tests call os.Unsetenv.
2023-04-17 20:55:49 -05:00
Davanum Srinivas
4ecb4670cc
Remove unnecessary ETCD_UNSUPPORTED_ARCH for arm64
we should only use this env var for `arm`, since `arm64` is fully
supported by etcd folks, let us drop this!

(ex - https://github.com/etcd-io/etcd/releases/tag/v3.5.6)

ppc64le comment should be dropped as well

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-02-16 21:29:13 -05:00
Stephen Kitt
b62165f445
Drop cp from the etcd images
This was used by migrate-if-needed.sh, but that has been replaced by
the migrate Go program which doesn't need external cp.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-02-13 18:06:59 +01:00
Mohamed Zaian
e98853ec28 etcd: Build image 3.5.7-0 2023-01-26 14:44:24 +01:00
Kubernetes Prow Robot
ce9b912ca6
Merge pull request #114085 from saschagrunert/gcb-docker-gcloud-bump
Bump gcb-docker-gcloud to `v20221007-69e0da97ef`
2022-12-10 06:04:33 -08:00
Kubernetes Prow Robot
89f6cb39d5
Merge pull request #114071 from Mskxn/master
Fix a potential goroutine leak
2022-12-10 06:04:17 -08:00
Msk
1444f089fc Fix go routine leaks
Close the channel instead of write to it to avoid hanging goroutine.
2022-12-01 00:29:59 +08:00
Sascha Grunert
c032d7993a
Bump gcb-docker-gcloud to v20221007-69e0da97ef
Update the container images used in cloudbuild to their latest version.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-11-23 16:03:28 +01:00
Davanum Srinivas
efd8723ece
Bump GOLANG_VERSION to build etcd (from 1.16.x to 1.17.x)
Also fix REVISION back to `0` this was missed in the previous PR

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-11-23 10:02:03 -05:00
Paco Xu
a8b22ff28c upgrade etcd 3.5.6 for image build 2022-11-22 17:08:12 +08:00
Mark Rossetti
ecd543be04
Remove out-of-support Windows 20H2 images
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-10-12 14:43:51 -07:00
Davanum Srinivas
4e650c3c7c
etcd: Build image 3.5.5-0
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-15 15:37:10 -04:00
Wes Panther
6ac853fe60 Update Debian base images to latest
- debian-base:bullseye-v1.3.0
- debian-iptables:bullseye-v1.4.0
- setcap:bullseye-v1.3.0
2022-06-13 21:36:46 -07:00
Davanum Srinivas
50bea1dad8
Move from k8s.gcr.io to registry.k8s.io
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-05-31 10:16:53 -04:00
Manish Kumar
f1ed75bcd7 etcd: Build image 3.5.4-0 2022-05-13 13:02:40 +05:30
Marek Siarkowicz
b0f3f015d7
Build etcd v3.5.3 image
Co-authored-by: Stephen Augustus <foo@auggie.dev>
2022-04-13 16:25:14 -04:00
Stephen Augustus
cddd83c997
Update Debian base images
- debian-base:bullseye-v1.2.0
- debian-iptables:bullseye-v1.3.0
- setcap:bullseye-v1.2.0

Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-04-13 16:23:54 -04:00
Stephen Kitt
080c6c711e
Upgrade to blang/semver/v4 v4.0.0
This is the first version to be fully go-mod-compatible.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2022-03-28 09:33:23 +02:00
Marek Siarkowicz
8f5250e3fe Start building etcd v3.6.0-alpha.0 image for scalability tests 2022-02-28 13:58:18 +01:00
Marek Siarkowicz
5f7ff4d18b
Add serathius to etcd image owners 2022-02-17 10:25:47 +01:00
kerthcet
3734e05e14 fix not return when channel closed
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-14 10:47:01 +08:00
Davanum Srinivas
9682b7248f
OWNERS cleanup - Jan 2021 Week 1
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-01-10 08:14:29 -05:00
Kubernetes Prow Robot
f97d3f9b38
Merge pull request #106019 from ahrtr/replace_ioutil_with_io_os_cluster_images_etcd
Replace ioutil with io and os for cluster/images/etcd
2022-01-06 12:50:27 -08:00
Kubernetes Prow Robot
95b4e46db0
Merge pull request #106593 from claudiubelu/windows/etcd-image2
Adds Windows support for etcd image
2021-12-21 15:59:35 -08:00
Carlos Panato
4bda9697ee
[go1.17] Update to go1.17.5
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-10 16:58:29 +01:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-09 21:31:26 -05:00
ahrtr
f01ecfabf4 replace ioutil with io and os for cluster/images/etcd;
bump the REVISION in Makefile to 5
2021-12-10 03:13:17 +08:00
wpedrak
183793cb27 Update version.txt only when necessary
Follow up on https://github.com/kubernetes/kubernetes/pull/106653
2021-12-09 10:09:49 +01:00
Kubernetes Prow Robot
68bd9994ae
Merge pull request #106833 from cpanato/go117
[go1.17] Update to go1.17.4
2021-12-07 19:28:44 -08:00
Kubernetes Prow Robot
4c3bcf52db
Merge pull request #106653 from wpedrak/resilient-version.txt
Make writing version.txt more resilient
2021-12-07 18:27:14 -08:00
Carlos Panato
2adf0e116c
[go1.17] Update to go1.17.4
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-06 09:40:54 +01:00
wpedrak
d5e1ee4de8 Make writing version.txt more resilient
Writing file first truncate it and writes later on. During disk space pressure it may cause file to become empty. To mitigate above, we create file with new version first and then move it in place of old one (to make sure that disk space is available)
2021-11-26 12:44:50 +01:00
xuweiwei
9ab5c8a36f Fix typo
depenging -> depending
permssion -> permission

Signed-off-by: xuweiwei <xuweiwei_yewu@cmss.chinamobile.com>
2021-11-23 16:18:13 +08:00
Claudiu Belu
c1656d1604 Adds Windows support for etcd image
We can use docker buildx in order to build and push Windows images from the same Linux node,
as long as the Dockerfile does not have any RUN commands in the Windows step.

We also need to create a non-default builder instance in order to be able to build and
push Windows images.

The Windows images have to be built and pushed directly to the registry.

For Windows containers without Hyper-V isolation, the host OS Version and the
Container OS Version need to match, which is why we added multiple Windows OS Versions
to the building process.

For the manifest list, we need to also annotate the Windows OS Version, so the Windows nodes
will be able to pull the proper image from the manifest list.

Adds support for Windows OS Versions: 1809, 2004, 20H2, ltsc2022.

Bumped etcd image revision.
2021-11-22 12:27:57 +00:00
Carlos Panato
abbf8c3bed
[go1.17] Update to go1.17.3
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-11-07 16:29:35 +01:00