-
Notifications
You must be signed in to change notification settings - Fork 60
Earthly #672
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
Conversation
Got a few steps further! @AlexMikhalev However, now I'm failing to build ring:
|
Actually, works on my machine, linux amd64. Your host dependant rust:latest aarch64 doesn't have libssl dependencies - instant-acme and rcgen depend on rand with native openssl, while tokio uses rustls. Error: Will go away as soon as you create a project |
True! It works just fine in the CI :) |
The original ticket from Feb has a better example of cross-compilation than my commit. Funny. |
pnpm is now working including proper caching. Now I want Rust to be properly cached. It keeps re-compiling everything.
I'd expect a cache hit if no files are changed (seems properly working now) but also if the code changes but not the We should only copy the |
I want to test the atomic-server docker image, instead of the compiled binary. However, I'm not quite sure how. There's a catch-22:
Another approach is to use the docker image of playwright, which has node built in. But it seems very inception, because now I have to pass the tests into the docker environment somehow.
|
f512c90
to
9e9fc9c
Compare
Things are mostly working now. Some TODO's / challenges (UPDATED OP)
|
Hmm... I think this is because we do both a release build and a dev build (for |
|
Can't build on mac unfortunately:
Tried this:
But does not seem to help |
2bb2072
to
238b667
Compare
Earhtly failing to save directory:
EDIT: probably this: earthly/earthly#2817 |
d786362
to
9ea7747
Compare
Fix clippy Less flaky test #576 Fix earthly WIP earthfile run earthly github CI earthly main-pipeline Fix test add artefacts CI tauri Upload artifacts tauri deps deps typo Fix test Fix test in build fix test Use explicit satellite Fix use org Disable test Update contribute Fix earthly try fix ci fix CI earthly Fix clippy Lint fix less lint fails
vitest fails in CI:
|
Docker run fails on m1 docker run -p 80:80 -p 443:443 --platform linux/amd64 -v atomic-storage:/atomic-storage joepmeneer/atomic-server:latest
rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2 |
I noticed the musl build failed #619, so reverted that. But I do want a smaller image. I tried the
I can
EDIT: I ended up ignoring this error, because the resulting binary does in fact run. |
Thanks to @AlexMikhalev
TODO:
--artifact
but haven't yet verified if they work.No files were found with the provided path: ./test-results/. No artifacts will be uploaded.
+test
is not caching compilation step for some reasonPR Checklist: