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(CI): testing releasing building on PRs #1114

Merged
merged 2 commits into from
Dec 18, 2024

Conversation

seriousben
Copy link
Member

@seriousben seriousben commented Dec 17, 2024

Context

Issues preventing publishing of the server are only found at publishing time.

What

This PR builds the release packages on PRs to detect issues early and aligns x86 with arm64.

It is possible to remove our docker images, cross still defaults to ubuntu 20.04 and there are some node 22 dependency conflicts when using ubuntu 20.04 with what is installed by cross.

See cross-rs/cross#1580 and cross-rs/cross#973

In the future, we should also build images on PR, but since our release image relies on deb, this is impractical for this PR.

Testing

Contribution Checklist

  • If the python-sdk was changed, please run make fmt in python-sdk/.
  • If the server was changed, please run make fmt in server/.
  • Make sure all PR Checks are passing.

@seriousben seriousben force-pushed the seriousben/fix-cross-builds branch 6 times, most recently from 65a45ec to a59f6e9 Compare December 18, 2024 03:34
@seriousben seriousben marked this pull request as ready for review December 18, 2024 13:59
@seriousben seriousben force-pushed the seriousben/fix-cross-builds branch 2 times, most recently from 63d633f to bcc854c Compare December 18, 2024 14:34
@seriousben seriousben force-pushed the seriousben/fix-cross-builds branch from bcc854c to 408ef7c Compare December 18, 2024 14:48
@seriousben seriousben merged commit b4ea80f into main Dec 18, 2024
8 checks passed
@seriousben seriousben deleted the seriousben/fix-cross-builds branch December 18, 2024 15:02
"dpkg --add-architecture $CROSS_DEB_ARCH",
"mkdir -p /.npm",
"chown -R 1000:1000 /.npm"
"chown -R 1001:128 /.npm"
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like some pure magic. Is this Ubuntu specific uid, gid?

Copy link
Member Author

Choose a reason for hiding this comment

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

Something like that. For some reason this started breaking for Ubuntu 20 and 22.

That is the part, I can't explain.

Copy link
Contributor

Choose a reason for hiding this comment

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

:)

@eabatalov
Copy link
Contributor

Very nice cleanup + ubuntu update.

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