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

Reduce CI time #208

Merged
merged 11 commits into from
Jan 5, 2024
Merged

Reduce CI time #208

merged 11 commits into from
Jan 5, 2024

Conversation

stefpiatek
Copy link
Contributor

@stefpiatek stefpiatek commented Jan 4, 2024

installing python takes ages in postgres dockerfile 🤦

Tried a couple of options to check time:

  • no caching with buildkit the entire system test took: 21 min
  • gha cache (limited to 10GB per repo): 15 min
  • local filesystem cache: 9 min

Long term should probably just build and push to dockerhub so that we just pull the image for postgres with python, but seems like a reasonable fix for now. We'd need to have a dockerhub account that everyone can access so figured that'd take a bit more time to get that.

@stefpiatek stefpiatek requested a review from a team January 4, 2024 17:59
@stefpiatek stefpiatek changed the title Cache postgres dockerfile steps in github system tests Reduce CI time Jan 5, 2024
@stefpiatek stefpiatek merged commit 870d2e7 into main Jan 5, 2024
8 checks passed
@stefpiatek stefpiatek deleted the stef/cache_postgres_docker_steps branch January 5, 2024 11:44
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