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

Add cache support to the CICD pipeline for faster builds and deploys #32

Open
kushtrimh opened this issue May 8, 2023 · 0 comments
Open
Assignees
Labels
cicd CI related issue enhancement New feature or request

Comments

@kushtrimh
Copy link
Owner

Is your feature request related to a problem? Please describe.
CICD pipeline takes too long when a new build or deployment is being executed.
Rust crates in services take most of the time, 2 minutes on average for build or tests run.

Describe the solution you'd like
Caching can be setup for the CICD pipeline, so the same dependencies are not download multiple times.
More information about caching for GitHub actions: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows
A good examples from Cargo Lambda shows caching setup for Rust crates on GitHub Actions: https://www.cargo-lambda.info/guide/automating-deployments.html#step-3-creating-the-release-workflow

Describe alternatives you've considered
No other alternatives considered. This is supported by GitHub Actions, and would be one of the better solutions.

Additional context
Examples from some of the latest build and deployment runs.
image
image

@kushtrimh kushtrimh added enhancement New feature or request triage labels May 8, 2023
@kushtrimh kushtrimh self-assigned this May 8, 2023
@kushtrimh kushtrimh added cicd CI related issue and removed triage labels May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cicd CI related issue enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant