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

chore: use explicit os versions #634

Merged
merged 2 commits into from
Dec 20, 2024
Merged

chore: use explicit os versions #634

merged 2 commits into from
Dec 20, 2024

Conversation

nathanielc
Copy link
Collaborator

This week github updated the ubuntu-latest tag to be ubuntu-24.04. This meant that version 0.47.0 of ceramic-one no longer runs on ubuntu-22. This is unexpected and not in our control. With this change we explicitly name the os versions we target (this matters because of glibc versions). This means we will need to add new versions and deprecate old versions as they are released.

This week github updated the `ubuntu-latest` tag to be ubuntu-24.04.
This meant that version 0.47.0 of ceramic-one no longer runs on
ubuntu-22. This is unexpected and not in our control. With this change
we explicitly name the os versions we target (this matters because of
glibc versions). This means we will need to add new versions and
deprecate old versions as they are released.
@nathanielc nathanielc requested review from smrz2001 and a team as code owners December 19, 2024 15:52
@nathanielc nathanielc requested review from ukstv and removed request for a team December 19, 2024 15:52
Comment on lines +79 to +86
name: ceramic-one_${{ matrix.target }}-${{ matrix.os }}
path: ceramic-one_${{ matrix.target }}-${{ matrix.os }}.bin.tar.gz
- name: Archive Debian Package
uses: actions/upload-artifact@v3
if: ${{ matrix.ext == 'deb' }}
with:
name: ceramic-one_${{ matrix.target }}
path: ceramic-one_${{ matrix.target }}.tar.gz
name: ceramic-one_${{ matrix.target }}-${{ matrix.os }}
path: ceramic-one_${{ matrix.target }}-${{ matrix.os }}.tar.gz
Copy link
Collaborator

Choose a reason for hiding this comment

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

We'll also need to use the new OS suffix in ci-scripts/package.sh when preparing the archive, and in .github/workflows/update-homebrew.yml when retrieving the archive SHA.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Actually, wait, let me check that again.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, I think we'll need to update the other two files since the specific OS version is now also part of the archive name.

Copy link
Collaborator

Choose a reason for hiding this comment

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

As well as this js-ceramic file.

Copy link
Collaborator

@smrz2001 smrz2001 left a comment

Choose a reason for hiding this comment

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

🚀

@nathanielc nathanielc enabled auto-merge December 20, 2024 16:54
@nathanielc nathanielc added this pull request to the merge queue Dec 20, 2024
Merged via the queue into main with commit 4985829 Dec 20, 2024
5 checks passed
@nathanielc nathanielc deleted the chore/ubuntu-22 branch December 20, 2024 17:43
This was referenced Dec 20, 2024
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.

2 participants