433 Commits

Author SHA1 Message Date
Benjamin Elder
3e4f3d203b drop GA-only special case
see https://github.com/kubernetes/test-infra/pull/35830
2025-10-31 13:39:01 -07:00
Benjamin Elder
a314eea4ae make setup-go.sh GOTOOLCHAIN aware
TODO: deal with gimme is broken
2025-10-22 15:13:28 -07:00
Akihiro Suda
051af130e1 CI: add AlmaLinux 8 VM for cgroup v1 testing
Fix issue 3942

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-10-01 20:01:14 +09:00
Benjamin Elder
3d8d935a69 switch to k8s-infra hosted image for staging builds 2025-06-05 12:29:10 -07:00
Benjamin Elder
e1bff59a35 default to staging registry 2025-05-15 13:02:10 -07:00
Akihiro Suda
7d1db9d0cf CI: simplify setting up Lima
https://github.com/lima-vm/lima-actions is used

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-03-06 16:22:07 +09:00
Benjamin Elder
673b9425ac enhance push-node script 2025-02-13 12:52:27 -08:00
Kubernetes Prow Robot
78cdad2610 Merge pull request #3823 from BenTheElder/fix-push-node
fix push node having qemu setup reliably
2025-01-23 15:39:21 -08:00
Benjamin Elder
128683bb77 add new push-node.sh that uses pre-compiled upstream releases 2024-12-13 11:42:16 -08:00
Benjamin Elder
2e88d9d124 fix push node having qemu setup reliably 2024-12-13 11:24:10 -08:00
Benjamin Elder
20b3d8e3f2 increase golangci-lint timeout 50% 2024-12-11 16:13:01 -08:00
Benjamin Elder
8f97ed0d01 update go mod for tools to 1.23 2024-12-11 13:10:47 -08:00
Benjamin Elder
a8d7de91c7 update generated.sh for gengo changes 2024-12-11 13:10:47 -08:00
Benjamin Elder
0b4976f0e0 upgrade tools 2024-12-11 13:10:47 -08:00
elieser pereira
c613603ebb update container-log-max-size
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2024-11-03 08:39:18 -03:00
elieser pereira
f94fbf31a9 update container-log-max-files-max-size 2024-11-02 18:03:39 -03:00
Akihiro Suda
642dde94ed CI: VM: switch away from Vagrant to Lima
Unlike the current version of Vagrant, Lima remains FLOSS,
and is easier to debug (at least for myself)

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-10-08 18:22:06 +09:00
Sean McGinnis
88f6cc7079 Remove DOCKER_CLI_EXPERIMENTAL usage
The DOCKER_CLI_EXPERIMENTAL environment variable was used to enable
experimental features in the docker CLI. This capability was deprecated
in Docker v19.03 and completely removed in v23.0 [0].

This removes the setting of DOCKER_CLI_EXPERIMENTAL from our scripts as
it no longer has any effect and is not needed.

[0] https://docs.docker.com/engine/deprecated/#configuration-options-for-experimental-cli-features

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2024-06-28 13:45:39 +00:00
Benjamin Elder
7284cbc588 Merge pull request #3654 from BenTheElder/update-fedora
switch to currently supported fedora
2024-06-20 15:21:25 -07:00
Benjamin Elder
0ff901d996 switch to currently supported fedora (39) 2024-06-20 14:44:48 -07:00
Kubernetes Prow Robot
b6c15be894 Merge pull request #3582 from pohly/e2e-k8s-label-filter
e2e-k8s.sh: support --ginkgo.label-filter
2024-06-12 00:41:47 -07:00
Patrick Ohly
165e08b4bb e2e-k8s.sh: support --ginkgo.label-filter
The label filter query is more expressive (logical operations) and readable (no
regexp unless absolutely required). Such a query can be combined with focus +
skip, but in practice a single label filter can replace both of those and is
easier to understand.

Kubernetes has supported ginkgo v2 and thus --label-filter since v1.25.0. This
makes it safe to pass that command line flag unconditionally when invoking the
E2E suite.
2024-06-12 08:49:31 +02:00
Benjamin Elder
79a1f520b5 switch to an active mirror 2024-06-11 12:18:43 -07:00
Benjamin Elder
3652d39e04 force GOTOOLCHAIN="go${GO_VERSION}" for now
TODO: look at using deprecating .go-version in favor of GOTOOLCHAIN existing knobs
2024-04-01 15:52:31 -07:00
Benjamin Elder
a8ee57f331 disbale unused-parameter lint for now 2024-04-01 15:52:31 -07:00
Benjamin Elder
4121af1571 Require go 1.17+
This enables better dependency management via  https://go.dev/ref/mod#graph-pruning

We previously required 1.16+

We don't want to require especially recent versions because that will break users with `go install` using older packaged golang.

We use currently supported much more recent go for our own builds.
2024-04-01 15:52:31 -07:00
Akihiro Suda
a9a6617c15 CI: rename cgroup2.yaml to vm.yaml
"cgroup2.yaml" is becoming misnomer, as PR 3409 is going to enable native
ubuntu-22.04 runners with cgroup2.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-01-21 21:48:41 +09:00
Akihiro Suda
f182ab2780 GitHub Actions: use Linux runners for nested virt
"Larger" runners are no longer needed for Linux with nested virt.

Replaces PR 3382

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-01-19 20:34:42 +09:00
Ricky Sadowski
59a10277dd Update hack/ci/e2e-k8s.sh
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2023-08-14 04:21:02 -04:00
Ricky Sadowski
23a0a084f4 fix: ensure proper kubectl is used
Signed-off-by: Ricky Sadowski <richard.j.sadowski@gmail.com>
2023-08-13 23:58:02 +00:00
Benjamin Elder
d8e621986e update qemu to latest 2023-05-10 11:09:01 -07:00
Benjamin Elder
99008b5ce7 ignore third_party scripts in all image sources 2023-05-09 14:38:32 -07:00
Benjamin Elder
2c2b553108 build external go binaries from source
- streamlines patching go version related CVEs
- ensures binaries with CGO are linked to the library version we'll be using
2023-05-09 13:54:06 -07:00
Benjamin Elder
20df3b9e8e don't build kindnetd image in build job
we have a post-submit build, if we need presubmit build we can add a dedicated job with appropriate resources

building this is slow and we rarely make changes, and we don't immediately pickup the results until kindnetd image reference is upgraded anyhow.
2023-04-24 15:51:56 -07:00
Benjamin Elder
02c49a7822 use dnsSearch in CI 2023-04-18 13:02:12 -07:00
Shiming Zhang
39d5f757cb Update get-contributors.sh
ci: Fix incorrect token identification
2023-04-17 17:23:02 +08:00
Patrick Ohly
5551b32448 e2e-k8s.sh: support alpha features
FEATURE_GATES and RUNTIME_CONFIG can be set to populate the corresponding kind
config and thus modify the cluster.

For the sake of simplicity, not attempt is made to merge the settings from
GA_ONLY with these new env variables. If GA_ONLY=true is set, the new env
variables are ignored.
2023-04-14 14:40:56 +02:00
Benjamin Elder
787d0fb1c2 drop platforms we cannot test (s390x, ppc64le)
these are seriously slowing down builds, adding build flakes in CI due to emulation bugs, and we cannot locally test them nor do we have CI.

with very limited user demand, we're removing them.
2023-03-16 22:29:24 -07:00
lixin18
b2c2a2dfb2 Update Vagrantfile
enviromnet->environment
2023-03-09 09:45:20 +08:00
Antonio Ojea
fb0bf0b06a bump golangic-lint to 1.51.2 2023-02-27 15:25:54 +00:00
Jordan Liggitt
e8e209de63 Log cluster version after creating it 2023-01-31 14:39:54 -05:00
Jordan Liggitt
03f9b785e8 Clean up GA_ONLY handling for versions older than 1.19 2023-01-31 14:35:50 -05:00
Benjamin Elder
0518c583a7 fix new shellcheck v0.9.0 failure
this code is not unreachable
2022-12-15 11:43:50 -08:00
Benjamin Elder
71273df4ca bump shellcheck to v0.9.0 2022-12-15 11:43:26 -08:00
Benjamin Elder
1e6dd80e46 fix vagrant-helper shellcheck 2022-12-15 11:37:40 -08:00
Benjamin Elder
5e3f8597bf update gimme 2022-12-15 11:37:40 -08:00
Benjamin Elder
1551bfd45e support host shellcheck binary and DOCKER=podman 2022-12-15 11:37:29 -08:00
Akihiro Suda
d75e5926da CI: update Fedora to 37
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-11-18 09:36:54 +09:00
Benjamin Elder
a5ca2a9f7d support not setting GITHUB_OAUTH_TOKEN
note: the unauthenticated rate limit is a low per-ip limit IIRC
but it may be OK for small releases
2022-09-06 10:47:40 -07:00
Benjamin Elder
d8fc04068a add instructions to push alpha tag 2022-09-01 18:09:38 -07:00