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

Commitcce44e4

Browse files
spelling mistakes
1 parent08d90dc commitcce44e4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ steps:
3333
{% endraw %}
3434
{% endhighlight %}
3535

36-
This pipeline will run integration tests during thefreestype step called`my_integration_tests` and at that point a Redis instance will be available at hostname`my-redis-db-host` and port 6479. 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).
36+
This pipeline will run integration tests during thefreestyle step called`my_integration_tests` and at that point a Redis instance will be available at hostname`my-redis-db-host` and port 6479. 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).
3737

3838
##Launching multiple sidecar containers
3939

@@ -154,7 +154,7 @@ This pipeline:
154154

155155
1. Starts a single Redis instance
156156
1. Saves some data in the first step on the pipeline
157-
1. Runs an unrelated step (that itself is not using the redisinstace)
157+
1. Runs an unrelated step (that itself is not using the redisinstance)
158158
1. Reads the data saved in the third steps
159159

160160
If you run this pipeline you will see that that data read in the third step of the pipeline was the same one as the data saved in the first step.
@@ -261,7 +261,7 @@ steps:
261261
{% endraw %}
262262
{% endhighlight %}
263263

264-
Note that in this case the`docker-compose.yml` file must mention[speficic images](https://docs.docker.com/compose/compose-file/#image) (and not use[buildpropertes](https://docs.docker.com/compose/compose-file/#build)).
264+
Note that in this case the`docker-compose.yml` file must mention[specific images](https://docs.docker.com/compose/compose-file/#image) (and not use[buildproperties](https://docs.docker.com/compose/compose-file/#build)).
265265

266266

267267
##Launching a custom service
@@ -305,7 +305,7 @@ steps:
305305

306306
Here a Dockerfile for a backend application is built on the spot and then is launched as sidecar container in the next step (with a hostname of`my_backend_app`). Notice that the`image` property in the sidecar service actually refers to a[Codefresh variable]({{site.baseurl}}/docs/codefresh-yaml/variables/) that holds the name of the build step.
307307

308-
We then run a`curl` command against the sidecar container to verify the correct health of the application. This is a great way to run integration tests againstmultilple microservices.
308+
We then run a`curl` command against the sidecar container to verify the correct health of the application. This is a great way to run integration tests againstmultiple micro-services.
309309

310310

311311
##Checking readiness of a service
@@ -412,7 +412,7 @@ In summary `readiness` make sure that your services are actually up before you u
412412
A very common scenario when using databases in integration tests is the need to preload some test data in the database.
413413
While you could do that in a normal pipeline step, sidecar services have a special`setup` block for this purpose. This way not only you can make sure that the database is up (using the`readiness` property explained in the previous section) but also that it is preloaded with the correct data.
414414

415-
To use thiscapabily add a`setup` block in your pipeline service container:
415+
To use thiscapability add a`setup` block in your pipeline service container:
416416

417417
`codefresh.yml`
418418
{% highlight yaml %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp