Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
d550c2ca
Commit
d550c2ca
authored
Jul 16, 2018
by
Steve Azzopardi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Merge branch '2211-add-option-to-change-clone-path-docs' into 'master'"
This reverts merge request !19664
parent
fabf6a56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
38 deletions
+0
-38
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+0
-38
No files found.
doc/ci/yaml/README.md
View file @
d550c2ca
...
@@ -1411,43 +1411,6 @@ variables:
...
@@ -1411,43 +1411,6 @@ variables:
You can set it globally or per-job in the
[
`variables`
](
#variables
)
section.
You can set it globally or per-job in the
[
`variables`
](
#variables
)
section.
### Custom build directories
> [Introduced][gitlab-runner-876] in Gitlab Runner 11.1
NOTE:
**Note:**
This can only be used when
`custom_build_dir`
is set to true in the
[
Runner's
configuration
](
https://docs.gitlab.com/runner/configuration/advanced-configuration.html
)
.
By default, GitLab Runner clones the repository in the
`/builds`
directory,
but sometimes your project might require to have the code in a specific
directory, like the GO projects for example. In that case, you can specify
the
`CI_PROJECT_DIR`
variable to tell the Runner in which directory to clone
the repository:
```
yml
image
:
golang:1.10-alpine3.7
variables
:
CI_PROJECT_DIR
:
/go/src/gitlab.com/namespace/project-name
stages
:
-
test
dir
:
stage
:
test
script
:
-
pwd
# /go/src/gitlab.com/namespace/project-name
```
The following executors may use this feature only when
[
concurrent
](
https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-global-section
)
is set to
`1`
:
-
`shell`
-
`ssh`
-
`docker`
,
`docker+machine`
when the job's working directory is mounted as a host volume.
## Special YAML features
## Special YAML features
It's possible to use special YAML features like anchors (
`&`
), aliases (
`*`
)
It's possible to use special YAML features like anchors (
`&`
), aliases (
`*`
)
...
@@ -1641,6 +1604,5 @@ CI with various languages.
...
@@ -1641,6 +1604,5 @@ CI with various languages.
[
ce-7983
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7983
[
ce-7983
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7983
[
ce-7447
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7447
[
ce-7447
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7447
[
ce-12909
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12909
[
ce-12909
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12909
[
gitlab-runner-876
]:
https://gitlab.com/gitlab-org/gitlab-runner/merge_requests/876
[
schedules
]:
../../user/project/pipelines/schedules.md
[
schedules
]:
../../user/project/pipelines/schedules.md
[
variables-expressions
]:
../variables/README.md#variables-expressions
[
variables-expressions
]:
../variables/README.md#variables-expressions
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment