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

update to debian bullseye, buster EOL soon #4066

Merged

Conversation

jackfrancis
Copy link
Contributor

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

Debian buster has been EOL for a while and its LTS is soon to be over. Reference:

This PR updates Dockerfile references to build from buster + 1 --> bullseye.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

build images from debian bullseye

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels Jun 7, 2023
@netlify
Copy link

netlify bot commented Jun 7, 2023

Deploy Preview for kubernetes-sigs-cloud-provide-azure canceled.

Name Link
🔨 Latest commit ba74d4e
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-cloud-provide-azure/deploys/648a72858915b4000854a1f7

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 7, 2023
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 7, 2023
Makefile Outdated
@@ -125,7 +125,7 @@ $(BIN_DIR)/azure-acr-credential-provider.exe: $(PKG_CONFIG) $(wildcard cmd/acr-c
.PHONY: docker-pull-prerequisites
docker-pull-prerequisites: ## Pull prerequisite images.
docker pull docker/dockerfile:1
docker pull docker.io/library/golang:buster
docker pull docker.io/library/golang:bullseye
Copy link
Contributor

@sozercan sozercan Jun 7, 2023

Choose a reason for hiding this comment

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

i am not sure why it's being pre-pulled here, but if you are prepulling I would set this as a variable instead of defining in multiple places, and then pass in as docker build args. However, dependabot won't be able to update the image.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also not sure, just trying to get this update process started. @feiskyer @lzhecheng feel free to offer a better path forward that doesn't require refactoring all of the existing CI.

Copy link
Contributor

Choose a reason for hiding this comment

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

It doesn't seem necessary to me. Can we get rid of this target? @feiskyer

Copy link
Contributor

Choose a reason for hiding this comment

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

@lodrem can we remove this target?

Copy link
Member

Choose a reason for hiding this comment

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

let's get this step removed.

Copy link
Contributor

Choose a reason for hiding this comment

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

@jackfrancis confirmed with Pengfei and we think this target can be removed. Could you please update the PR and rebase? Thank you!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Rebased and removed docker-pull-prerequisites entirely. Let me know if that's not what you meant!

Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you!
There's a merge conflict and a typo (not from this PR) blocking this PR from merging. Since the change is small, I pushed by myself to this PR.

@MartinForReal MartinForReal changed the title update to debian bullseye, buster EOL sool update to debian bullseye, buster EOL soon Jun 8, 2023
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 9, 2023
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. do-not-merge/contains-merge-commits and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 14, 2023
jackfrancis and others added 2 commits June 15, 2023 02:03
Signed-off-by: Zhecheng Li <zhechengli@microsoft.com>
@lzhecheng
Copy link
Contributor

/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 Jun 15, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jackfrancis, lzhecheng

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 Jun 15, 2023
@k8s-ci-robot k8s-ci-robot merged commit 1d18fd0 into kubernetes-sigs:master Jun 15, 2023
18 of 19 checks passed
@MartinForReal
Copy link
Contributor

/cherrypick release-1.27

@MartinForReal
Copy link
Contributor

/cherrypick release-1.26

@MartinForReal
Copy link
Contributor

/cherrypick release-1.25

@MartinForReal
Copy link
Contributor

/cherrypick release-1.24

@k8s-infra-cherrypick-robot

@MartinForReal: #4066 failed to apply on top of branch "release-1.27":

Applying: update to debian bullseye, buster EOL sool
Using index info to reconstruct a base tree...
M	Dockerfile
Falling back to patching base and 3-way merge...
Auto-merging Dockerfile
CONFLICT (content): Merge conflict in Dockerfile
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 update to debian bullseye, buster EOL sool
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-1.27

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.

@k8s-infra-cherrypick-robot

@MartinForReal: #4066 failed to apply on top of branch "release-1.26":

Applying: update to debian bullseye, buster EOL sool
Using index info to reconstruct a base tree...
M	Dockerfile
M	Makefile
M	cloud-node-manager.Dockerfile
M	e2e.Dockerfile
Falling back to patching base and 3-way merge...
Auto-merging e2e.Dockerfile
CONFLICT (content): Merge conflict in e2e.Dockerfile
Auto-merging cloud-node-manager.Dockerfile
Auto-merging Makefile
CONFLICT (content): Merge conflict in Makefile
Auto-merging Dockerfile
CONFLICT (content): Merge conflict in Dockerfile
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 update to debian bullseye, buster EOL sool
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-1.26

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.

@k8s-infra-cherrypick-robot

@MartinForReal: #4066 failed to apply on top of branch "release-1.25":

Applying: update to debian bullseye, buster EOL sool
Using index info to reconstruct a base tree...
M	Dockerfile
M	Makefile
M	cloud-node-manager.Dockerfile
M	e2e.Dockerfile
Falling back to patching base and 3-way merge...
Auto-merging e2e.Dockerfile
CONFLICT (content): Merge conflict in e2e.Dockerfile
Auto-merging cloud-node-manager.Dockerfile
Auto-merging Makefile
CONFLICT (content): Merge conflict in Makefile
Auto-merging Dockerfile
CONFLICT (content): Merge conflict in Dockerfile
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 update to debian bullseye, buster EOL sool
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-1.25

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.

@k8s-infra-cherrypick-robot

@MartinForReal: #4066 failed to apply on top of branch "release-1.24":

Applying: update to debian bullseye, buster EOL sool
Using index info to reconstruct a base tree...
M	Dockerfile
M	Makefile
M	cloud-node-manager.Dockerfile
M	e2e.Dockerfile
Falling back to patching base and 3-way merge...
Auto-merging e2e.Dockerfile
CONFLICT (content): Merge conflict in e2e.Dockerfile
Auto-merging cloud-node-manager.Dockerfile
Auto-merging Makefile
CONFLICT (content): Merge conflict in Makefile
Auto-merging Dockerfile
CONFLICT (content): Merge conflict in Dockerfile
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 update to debian bullseye, buster EOL sool
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-1.24

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.

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. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. 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.

None yet

7 participants