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

feat(filemanager): docker caching and current state default #601

Merged
merged 5 commits into from
Oct 13, 2024

Conversation

mmalenic
Copy link
Member

@mmalenic mmalenic commented Oct 11, 2024

Closes #600

Changes

  • Adds sccache to the filemanager Dockerfile, which uses a buildx cache mount to utilize a global cache across different build contexts (like CDK synth, or the fmannotator testcontainers code).
    • This should hopefully improve repeated builds of the filemanager, because each docker builld will use the same cache mount.
  • Makes currentState true by default in the filemanager API.
  • Fixes an issue with the /s3/attributes route which wasn't taking into account known parameters like currentState or page.
  • Use docker compose in fmannotator tests because it properly supports rebuilding images and not deleting them when docker compose down is called.

@mmalenic mmalenic self-assigned this Oct 13, 2024
@mmalenic mmalenic force-pushed the feat/filemanager-sscache-in-docker branch 2 times, most recently from 84f70a7 to a7b6b79 Compare October 13, 2024 22:32
@mmalenic mmalenic added filemanager an issue relating to the filemanager devops labels Oct 13, 2024
Copy link
Member

@brainstorm brainstorm left a comment

Choose a reason for hiding this comment

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

Kudos, TIL about cargo binstall 👍🏻

@mmalenic mmalenic merged commit 90f0e92 into main Oct 13, 2024
10 checks passed
@mmalenic mmalenic deleted the feat/filemanager-sscache-in-docker branch October 13, 2024 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops filemanager an issue relating to the filemanager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

filemanager: support sccache inside Dockerfile
3 participants