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

CC-1333 Add repository aware caching #228

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

libmartinito
Copy link
Contributor

@libmartinito libmartinito commented Jun 26, 2024

No description provided.

@libmartinito libmartinito self-assigned this Jun 26, 2024
@libmartinito libmartinito changed the title Add repository aware caching CC-1333 Add repository aware caching Jun 28, 2024
Copy link

linear bot commented Jun 28, 2024

@@ -15,3 +16,6 @@ RUN bun install --frozen-lockfile
RUN mkdir -p /app-cached
# If the node_modules directory exists, move it to /app-cached
RUN if [ -d "/app/node_modules" ]; then mv /app/node_modules /app-cached; fi

# Once the heave steps are done, we can copy all files back
Copy link
Member

Choose a reason for hiding this comment

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

@@ -22,3 +23,6 @@ RUN rm -rf /app/src

ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Cargo.toml,Cargo.lock"


Copy link
Member

Choose a reason for hiding this comment

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

@libmartinito what's the script you used to generate this? The spacing seems very inconsistent - in some files there are 2 empty lines between blocks, in some there are none - looks very haphazard

Copy link
Member

@rohitpaulk rohitpaulk left a comment

Choose a reason for hiding this comment

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

Let's cleanup the spacing + fix typo - otherwise looks good

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.

None yet

2 participants