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

Reduce Appimage Size #309

Merged

Conversation

jeremyrhyde
Copy link
Contributor

@jeremyrhyde jeremyrhyde commented Dec 18, 2023

Tested arm64 appiamge on bookworm pi

@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Dec 18, 2023
@jeremyrhyde jeremyrhyde marked this pull request as ready for review December 18, 2023 15:48
- sourceline: deb [trusted=yes] http://deb.debian.org/debian-security bullseye-security main
- sourceline: deb [trusted=yes] http://deb.debian.org/debian bullseye-updates main
- sourceline: deb [trusted=yes] https://us-apt.pkg.dev/projects/static-file-server-310021 bullseye main
- sourceline: deb [trusted=yes] http://deb.debian.org/debian bookworm main
Copy link
Contributor Author

Choose a reason for hiding this comment

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

[note] Upgrading to bookworm to use non-dev packages which are smaller and unavailable in bullseye. This upgrade also matches the new red-env used in workflows. Appimage will be backward compatible to bullseye

@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Dec 18, 2023
@JohnN193 JohnN193 added the appimage Build AppImage of PR label Dec 18, 2023
Copy link
Contributor

@abe-winter abe-winter left a comment

Choose a reason for hiding this comment

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

lgtm, see comments for single nit

- libgl1:arm64
- libglvnd0:arm64
- libnlopt0:arm64
- libabsl20220623
Copy link
Contributor

Choose a reason for hiding this comment

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

out of scope for review, but you can probably use a single appimage yml for both platforms

they support environment variable in these, with ${VAR} syntax I believe, and the diff between these files seems fairly small now

(totally optional, only if it matters to you)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We'll handle this in the future, when a larger overhaul of the system occurs

image: ghcr.io/viamrobotics/canon:amd64-cache
platform: amd64
image: ghcr.io/viamrobotics/rdk-devenv:amd64-cache
platform: linux/amd64
Copy link
Contributor

Choose a reason for hiding this comment

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

this may fail when you run it -- this is being consumed elsewhere in the file as matrix.platform, both here + in the upload job

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Made consistent with other workflows

@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Dec 18, 2023
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Dec 18, 2023
@jeremyrhyde jeremyrhyde merged commit ce1f490 into viam-modules:main Dec 18, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appimage Build AppImage of PR safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants