Commit Graph

141 Commits

Author SHA1 Message Date
Marcel Amirault 42805130ae Add suggested changes to docker build doc 2019-09-03 00:43:28 +00:00
Marcel Amirault 61199b7413 Change markdownlint wildcard format 2019-09-02 00:19:30 +00:00
NeroBurner a3704b3657 docs: add docker-in-docker from registry example
- use specific docker version 19.03.1 in example
2019-08-29 14:26:03 +02:00
Steve Azzopardi 41e6c51613 Docs DOCKER_AUTH_CONFIG not available for k8s 2019-08-20 07:02:30 +00:00
Steve Azzopardi 283a289a69
Update DinD example for 19.03
Docker 19.03 enables TLS by default:

```
Starting in 18.09+, the dind variants of this image will automatically
generate TLS certificates in the directory specified by the
DOCKER_TLS_CERTDIR environment variable.

Warning: in 18.09, this behavior is disabled by default (for
compatibility). If you use --network=host, shared network namespaces (as
in Kubernetes pods), or otherwise have network access to the container
(including containers started within the dind instance via their gateway
interface), this is a potential security issue (which can lead to access
to the host system, for example). It is recommended to enable TLS by
setting the variable to an appropriate value (-e
DOCKER_TLS_CERTDIR=/certs or similar). In 19.03+, this behavior is
enabled by default.
```

Update the example to use docker over TLS.
2019-08-06 18:08:01 +02:00
Marcel Amirault a696695f31 Fix whitespace in ci docs
Many code blocks are 4spaced, and they render in GitLab
without coloring as a result, even though they are
fenced with a language label. If in a list, other items
will render as being in a code block too, even if not
meant to. This fixes all these issues for most docs in
/ci, and cleans up other minor whitespace issues too.
2019-08-01 02:29:16 +00:00
Steve Azzopardi a98f3de66e
Update docker title for docker-in-docker workflow
`docker-in-docker` is a workflow not an specific executor. It uses the
[Docker executor](https://docs.gitlab.com/runner/executors/docker.html).
2019-07-30 10:31:58 +02:00
Evan Read 047a77c990 Cross link to kaniko docs
Also make security warning more visible and
improves instructions.
2019-07-24 12:25:43 +00:00
Evan Read c1d370c904 Merge branch 'patch-72' into 'master'
fix docs typo: register runner with services

See merge request gitlab-org/gitlab-ce!30769
2019-07-17 06:39:24 +00:00
Evan Read 2cefaaa24f Merge branch 'add-default-docs' into 'master'
Add usage of `default:`

Closes #63351

See merge request gitlab-org/gitlab-ce!30677
2019-07-16 06:24:32 +00:00
Woko 2a442ae7a8 fix `register runner with services` 2019-07-16 03:25:15 +00:00
Kamil Trzciński feae50ffdf Add usage of `default:` 2019-07-15 21:30:05 +02:00
Thad Guidry 5bef1dc841 Fixed wrong placement of "variables:" statement in yml file.
Verified snippet works with 11.10.1
2019-07-15 06:14:51 +00:00
Markus Koller 385233981a Centralize config for markdownlint
The configuration is currently only specified in CI, by moving it into
`.mdlrc` we get immediate feedback locally in supported editors.

To ensure `mdl` is available it's also added to the `Gemfile`, though
CI will still use the version installed in the `gitlab-docs-lint` image.
2019-07-09 03:01:04 +00:00
Alexander Tanayno aed3fadb55 Replace the variable DOCKER_AUTH_LOGIN with DOCKER_AUTH_CONFIG 2019-07-04 07:24:11 +00:00
Ross Vandegrift 40618fe3f9 Expand docs on configuring jobs with private registry access
Fixes: https://gitlab.com/gitlab-org/gitlab-runner/issues/3963
2019-07-01 21:54:58 +00:00
Steve Azzopardi 137e37d3e9
Add note about Docker socket mounting
When using `docker:dind` service and the Runner has the socket mounted
as well it will lead to the following error:

```
Failed to load listeners: can't create unix socket /var/run/docker.sock:
device or resource busy
```

reference https://gitlab.com/gitlab-org/gitlab-ce/issues/63418
2019-06-25 08:23:42 +02:00
Evan Read e128239340 Add Markdown linting
Also adds and one linting rule
and makes project conform to it.
2019-06-25 04:34:55 +00:00
Evan Read 4aedbd18f0 Merge branch 'patch-28' into 'master'
using_docker_images.md: fix config.json path

See merge request gitlab-org/gitlab-ce!29791
2019-06-20 23:37:44 +00:00
Evan Read ef95359362 Https many links in docs 2019-06-18 12:23:07 +00:00
Per Lundberg 030059ba9f using_docker_images.md: fix config.json path 2019-06-18 10:41:08 +00:00
Andrei Burd 799b987775 Docs for Gitlab Runner docker use of private registries
Docs for https://gitlab.com/gitlab-org/gitlab-runner/merge_requests/1386
2019-06-12 03:41:01 +00:00
Danial Khoshkhou e5a84b279c Fixed markdown link in Docker compose note 2019-06-11 18:40:54 +00:00
Evan Read a1816ff0e6 SSoT audit fixes
Implements part of the single source of truth audit
fixes for the CI section.
2019-06-07 08:00:41 +00:00
Sven Gerlach 27c5fc2b64 Clarified the availability of docker-compose in documentation using_docker_build.md 2019-06-06 02:09:03 +00:00
Tristan Williams 0831efaeed Docs: add tip for Kubernetes executor using dind 2019-05-28 01:09:25 +00:00
Evan Read e47cc10867 Update auth with registry docs 2019-04-09 09:32:27 +00:00
Marcel Amirault 2040649bba Docs: Fix anchors related to variables doc 2019-04-08 12:32:38 +00:00
Evan Read c7fdfeea2f Fix note lists throughout docs 2019-03-20 13:45:15 +00:00
Christian Morsing 7d62092882 Update using_docker_build.md 2019-03-05 19:47:58 +00:00
Marcel Amirault 4672501864 Docs: Fix all anchors related to YAML 2019-02-22 00:25:06 +00:00
Evan Read 9fc79aed57 Refactor CI/CD landing page
Restructures existing page and adds improvements.
2019-02-20 00:33:55 +00:00
Evan Read cdd5a4880c Documentation now matches UI copy 2019-01-30 10:20:50 +00:00
Evan Read c2c2d04b3a Fix most instances of bare URLs in markdown 2019-01-24 06:52:33 +00:00
Siim Tiilen acc2dd2366 Use CI variables in CI docker build examples 2019-01-18 04:25:18 +00:00
Raphael Nestler 68d172daec Explain how to use kaniko with a registry with a custom certificate 2018-12-21 10:30:09 +01:00
Florian Klink 33a9c5017a using_docker_images.md: document services inheriting dns and addn hosts settings 2018-11-28 02:50:59 +00:00
Evan Read 20146580a0 Resolve Markdown ordered lists not conforming to styleguide 2018-11-13 10:53:38 +10:00
Achilleas Pipinellis e2b8337f12 Merge branch 'doc-edit-config-file-path-kaniko' into 'master'
Docs: Change path where to create the config.json file when using kaniko

See merge request gitlab-org/gitlab-ce!22075
2018-10-19 10:59:39 +00:00
Achilleas Pipinellis 63e4a81ad3
Add the ways needed to authenticate to the registry via CI/CD 2018-10-18 22:46:18 +02:00
Drew Blessing 11460c4a82 Add note that hostname:port need to match for `DOCKER_AUTH_CONFIG` 2018-10-05 14:42:36 -05:00
Valerio Baldisserotto 08a38b71b7 Change path where to create the config.json file 2018-10-03 09:15:12 +00:00
Cauan Cabral a104f3ecb2 Update using_docker_build.md 2018-09-27 09:22:49 +00:00
Cam 207642fb71 Correct YAML indentation 2018-09-10 01:05:51 +00:00
Brett Walker b0be58a1b3 Resolve "CE documentation is not CommonMark compliant" 2018-09-06 16:52:18 +00:00
Joshua Lambert 22060d3d27 Initial kaniko documentation 2018-08-16 14:32:15 +00:00
Tobias Hernstig 4495abcd8c Update doc/ci/docker/using_docker_build.md 2018-07-25 06:49:56 +00:00
Tomasz Maczukin 288be086e0
Improve documentation of how to build Docker Images with GitLab CI 2018-06-28 20:41:06 +02:00
Achilleas Pipinellis 3c9686c96d
Rename Secret variables -> variables 2018-06-06 11:28:54 +02:00
Philippe Lafoucrière b964b43e11 Use stable docker image instead of latest 2018-04-13 19:43:09 +00:00