-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Use latest compose specs #5854
Use latest compose specs #5854
Conversation
Build failing because of CircleCI's docker [compose] version (v1)?
|
Hi @lucasfcnunes , thanks for your contribution! We've updated a lot of things now that we're community-driven so would you mind rebasing off Additionally, if you could split up the build caching changes into a separate PR, that would be ideal - that way we can keep the required changes to comply with recommendations separate from complex Dockerfile changes. |
Dockerfile
Outdated
RUN npm install --global --force [email protected] | ||
RUN \ | ||
--mount=type=cache,target=/root/.npm \ | ||
npm install --global --force [email protected] |
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.
As a data point, we've updated to [email protected] a few weeks ago (241dcfa), so probably best to use that version here too.
Looking over this PR, it's probably going to need very manual re-creation as we've been changing so many things in the Dockerfile over the last few weeks. Not impossible in any way, but likely just pretty time consuming. |
Agreed, that's why I think it's better splitting up into more "style" and more "feature" type changes. |
Good thinking. 😄 |
b65819c
to
d3f1236
Compare
Signed-off-by: Lucas Fernando Cardoso Nunes <[email protected]>
d3f1236
to
84752b4
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5854 +/- ##
=======================================
Coverage 63.37% 63.37%
=======================================
Files 162 162
Lines 13170 13170
Branches 1819 1819
=======================================
Hits 8347 8347
Misses 4532 4532
Partials 291 291 |
@lucasfcnunes thanks for updating! I'm not a huge fan personally of changing the docker compose filename, but I see it's the preferred standard now (why change what isn't broken?). It seems we need to update something else on the CI if we want to rename the files though, otherwise the CI won't pass. |
@guidopetri I think it's expected as it's using the |
Ah, I see, that's new to me! Thanks for explaining. Let's go ahead and merge then, and hopefully it passes in master. Thanks again for your contribution! |
Signed-off-by: Lucas Fernando Cardoso Nunes <[email protected]>
Seems to be working as expected https://github.com/getredash/redash/actions/runs/7777381717/workflow#L33 What I don't understand is how this PR was "merged" into master but is still open... |
Me neither, I think it was a github bug. I'm going to close it, but thanks again! |
Signed-off-by: Lucas Fernando Cardoso Nunes <[email protected]>
What type of PR is this?
Description
Commits to improve/refactor/update the Redash project to current docker specs.
How is this tested?
make build
runs as always.Related Tickets & Documents
docker-compose.yml
->compose.yaml
)