Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc2068c6

Browse files
Clarification for on-prem volume caching
1 parent16a2f73 commitc2068c6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

‎_docs/codefresh-yaml/service-containers.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ Sometimes you wish to run sidecar containers in a pipeline that offer additional
1111
1212
Codefresh includes a handy mechanism (based on Docker compose) that can help you run sidecar containers along your main pipeline. Here is a very simple example.
1313

14-
>Service Containers are base on Docker Compose. This document does not have the complete list of available options available. Please refer to Docker Compose versions[2](https://docs.docker.com/compose/compose-file/compose-file-v2/) and[3](https://docs.docker.com/compose/compose-file/), but not point releases such as 2.1.
15-
1614
`codefresh.yml`
1715
{% highlight yaml %}
1816
{% raw %}
@@ -37,6 +35,8 @@ steps:
3735

3836
This pipeline will run integration tests during the freestyle step called`my_integration_tests` and at that point a Redis instance will be available at hostname`my-redis-db-host` and port 6379. Note how in this example, the service container is placed at the root of the pipeline (as opposed to inside a specific step). This ensures that the Redis instance is running for[the duration of the pipeline]({{site.baseurl}}/docs/codefresh-yaml/service-containers/#running-services-for-the-duration-of-the-pipeline).
3937

38+
>Service Containers are based on Docker Compose. This document does not have the complete list of available options available. Please refer to Docker Compose versions[2](https://docs.docker.com/compose/compose-file/compose-file-v2/) and[3](https://docs.docker.com/compose/compose-file/), but not point releases such as 2.1.
39+
4040

4141
##Viewing Service containers
4242

‎_docs/configure-ci-cd-pipeline/pipeline-caching.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ This means that unlike other CI solutions where you have to manually describe wh
197197

198198
The main choice that you have is which files to place on the volume. For example, Node.js uses the folder`node_modules` for its dependencies which are placed under the project folder[which is automatically placed under the volume]({{site.baseurl}}/docs/configure-ci-cd-pipeline/introduction-to-codefresh-pipelines/#cloning-the-source-code). So all contents of`node_modules` will be cached by default without any further action on your part.
199199

200+
>Note that if you are using[Codefresh on-prem]({{site.baseurl}}/docs/administration/codefresh-on-prem/), this kind of caching is not available for the built-in runtime and you need to use the[Codefresh Runner]({{site.baseurl}}/docs/administration/codefresh-runner/)
201+
with your own runtime to activate volume caching.
202+
200203
The simplest way to see this caching mechanism in action is this pipeline:
201204

202205
`codefresh.yml`

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp