Skip to content
This repository has been archived by the owner on Dec 26, 2024. It is now read-only.

feat(common): implementing cargo-chef in dockerfile for better dependencies layer caching #2228

Merged
merged 6 commits into from
Jul 17, 2024

Conversation

idan-starkware
Copy link
Contributor

@idan-starkware idan-starkware commented Jul 15, 2024

This change is Reviewable

Copy link

codecov bot commented Jul 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.23%. Comparing base (4e3c1bd) to head (1ca81a5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2228      +/-   ##
==========================================
- Coverage   66.24%   66.23%   -0.02%     
==========================================
  Files         139      139              
  Lines       18343    18343              
  Branches    18343    18343              
==========================================
- Hits        12151    12149       -2     
  Misses       4895     4895              
- Partials     1297     1299       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@idan-starkware idan-starkware force-pushed the idan/docker-papyrus-dependencies-cache branch 2 times, most recently from 672fc4b to 34fe4ce Compare July 15, 2024 19:46
@idan-starkware idan-starkware changed the title chore(docker): improved docker layers caching, implementing cargo-chef chore(common): cargo-chef implementation in Dockerfile Jul 15, 2024
@idan-starkware idan-starkware changed the title chore(common): cargo-chef implementation in Dockerfile chore(common): implementing cargo-chef in dockerfile for better dependencies layer caching Jul 15, 2024
@idan-starkware idan-starkware changed the title chore(common): implementing cargo-chef in dockerfile for better dependencies layer caching feat(common): implementing cargo-chef in dockerfile for better dependencies layer caching Jul 15, 2024
@idan-starkware idan-starkware self-assigned this Jul 16, 2024
Copy link
Collaborator

@dan-starkware dan-starkware left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r1.
Reviewable status: 1 of 2 files reviewed, all discussions resolved (waiting on @eranreshef-starkware)

Copy link
Collaborator

@eranreshef-starkware eranreshef-starkware left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @idan-starkware)

Copy link
Collaborator

@eranreshef-starkware eranreshef-starkware left a comment

Choose a reason for hiding this comment

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

Reviewed all commit messages.
Reviewable status: 1 of 3 files reviewed, 1 unresolved discussion (waiting on @idan-starkware)


Dockerfile line 48 at r5 (raw file):

ENV CARGO_INCREMENTAL=0

# Add the target for x86_64-unknown-linux-musl and compile papyrus_node.

the documentation here needs to change

Copy link
Contributor Author

@idan-starkware idan-starkware left a comment

Choose a reason for hiding this comment

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

Reviewable status: 1 of 3 files reviewed, 1 unresolved discussion (waiting on @eranreshef-starkware)


Dockerfile line 48 at r5 (raw file):

Previously, eranreshef-starkware (Eran Reshef) wrote…

the documentation here needs to change

Done.

Copy link
Collaborator

@eranreshef-starkware eranreshef-starkware left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 2 files at r1, 1 of 1 files at r5, 1 of 1 files at r6, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @idan-starkware)

@idan-starkware idan-starkware force-pushed the idan/docker-papyrus-dependencies-cache branch from 0986877 to 1ca81a5 Compare July 17, 2024 07:37
@idan-starkware idan-starkware enabled auto-merge July 17, 2024 07:38
@idan-starkware idan-starkware added this pull request to the merge queue Jul 17, 2024
Merged via the queue into main with commit 9a6175e Jul 17, 2024
34 checks passed
@idan-starkware idan-starkware deleted the idan/docker-papyrus-dependencies-cache branch July 17, 2024 08:07
@github-actions github-actions bot locked and limited conversation to collaborators Jul 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants