Skip to content

Conversation

upodroid
Copy link
Contributor

@upodroid upodroid commented Jun 15, 2023

/cc @dims

The change in kubernetes/test-infra#29824 failed because of an unbound variable.

Now, this change requires some changes in the jobs that grab containerd binaries from GCS.

 REDACTED  C02CW0CDP3YY  ~  Desktop  Git  test-infra   kubetest2  1⚑  $  grep -r containerd-staging .
./jobs/e2e_node/containerd/containerd-release-1.7/env:CONTAINERD_DEPLOY_PATH: 'cri-containerd-staging/containerd/release-1.7'
./jobs/e2e_node/containerd/containerd-release-1.6/env:CONTAINERD_DEPLOY_PATH: 'cri-containerd-staging/containerd/release-1.6'
./jobs/e2e_node/containerd/containerd-release-1.6-presubmit/env:CONTAINERD_DEPLOY_PATH: 'cri-containerd-staging'
./jobs/e2e_node/containerd/containerd-main-presubmit/env:CONTAINERD_DEPLOY_PATH: 'cri-containerd-staging'
./jobs/e2e_node/containerd/containerd-release-1.7-presubmit/env:CONTAINERD_DEPLOY_PATH: 'cri-containerd-staging'
./jobs/e2e_node/containerd/containerd-main/systemd/env:CONTAINERD_DEPLOY_PATH: 'cri-containerd-staging/containerd/master'
./jobs/e2e_node/containerd/containerd-main/cgroupv1/env-cgroupv1:CONTAINERD_DEPLOY_PATH: 'cri-containerd-staging/containerd/master'
./jobs/e2e_node/containerd/containerd-main/env:CONTAINERD_DEPLOY_PATH: 'cri-containerd-staging/containerd/master'
./jobs/e2e_node/containerd/containerd-main/cgroupv2/env-cgroupv2:CONTAINERD_DEPLOY_PATH: 'cri-containerd-staging/containerd/master'

I could add the variable back but I'm not sure it is really needed and containerd did change its branch from master to main.

Old GCS Path: gs://cri-containerd-staging/containerd/master/*
New GCS Path: gs://cri-containerd-staging/containerd/*

@k8s-ci-robot
Copy link

Hi @upodroid. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Member

@dims dims left a comment

Choose a reason for hiding this comment

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

LGTM

@dims
Copy link
Member

dims commented Jun 15, 2023

cc @mikebrow

Signed-off-by: upodroid <cy@borg.dev>
@upodroid upodroid force-pushed the fix-unbound-variable branch from 34eb4d3 to d358f16 Compare June 15, 2023 20:18
@upodroid
Copy link
Contributor Author

On 2nd thoughts, I do need to set DEPLOY_DIR in those jobs. The release markers will be clobbered if the folders are shared between different branches.

Lets merge this anyway.

 REDACTED  C02CW0CDP3YY  ~  Desktop  Git  containerd   fix-unbound-variable  $  gsutil ls gs://cri-containerd-staging/containerd/release-1.7 | grep latest
gs://cri-containerd-staging/containerd/release-1.7/latest
 REDACTED  C02CW0CDP3YY  ~  Desktop  Git  containerd   fix-unbound-variable  $  gsutil ls gs://cri-containerd-staging/containerd/master | grep latest
gs://cri-containerd-staging/containerd/master/latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants