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

[Release-3.5] Makefile: additional logic fix / Update Ubuntu base #13861

Merged
merged 2 commits into from
Oct 12, 2022

Conversation

mrueg
Copy link
Contributor

@mrueg mrueg commented Mar 31, 2022

backport of #13860 and updating the used ubuntu base image to something that is not EOL.

@mrueg
Copy link
Contributor Author

mrueg commented Mar 31, 2022

@ptabor let me know if you're okay with 21.10 (will only have support till July) here or want to revert it to 20.04 (it was 18.04 originally, then moved to 20.10)

tests/Dockerfile Outdated
@@ -1,4 +1,4 @@
FROM ubuntu:20.10
FROM ubuntu:21.10
Copy link
Member

Choose a reason for hiding this comment

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

It isn't necessary to keep using the same version across different releases. I'd defer to others (@serathius @ptabor @spzala ) to make a decision here.

Copy link
Contributor Author

@mrueg mrueg Apr 1, 2022

Choose a reason for hiding this comment

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

This one got updated due to ubuntu 20.10 being EOL and failing with

E: The repository 'http://security.ubuntu.com/ubuntu groovy-security Release' does not have a Release file.

when trying to build.

Copy link
Contributor

Choose a reason for hiding this comment

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

Updating to 21.10 looks good to me.

@serathius
Copy link
Member

Question: Are we using test docker image at all?

@mrueg
Copy link
Contributor Author

mrueg commented Apr 4, 2022

It's referenced in https://github.com/etcd-io/etcd/blob/main/Makefile#L69 which builds gcr.io/etcd-development/etcd-test:go-1.x which is used in https://github.com/etcd-io/etcd/blob/main/Makefile#L124

@serathius
Copy link
Member

Sure

It's referenced in https://github.com/etcd-io/etcd/blob/main/Makefile#L69 which builds gcr.io/etcd-development/etcd-test:go-1.x which is used in https://github.com/etcd-io/etcd/blob/main/Makefile#L124

Sure, however we no longer use docker-test in CI. Instead of fixing the commands we are unsure anyone uses we should decide whether it's worth to maintain them. I think we should open an issue to propose dropping support for testing in docker and ask if anyone uses them.

@mrueg
Copy link
Contributor Author

mrueg commented Apr 4, 2022

Sure

It's referenced in https://github.com/etcd-io/etcd/blob/main/Makefile#L69 which builds gcr.io/etcd-development/etcd-test:go-1.x which is used in https://github.com/etcd-io/etcd/blob/main/Makefile#L124

Sure, however we no longer use docker-test in CI. Instead of fixing the commands we are unsure anyone uses we should decide whether it's worth to maintain them. I think we should open an issue to propose dropping support for testing in docker and ask if anyone uses them.

Sounds good, I guess for the release-3.5 it still makes sense to keep changes minimal?

@stale
Copy link

stale bot commented Jul 10, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 10, 2022
@ahrtr ahrtr added stage/tracked and removed stale labels Jul 10, 2022
@ahrtr
Copy link
Member

ahrtr commented Oct 9, 2022

@mrueg Could you please rebase this PR and signoff each commit? Although docker test has already been removed from main, this PR makes sense for 3.5.

@mrueg
Copy link
Contributor Author

mrueg commented Oct 9, 2022

@ahrtr sure, done!

@ahrtr
Copy link
Member

ahrtr commented Oct 9, 2022

@ahrtr sure, done!

This PR is still based on an very old commit (mrueg@bf22ef3). You need to sync your local branch release-3.5 with the upstream release-3.5, and then rebase this PR against your local release-3.5 branch.

It should can resolve the semaphoreci failure.

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
ubuntu 20.10 is EOL and fails with
E: The repository 'http://security.ubuntu.com/ubuntu groovy-security Release' does not have a Release file.

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
@mrueg
Copy link
Contributor Author

mrueg commented Oct 10, 2022

Rebased and switched it to ubuntu 22.04, as ubuntu 21.10 went EOL in July.

Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

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

LGTM

Thank you @mrueg

Copy link
Member

@spzala spzala left a comment

Choose a reason for hiding this comment

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

@mrueg thanks! lgtm, defer to @serathius @ahrtr Also, how about v3.4 which use ubuntu 18.04 ?

@ahrtr
Copy link
Member

ahrtr commented Oct 12, 2022

Thanks @spzala

@mrueg would you mind backporting this PR to 3.4 ?

@ahrtr ahrtr merged commit acc7463 into etcd-io:release-3.5 Oct 12, 2022
@mrueg
Copy link
Contributor Author

mrueg commented Oct 14, 2022

@ahrtr which part do you want to see backported to 3.4? release-3.4 uses ubuntu 18.04 which should be EOL Apr 2023.

@ahrtr
Copy link
Member

ahrtr commented Oct 14, 2022

@ahrtr which part do you want to see backported to 3.4? release-3.4 uses ubuntu 18.04 which should be EOL Apr 2023.

Thanks for the info. 3.4 will be out of support once v3.6.0 is released. But it isn't clear when 3.6.0 will be available for now. So It might be better to bump to 22.04 for 3.4 as well.

https://wiki.ubuntu.com/Releases

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

Successfully merging this pull request may close these issues.

5 participants