CircleCI - Workflows
Things to Keep in Mind
-Be specific about what you persist into your workspace to avoid storing data your subsequent jobs don't need.
*E.g. If you don't need to use git in downstream jobs, avoid adding .git to your workspace, it can contain large amounts of data.
-Don't store the same data in the cache and workspace, you'll pay the cost of downloading twice.
-Use artifacts for any data produced by a workflow that you want to be able to access outside the CircleCI system after the workflow has finished.
Documentations: https://circleci.com/docs/2.0/workflows/
-Be specific about what you persist into your workspace to avoid storing data your subsequent jobs don't need.
*E.g. If you don't need to use git in downstream jobs, avoid adding .git to your workspace, it can contain large amounts of data.
-Don't store the same data in the cache and workspace, you'll pay the cost of downloading twice.
-Use artifacts for any data produced by a workflow that you want to be able to access outside the CircleCI system after the workflow has finished.
Documentations: https://circleci.com/docs/2.0/workflows/
Komentarze
Prześlij komentarz