@@ -138,7 +138,6 @@ still succeeds even if that warning was printed. For example:
...
@@ -138,7 +138,6 @@ still succeeds even if that warning was printed. For example:
As it was mentioned before, this feature is designed to provide **network accessible**
As it was mentioned before, this feature is designed to provide **network accessible**
services. A database is the simplest example of such a service.
services. A database is the simplest example of such a service.
NOTE: **Note:**
The services feature is not designed to, and does not add any software from the
The services feature is not designed to, and does not add any software from the
defined `services` image(s) to the job's container.
defined `services` image(s) to the job's container.
...
@@ -186,7 +185,6 @@ access to it from your build container under two hostnames to choose from:
...
@@ -186,7 +185,6 @@ access to it from your build container under two hostnames to choose from:
-`tutum-wordpress`
-`tutum-wordpress`
-`tutum__wordpress`
-`tutum__wordpress`
NOTE: **Note:**
Hostnames with underscores are not RFC valid and may cause problems in 3rd party
Hostnames with underscores are not RFC valid and may cause problems in 3rd party
applications.
applications.
...
@@ -364,10 +362,9 @@ For example, the following two definitions are equal:
...
@@ -364,10 +362,9 @@ For example, the following two definitions are equal:
| `name` | yes, when used with any other option | 9.4 | Full name of the image that should be used. It should contain the Registry part if needed. |
| `name` | yes, when used with any other option | 9.4 | Full name of the image that should be used. It should contain the Registry part if needed. |
| `entrypoint` | no | 9.4 |Command or script that should be executed as the container's entrypoint. It's translated to Docker's `--entrypoint` option while creating the container. The syntax is similar to [`Dockerfile`'s `ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#entrypoint) directive, where each shell token is a separate string in the array. |
| `entrypoint` | no | 9.4 |Command or script that should be executed as the container's entrypoint. It's translated to Docker's `--entrypoint` option while creating the container. The syntax is similar to [`Dockerfile`'s `ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#entrypoint) directive, where each shell token is a separate string in the array. |
| `command` | no | 9.4 |Command or script that should be used as the container's command. It's translated to arguments passed to Docker after the image's name. The syntax is similar to [`Dockerfile`'s `CMD`](https://docs.docker.com/engine/reference/builder/#cmd) directive, where each shell token is a separate string in the array. |
| `command` | no | 9.4 |Command or script that should be used as the container's command. It's translated to arguments passed to Docker after the image's name. The syntax is similar to [`Dockerfile`'s `CMD`](https://docs.docker.com/engine/reference/builder/#cmd) directive, where each shell token is a separate string in the array. |
| `alias` | no | 9.4 |Additional alias that can be used to access the service from the job's container. Read [Accessing the services](#accessing-the-services) for more information. |
| `alias`(1) | no | 9.4 |Additional alias that can be used to access the service from the job's container. Read [Accessing the services](#accessing-the-services) for more information. |
NOTE: **Note:**
(1) Alias support for the Kubernetes executor was [introduced](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2229) in GitLab Runner 12.8, and is only available for Kubernetes version 1.7 or later.
Alias support for the Kubernetes executor was [introduced](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2229) in GitLab Runner 12.8, and is only available for Kubernetes version 1.7 or later.
### Starting multiple services from the same image
### Starting multiple services from the same image
...
@@ -532,7 +529,6 @@ To define which should be used, the GitLab Runner process reads the configuratio
...
@@ -532,7 +529,6 @@ To define which should be used, the GitLab Runner process reads the configuratio
If the `--user` flag is provided to run the GitLab Runner child processes as unprivileged user,
If the `--user` flag is provided to run the GitLab Runner child processes as unprivileged user,
the home directory of the main GitLab Runner process user is used.
the home directory of the main GitLab Runner process user is used.
NOTE: **Note:**
GitLab Runner reads this configuration **only** from `config.toml` and ignores it if
GitLab Runner reads this configuration **only** from `config.toml` and ignores it if
it's provided as an environment variable. This is because GitLab Runner uses **only**
it's provided as an environment variable. This is because GitLab Runner uses **only**
`config.toml` configuration and does not interpolate **ANY** environment variables at
`config.toml` configuration and does not interpolate **ANY** environment variables at
...
@@ -601,7 +597,7 @@ There are two ways to determine the value of `DOCKER_AUTH_CONFIG`:
...
@@ -601,7 +597,7 @@ There are two ways to determine the value of `DOCKER_AUTH_CONFIG`:
Open a terminal and execute the following command:
Open a terminal and execute the following command:
```shell
```shell
# Note the use of "-n" - it prevents encoding a newline in the password.
# The use of "-n" - prevents encoding a newline in the password.
echo-n"my_username:my_password" | base64
echo-n"my_username:my_password" | base64
# Example output to copy
# Example output to copy
...
@@ -651,7 +647,6 @@ follow these steps:
...
@@ -651,7 +647,6 @@ follow these steps:
You can add configuration for as many registries as you want, adding more
You can add configuration for as many registries as you want, adding more
registries to the `"auths"` hash as described above.
registries to the `"auths"` hash as described above.
NOTE: **Note:**
The full `hostname:port` combination is required everywhere
The full `hostname:port` combination is required everywhere
for the runner to match the `DOCKER_AUTH_CONFIG`. For example, if
for the runner to match the `DOCKER_AUTH_CONFIG`. For example, if
`registry.example.com:5000/namespace/image:tag` is specified in `.gitlab-ci.yml`,
`registry.example.com:5000/namespace/image:tag` is specified in `.gitlab-ci.yml`,
...
@@ -680,17 +675,15 @@ To add `DOCKER_AUTH_CONFIG` to a runner:
...
@@ -680,17 +675,15 @@ To add `DOCKER_AUTH_CONFIG` to a runner: