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

Only install coursier and sbt in docker container #751

Merged
merged 4 commits into from
Sep 12, 2024

Conversation

antonsviridov-src
Copy link
Contributor

By default coursier preinstalls some applications which aren't necessary, and can cause issues with local setup.
We limit that to just coursier itself and sbt

Test plan

  • Should be covered by existing tests

@antonsviridov-src antonsviridov-src marked this pull request as ready for review September 12, 2024 09:55
val _ = assembly.value
IO.copyFile(fatJar, slimJar, CopyOptions().withOverwrite(true))
slimJar
assembly.value
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I squinted hard at this and I feel like copying is not necessary, as the actual path to the jar doesn't matter.

My hunch is that for some reason copying causes issues (sbt/io#371) which result in flaky CI.

Tests all seem green as well, so I doubt there's a change in published artifacts. Will check the snapshot deployment on maven central to confirm jars are still usable.

@antonsviridov-src antonsviridov-src merged commit e2d6e7e into main Sep 12, 2024
16 checks passed
@antonsviridov-src antonsviridov-src deleted the docker-preinstalled-apps branch September 12, 2024 11:45
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