Commit Graph

185 Commits

Author SHA1 Message Date
GitLab Bot 60877d1bff Add latest changes from gitlab-org/gitlab@master 2019-11-12 06:06:32 +00:00
GitLab Bot 352012d848 Add latest changes from gitlab-org/gitlab@master 2019-10-28 00:06:29 +00:00
GitLab Bot 8c0166b981 Add latest changes from gitlab-org/gitlab@master 2019-10-11 03:07:00 +00:00
GitLab Bot 1dd77c7113 Add latest changes from gitlab-org/gitlab@master 2019-10-01 06:06:13 +00:00
GitLab Bot 1d89871c57 Add latest changes from gitlab-org/gitlab@master 2019-09-23 09:06:22 +00:00
GitLab Bot 80f61b4035 Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
GitLab Bot bd860c22f6 Add latest changes from gitlab-org/gitlab@master 2019-09-17 12:06:48 +00:00
Marcel Amirault 71cc59e5bc Change links to relative
Make several links, mostly in admin troubleshooting,
relative, as is the standard
2019-09-11 11:13:26 +00:00
Kyle Russell 7b03af0dc3 Add DinD example note for k8s executors
Using the DinD example that stores the built image in the container
registry may not be visible to the Kubernetes executor if the default
image pull policy defaults to IfNotPresent.
2019-09-09 06:02:59 +00:00
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 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
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
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
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
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
Evan Read 20146580a0 Resolve Markdown ordered lists not conforming to styleguide 2018-11-13 10:53:38 +10:00
Achilleas Pipinellis 63e4a81ad3
Add the ways needed to authenticate to the registry via CI/CD 2018-10-18 22:46:18 +02: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
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
Philippe Lafoucrière b964b43e11 Use stable docker image instead of latest 2018-04-13 19:43:09 +00:00
Athar Hameed 0f20807173 Add Docker layer caching to CI docker-in-docker docs 2018-03-27 14:46:56 +00:00
Teresa e Junior b6e37978bc Document mounting volumes with Docker-in-Docker 2017-12-21 06:38:17 +00:00
Achilleas Pipinellis 6bd2d594d7
Change to new GitLab Runner name 2017-10-31 11:20:40 +02:00
Dominik bf5c2ff868 Document the usage of the Docker OverlayFS driver for every build 2017-09-28 16:28:02 +00:00
Fabio Busatto bb1a72c9cb Update doc for dind using overlay2 2017-08-29 07:19:06 +00:00
Achilleas Pipinellis 8fb33b8f01 Add docs for personal access tokens 2017-06-14 08:40:21 +02:00
Tomasz Maczukin cd06310123
Remove references to '/ci' path while describing Runner's registration 2017-05-15 11:52:05 +02:00
Grzegorz Bizon fc550b398b Merge branch 'master' into feature/multi-level-container-registry-images
* master: (230 commits)
  Fix N+1 query in loading pipelines in merge requests
  Fix Spinach and Capybara dependencies
  Prevent users from disconnecting gitlab account from CAS
  30276 Move issue, mr, todos next to profile dropdown in top nav
  Refactor SearchController#show
  Properly eagerly-load the Capybara server for JS feature specs only
  Updating documentation to include a missing step in the update procedure
  Eager-load the Capybara server to prevent timeouts
  Increase Capybara's timeout
  Add metrics button to Environment Overview page
  Fix link to Jira service documentation
  Handle parsing OpenBSD ps output properly to display sidekiq infos on ...
  Eliminate unnecessary queries that add ~500 ms of load time for a large issue
  20914 Limits line length for project home page
  Allow users to import GitHub projects to subgroups
  Update dpl CI example
  Fix the docs:check:links job
  Don't clean up the gitlab-test-fork_bare repo
  Make GitLab use Gitaly for commit_is_ancestor
  Remove unnecessary ORDER BY clause from `forked_to_project_id` subquery
  ...
2017-04-03 09:36:09 +02:00
Niklas 21703e46d6 Use same variable for registry password as above 2017-03-25 22:10:55 +00:00
Grzegorz Bizon c5912ecd73 Merge branch 'master' into feature/multi-level-container-registry-images
* master: (1327 commits)
  Merge branch 'render-json-leak' into 'security'
  Merge branch 'ssrf' into 'security'
  Merge branch 'ssrf' into 'security'
  Merge branch 'fix-links-target-blank' into 'security'
  Merge branch '28058-hide-emails-in-atom-feeds' into 'security'
  Fix karma test
  Reset filters after click
  Handle Route#name being nil after an update
  Only add frontend code coverage instrumentation when generating coverage report
  fix recompile assets step in 9.0 upgrade guide to use yarn
  Undo explicit conversion to Integer
  Make level_value accept string integers
  Make feature spec more robust
  Removed d3.js from the main application.js bundle
  Extend compound status for manual actions specs
  Update css to be nice and tidy.
  Fix pipeline status for transition between stages
  add an index to the ghost column
  Return 404 in project issues API endpoint when project cannot be found
  Improve rename projects migration
  ...

Conflicts:
	doc/ci/docker/using_docker_build.md
	spec/lib/gitlab/import_export/all_models.yml
2017-03-21 14:22:56 +01:00
Z.J. van de Weg 3ebd29b538 Futher rename the CI variables 2017-03-16 08:49:01 +01:00
Andre Guedes 246df2bd11 Adding registry endpoint authorization 2017-02-22 11:29:07 -03:00
Rémy Coutable 90eb2b92a0 Merge branch 'dev-docs-ci_docker_build-example_variable_use' into 'master'
docs(ci/docker_build): Add example of variable use

See merge request !9159
2017-02-22 12:51:31 +00:00
Dmitriy Volkov 0b2fc0557f
docs(ci/docker_build): Add example of variable use 2017-02-21 22:30:04 +03:00
Achilleas Pipinellis a084437b5c Rename builds to jobs in docs
[ci skip]
2017-02-15 12:12:35 +01:00
Achilleas Pipinellis c345edcb7f Document the need to use a PAT with Registry when 2FA is on
GitLab 8.12 introduced a new permissions model which tightened the
security of Container Registry. It is now required to use a personal
token if 2FA is enabled.

[ci skip]
2016-12-01 14:24:12 +01:00
Achilleas Pipinellis cd7339a996 Document the usage of the Docker OverlayFS driver
[ci skip]
2016-11-08 18:05:10 +01:00
Connor Shea 8a998b632a Change a bunch of doc links to either relative or https://docs.gitlab.com. 2016-11-03 15:11:51 -06:00
Sean McGivern 696f09c7bf Merge branch 'patch-4' into 'master'
Improve docs on `gitlab-ci-token` user

See merge request !6002
2016-10-31 08:56:37 +00:00
Rémy Coutable e4937e2800 Merge branch 'patch-3' into 'master'
Fix docker.sock reference in config.toml

## What does this MR do?

`config.toml` sample did not correctly represent the `/var/run/docker.sock` mapping, causing it to be created as a volume instead.

## Why was this MR needed?

It was broken.

See merge request !5172
2016-10-22 11:42:02 +00:00
Ben Bodenmiller eecb52e145 improve docs on gitlab-ci-token user 2016-09-21 03:49:22 -07:00
Aurelio Jargas 8e096e724c Add missing escape at line end 2016-07-22 10:10:53 +00:00
Niels Keurentjes 51ef233e25 Fix docker.sock reference in config.toml
Mapping was omitted so it would just create a temp volume.
2016-07-10 23:35:10 +00:00
Mark Pundsack 6ed7fcad29 Remove our 2016-06-13 22:47:54 -07:00
Mark Pundsack 8df7d90d5a De-note-ify 2016-06-13 22:45:43 -07:00
Mark Pundsack aefb08cb6a Clarify dind example 2016-06-13 22:42:46 -07:00
Mark Pundsack 4c571041de Make minor grammar change 2016-06-13 22:36:28 -07:00
Mark Pundsack f95791d411 Make Achilleas' suggested changes 2016-06-13 22:32:01 -07:00
Mark Pundsack a7caea9e3e Use docker:latest 2016-06-13 22:06:13 -07:00
Mark Pundsack 35ce04ef2e Move registry CI example to CI docs 2016-06-13 22:06:13 -07:00
Mark Pundsack 6f834ecaa9 Reformat notes 2016-06-13 22:06:13 -07:00
Mark Pundsack b0cbeb18d1 Remove unnecessary message 2016-06-13 22:06:13 -07:00
Mark Pundsack b393478f63 Refactor notes 2016-06-13 22:06:13 -07:00
Mark Pundsack 1c02ef9c14 Drop some 'however's 2016-06-13 22:06:13 -07:00
Mark Pundsack 46114eddf0 Add more pros and cons for each docker approach 2016-06-13 22:06:13 -07:00
Mark Pundsack e97af053eb Fix docker volume 2016-06-13 22:06:13 -07:00
Mark Pundsack 6ca1370c92 Fix more instructions 2016-06-13 22:06:13 -07:00
Mark Pundsack 9b30f26b98 Fix runner CLI instructions 2016-06-13 22:06:13 -07:00
Mark Pundsack 8412844108 Fix instructions 2016-06-13 22:06:13 -07:00
Mark Pundsack d9cbe01986 Moar commas 2016-06-13 22:06:13 -07:00
Mark Pundsack 6841e76b45 Add notes 2016-06-13 22:06:13 -07:00
Mark Pundsack d7664c7223 Add example using GitLab Container Registry 2016-06-13 22:06:13 -07:00
Mark Pundsack 4209212bb8 Add docker bind-mount as an option 2016-06-13 22:06:13 -07:00
Takuya Noguchi 3c8265559a Rename Docker with Docker Engine. 2016-05-07 14:54:36 +09:00
Achilleas Pipinellis 8b09dafb16 Copyedit `using_docker_build.md` and fix links 2016-04-28 13:04:53 +03:00
Tomasz Maczukin 5fc6a7dc14
Update using_docker_build.md, clarify the 'privileged' mode requirement
[ci skip]
2016-04-25 13:51:17 +02:00
Alex Jordan 3300db70ff Rewrite HTTP links to force TLS, where possible 2015-11-16 16:50:05 -08:00
Cyriac Thomas 05f29a5cb3 Simplified sentence as per @stanhu's note 2015-09-26 19:37:55 +00:00
Cyriac Thomas 922c635b67 Fixed grammar on Using Docker Build doc. 2015-09-26 18:15:58 +00:00
Kamil Trzcinski 1b464bfe03 Update documentation and config files 2015-09-16 00:28:59 +02:00
Douwe Maan 046b283127 Groundwork for merging CI into CE 2015-08-25 18:42:46 -07:00