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.toml: add migration for hostname-override-source #4127

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

cbgbt
Copy link
Contributor

@cbgbt cbgbt commented Aug 5, 2024

Description of changes:
Adds the migration introduced in #4118 to Release.toml

Testing done:

  • Migration testing in progress
    • settings.kubernetes.hostname-override-source becomes present on upgrade
    • The setting is removed on downgrade

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

A Rust compiler update broke type inference on one of our dependencies,
which is not covered by Rust's compiler compatability guarantee.
@@ -2655,9 +2655,9 @@ dependencies = [

[[package]]
name = "time"
version = "0.3.34"
version = "0.3.36"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this change needed by the migration or is this change required to fix another problem?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The build currently fails without this: https://github.com/bottlerocket-os/bottlerocket/actions/runs/10254923209/job/28370732469

I'm not really sure how this didn't cause previous Actions jobs to fail.

Copy link
Contributor

Choose a reason for hiding this comment

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

rust-lang/rust#125319 (comment)

There was an regression introduced in time. I was following this above issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The Rust compiler has weaker backwards compatibility guarantees specifically regarding type inference, so this was caused by the compiler update with the new SDK.

But I don't understand why the build in #4122 didn't also fail.

@cbgbt cbgbt marked this pull request as ready for review August 5, 2024 21:08
@cbgbt cbgbt merged commit 4d43022 into bottlerocket-os:develop Aug 5, 2024
29 checks passed
@cbgbt cbgbt deleted the hostname-override-source branch August 5, 2024 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants