Skip to content

Conversation

@justaugustus
Copy link
Member

What type of PR is this?

/kind cleanup regression

What this PR does / why we need it:

sigs.k8s.io/k8s-container-image-promoter is currently stuck on go1.15
due to a variety of bazel dependency updates that are not straightforward
to untangle.

Due to the incompatibility of the updated os/io packages with go1.15, we're
no longer able to update k/release in k-sigs/cip.

This commit reverts the go1.16 os/io usage to the go1.15-compatible ioutil
methods.

Signed-off-by: Stephen Augustus foo@auggie.dev

Which issue(s) this PR fixes:

Special notes for your reviewer:

/hold going to quickly check if this is now importable from k-sigs/cip using my fork

Does this PR introduce a user-facing change?

- pkg/cip: Revert os/io go1.16 changes

  sigs.k8s.io/k8s-container-image-promoter is currently stuck on go1.15
  due to a variety of bazel dependency updates that are not straightforward
  to untangle.
  
  Due to the incompatibility of the updated os/io packages with go1.15, we're
  no longer able to update k/release in k-sigs/cip.
  
  This commit reverts the go1.16 os/io usage to the go1.15-compatible ioutil
  methods.

sigs.k8s.io/k8s-container-image-promoter is currently stuck on go1.15
due to a variety of bazel dependency updates that are not straightforward
to untangle.

Due to the incompatibility of the updated os/io packages with go1.15, we're
no longer able to update k/release in k-sigs/cip.

This commit reverts the go1.16 os/io usage to the go1.15-compatible ioutil
methods.

Signed-off-by: Stephen Augustus <foo@auggie.dev>
@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. kind/regression Categorizes issue or PR as related to a regression from a prior release. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-priority labels May 30, 2021
@k8s-ci-robot k8s-ci-robot added area/artifacts Issues or PRs related to the hosting of release artifacts for subprojects area/release-eng Issues or PRs related to the Release Engineering subproject approved Indicates a PR has been approved by an approver from all required OWNERS files. sig/release Categorizes an issue or PR as relevant to SIG Release. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 30, 2021
Copy link
Contributor

@hasheddan hasheddan left a comment

Choose a reason for hiding this comment

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

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hasheddan, justaugustus

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

@justaugustus
Copy link
Member Author

(Testing here: kubernetes-sigs/promo-tools#299)

@justaugustus
Copy link
Member Author

Still getting test errors in kubernetes-sigs/promo-tools#299, but they're unrelated and also visible in kubernetes-sigs/promo-tools#285 and kubernetes-sigs/promo-tools#291.

/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 May 30, 2021
@k8s-ci-robot k8s-ci-robot merged commit 919096c into kubernetes:master May 30, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.22 milestone May 30, 2021
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. area/artifacts Issues or PRs related to the hosting of release artifacts for subprojects area/release-eng Issues or PRs related to the Release Engineering subproject cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. kind/regression Categorizes issue or PR as related to a regression from a prior release. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/release Categorizes an issue or PR as relevant to SIG Release. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants