Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download binaries from dl.k8s.io instead of a bucket #251

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

upodroid
Copy link
Member

@upodroid upodroid commented Nov 21, 2023

/cc @ameukam @BenTheElder @dims

Fixes: #239
Part of: kubernetes/test-infra#18789 and kubernetes/k8s.io#2396

kops is another large project that fetches from the kubernetes-release/k8s-release-dev buckets but it has a custom implementation at https://github.com/kubernetes/kops/tree/master/tests/e2e/pkg/tester that I'll fix separately.

Lets merge this as soon as code freeze is over and bump the kubekins-e2e image. We should start seeing jobs failing and we can fix them

Improvements:

  • kubetest2 can now fetch kube binaries from the internet instead of building it from source
  • ginkgo can fetch kubectl and test binaries from dl.k8s.io or storage.googleapis.com/kubernetes-release

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 21, 2023
@upodroid
Copy link
Member Author

upodroid commented Dec 17, 2023

/assign @michelle192837 @jbpratt
/hold for updating prowjob PRs

This is ready to be merged. Jobs are passing

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 17, 2023
@jbpratt
Copy link

jbpratt commented Dec 17, 2023

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 17, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jbpratt, upodroid

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 17, 2023
@upodroid
Copy link
Member Author

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 18, 2023
@k8s-ci-robot k8s-ci-robot merged commit 71238a9 into kubernetes-sigs:master Dec 18, 2023
12 checks passed
TestPackageVersion string `desc:"The ginkgo tester uses a test package made during the kubernetes build. The tester downloads this test package from one of the release tars published to the Release bucket. Defaults to latest. visit https://kubernetes.io/releases/ to find release names. Example: v1.20.0-alpha.0"`
TestPackageBucket string `desc:"The bucket which release tars will be downloaded from to acquire the test package. Defaults to the main kubernetes project bucket."`
Copy link
Contributor

@rifelpet rifelpet Jan 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is causing test failures: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/e2e-kops-aws-selinux/1744533959024316416

can we finish migrating all jobs to use the new flag, or add this back as a deprecated flag?

EDIT: updated here: kubernetes/test-infra#31585

ameukam added a commit to ameukam/kops that referenced this pull request Jan 18, 2024
`--test-package-bucket` is removed on kubernetes-sigs/kubetest2#251

Signed-off-by: Arnaud Meukam <[email protected]>
zetaab pushed a commit to zetaab/kops that referenced this pull request Jan 22, 2024
`--test-package-bucket` is removed on kubernetes-sigs/kubetest2#251

Signed-off-by: Arnaud Meukam <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is gsutil package required to run kubetest2?
5 participants