-
Notifications
You must be signed in to change notification settings - Fork 509
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
Fix the assembly of the Docker image in CI #3584
Conversation
build.sbt
Outdated
name = Some("Setup NodeJS v18 LTS"), | ||
params = Map("node-version" -> "18") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was a deliberate choice, since our upstream (core library actually), Cats-Effect, is on v18 in their CI. If it's not a thing, we can bump it.
Maybe Lines 363 to 410 in 0171537
|
Now, CI fails with
Which is a bit more ambiguous. Is it missing |
The error is happening when building the Docker image |
It's true that installing nodejs/npm/yarn globally on a ci machine seemingly shouldn't affect the image build, but the only change that caused this issue, without modifying our build definition, might be related to changes in the running environment, IMHO. So that's why I tried this out. |
44ce10b
to
cb15590
Compare
We have this
but
that's quite puzzling. From the last successful build, we got these versions of nodejs/npm:
while now, we're getting these:
Also, 4 days ago ubuntu-22.04 was updated (JFTR, much likely does not relate). I have no idea how all of these can result in our suffering. But that is it. |
886359e
to
477eace
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3584 +/- ##
=======================================
Coverage 89.80% 89.80%
=======================================
Files 174 174
Lines 5031 5031
Branches 445 493 +48
=======================================
Hits 4518 4518
Misses 513 513 ☔ View full report in Codecov by Sentry. |
Okay, it seems I found something. |
What did you found ? |
@mzuehlke 🤷🏻
It also amazes me, initially I thought the problem was with improper installation of nodejs and/or npm and/or yarn, but ultimately, simply adding sqlite modules resolved the issue (per what was printed during yarn installation). Perhaps, the newer version of nodejs (which is now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks for fixing the build, @danicheg!
Currently, we're experiencing this issue in CI workflows:
It turns out, that we run
npm install --global yarn
within the docker settings defined in the SBT build. So, it's an attempt to fix the issue.