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

feat: advance to ubuntu 24.04 #1416

Open
wants to merge 24 commits into
base: develop
Choose a base branch
from
Open

feat: advance to ubuntu 24.04 #1416

wants to merge 24 commits into from

Conversation

samrose
Copy link
Collaborator

@samrose samrose commented Jan 22, 2025

What kind of change does this PR introduce?

  • Advance ubuntu to 24.04

@samrose
Copy link
Collaborator Author

samrose commented Jan 29, 2025

next step is to test this in local infra setups. @pcnc would love to collaborate with you on what should be tested here.

@samrose samrose marked this pull request as ready for review February 6, 2025 19:13
@samrose samrose requested a review from a team as a code owner February 6, 2025 19:13
@samrose samrose changed the title feat: wip advance to ubuntu 24.04 feat: advance to ubuntu 24.04 Feb 6, 2025
@samrose samrose marked this pull request as draft February 6, 2025 19:15
@samrose samrose force-pushed the sam/ubuntu-24-04 branch from 9975d5b to 2d6bd69 Compare April 1, 2025 18:42
@samrose samrose marked this pull request as ready for review April 1, 2025 22:53
@samrose samrose requested a review from a team as a code owner April 1, 2025 22:53
Copy link
Contributor

@darora darora left a comment

Choose a reason for hiding this comment

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

Minor nits, generally looks ok!

Copy link
Contributor

@tgallacher tgallacher left a comment

Choose a reason for hiding this comment

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

seems reasonable: should still be subject to the required testing / validation 🙏

@samrose
Copy link
Collaborator Author

samrose commented Apr 2, 2025

seems reasonable: should still be subject to the required testing / validation 🙏

Thanks @tgallacher yes this definitely won't be merged until run through local infra testing scenarios. We should use incremental rollout when deployed too.

@za-arthur
Copy link
Contributor

Just minor observation, it seems that README.md is generated now #1453. It could make sense to update the script nix/tools/update_readme.nu:

"- ✅ Ubuntu 20.04 (Focal Fossa)."

@samrose samrose force-pushed the sam/ubuntu-24-04 branch from 22e96b4 to be81efa Compare April 2, 2025 18:59
@samrose
Copy link
Collaborator Author

samrose commented Apr 2, 2025

Just minor observation, it seems that README.md is generated now #1453. It could make sense to update the script nix/tools/update_readme.nu:

"- ✅ Ubuntu 20.04 (Focal Fossa)."

resolve thanks!

@samrose samrose force-pushed the sam/ubuntu-24-04 branch from 73bff06 to 6f5d30c Compare April 2, 2025 20:25
@@ -141,7 +141,7 @@ jobs:
- name: Upload nix flake revision to s3 prod
run: |
aws s3 cp /tmp/pg_binaries.tar.gz s3://${{ secrets.PROD_ARTIFACTS_BUCKET }}/upgrades/postgres/supabase-postgres-${{ steps.process_release_version.outputs.version }}/20.04.tar.gz
aws s3 cp /tmp/pg_binaries.tar.gz s3://${{ secrets.PROD_ARTIFACTS_BUCKET }}/upgrades/postgres/supabase-postgres-${{ steps.process_release_version.outputs.version }}/24.04.tar.gz
Copy link
Member

Choose a reason for hiding this comment

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

Can these version changes be deduplicated?

Copy link
Collaborator Author

@samrose samrose Apr 2, 2025

Choose a reason for hiding this comment

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

@steve-chavez we can certainly address this. But as @pcnc had discussed in slack thread, these are currently tied to infrastructure functionality. So, instead of trying to make those changes as a part of the upgrade to ubuntu 24.04 PR, let's create another PR where we can introduce those changes and test and make sure nothing else breaks. We should not try to accomplish that in this PR.

@@ -113,7 +113,7 @@ jobs:

- name: Upload pg_upgrade scripts to s3 prod
run: |
aws s3 cp /tmp/pg_upgrade_bin.tar.gz s3://${{ secrets.PROD_ARTIFACTS_BUCKET }}/upgrades/postgres/supabase-postgres-${{ steps.process_release_version.outputs.version }}/20.04.tar.gz
aws s3 cp /tmp/pg_upgrade_bin.tar.gz s3://${{ secrets.PROD_ARTIFACTS_BUCKET }}/upgrades/postgres/supabase-postgres-${{ steps.process_release_version.outputs.version }}/24.04.tar.gz
Copy link
Member

Choose a reason for hiding this comment

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

Ditto. Deduplication is needed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, agree we should address this. As stated above, as @pcnc had discussed in slack thread, these are currently tied to infrastructure functionality. So, instead of trying to make those changes as a part of the upgrade to ubuntu 24.04 PR, let's create another PR where we can introduce those changes and test and make sure nothing else breaks. We should not try to accomplish that in this PR.

@samrose samrose force-pushed the sam/ubuntu-24-04 branch from 6f5d30c to be3a961 Compare April 4, 2025 19:20
@samrose
Copy link
Collaborator Author

samrose commented Apr 4, 2025

working on retest of this branch, and then should be ready to put into staging

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.

5 participants