Commit Graph
66 Commits
Author SHA1 Message Date
Achilleas PipinellisandRémy Coutable 1e34a81cd4 Merge branch 'expiry' into 'master'
Clarify artifact expiry

## What does this MR do?

Clarifies documentation about artifact expiry.

## Are there points in the code the reviewer needs to double check?

## Why was this MR needed?

## What are the relevant issue numbers?

## Screenshots (if relevant)

See merge request !4831

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-22 15:54:31 +02:00
Achilleas PipinellisandRémy Coutable f81259d136 Merge branch 'ci-git' into 'master'
Document `GIT_STRATEGY` and `GIT_DEPTH`

## What does this MR do?

Documents `GIT_STRATEGY` and `GIT_DEPTH`. Also fixes the TOC since the anchors weren't working.

## Are there points in the code the reviewer needs to double check?

The TOC and the location of the new entries.

## Why was this MR needed?

## What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/merge_requests/188

## Screenshots (if relevant)

![image](/uploads/eccfd60199d81e6588c13aab817f0eb5/image.png)

![image](/uploads/bbbffe61db64ef17f1fa52907275f3d4/image.png)

/cc @axil @ayufan

See merge request !4720

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-22 15:45:15 +02:00
Achilleas PipinellisandRémy Coutable bdaced56b4 Merge branch 'ci-wording' into 'master'
* Adds pipelines page to CI docs.
* Adds image of pipelines list (although currently missing border that is on other images).
* Changes CI to CI/CD in `/doc` and `/doc/ci`
* Sorts user documentation in `/doc`

Partially fixes #17733.

See merge request !4660

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-22 15:43:46 +02:00
Achilleas PipinellisandRobert Speicher 5a9f1e242b Merge branch 'document-environments' into 'master'
Document environments and deployments

## What does this MR do?

Adds an introduction to environments and deployments and tweaks the `environments` entry in `.gitlab-ci.yml` documentation.

## Are there points in the code the reviewer needs to double check?

## Why was this MR needed?

## What are the relevant issue numbers?

Closes #18683.

## Screenshots (if relevant)

![image](/uploads/1e3355c543abaf7b358f3c37596b1f0b/image.png)

![image](/uploads/58a51505674bcf605039db46833a8ae6/image.png)

/cc @ayufan @axil 

See merge request !4725
2016-06-20 11:51:42 -04:00
Achilleas PipinellisandRobert Speicher fc6fd97c51 Merge branch 'grammar-tweaks' into 'master'
Grammar tweaks

## What does this MR do?

* Updates grammar in recent CI documentation.

## Are there points in the code the reviewer needs to double check?

## Why was this MR needed?

Because grammar.

## What are the relevant issue numbers?

Needed because of !4200 and !4201.

## Screenshots (if relevant)


See merge request !4772
2016-06-20 10:15:49 -04:00
Kamil Trzcinski 006b650988 Merge remote-tracking branch 'origin/master' into environments-and-deployments
# Conflicts:
#	db/schema.rb
2016-06-14 16:19:29 +02:00
Kamil Trzcinski e129f66d9e Add gitlab-ci.yml documentation for environments 2016-06-14 14:43:16 +02:00
Kamil TrzcinskiandPhil Hughes cf9c5b54c6 Added documentation to artifacts expire 2016-06-13 11:09:19 +01:00
Kamil TrzcinskiandPhil Hughes d23b91b0d9 Improve after review 2016-06-13 11:08:15 +01:00
Kamil TrzcinskiandPhil Hughes 897bc59761 Added description of artifacts:when 2016-06-13 11:03:30 +01:00
Kamil Trzcinski 3714e1914b Improve after review 2016-06-10 21:25:48 +02:00
Kamil Trzcinski e6209a407e Added description of artifacts:when 2016-06-10 13:26:36 +02:00
Aurelio Jargas d7e714e4fd Fix typo 2016-05-27 21:28:45 +00:00
Tomasz Maczukin 01256eecfa Update 'after_script' introduction note 2016-05-18 21:34:58 -05:00
Kamil Trzcinski 2ab8d3e652 Merge branch 'after-script' into make-before-after-overridable 2016-04-18 09:47:12 -04:00
Kamil Trzcinski aca1e14bd3 Merge remote-tracking branch 'origin/master' into after-script 2016-04-18 09:46:12 -04:00
Kamil Trzcinski 42102b4344 Merge branch 'after-script' into make-before-after-overridable 2016-04-18 07:53:21 -04:00
Grzegorz Bizon 2972a991df Add minor fixes in docs for job-specific variables 2016-04-18 13:17:48 +02:00
Grzegorz Bizon 5d89bdb16a Add documentation for job-level build variables 2016-04-18 13:17:48 +02:00
Kamil Trzcinski c764b57f09 Add note about version 2016-04-17 09:11:37 -04:00
Kamil Trzcinski 38b15e35d4 Update CHANGELOG and add documentation 2016-04-17 09:10:47 -04:00
Kamil Trzcinski a0afeefd76 Add CHANGELOG and documentation 2016-04-17 09:02:42 -04:00
Achilleas Pipinellis 072b9c2c8f Add TOC to yaml README and an intro section
[ci skip]
2016-04-14 15:40:05 +03:00
frodsan 71b5010a94 [ci skip] Fix typo. 2016-04-06 22:45:56 +00:00
Kamil Trzciński fc6ee35928 Merge branch 'feature-ci-only-except-trigger' into 'master'
CI: Add 'triggers' keyword to 'only' and 'except' lists to allow control over when triggers cause builds to run

Currently, the `only` and `except` keywords in `.gitlab-ci.yml` only accept ref names or the special `branches` and `tags` keywords. However, these are primarily useful when controlling how repository activity affects the creation of builds. In my case, instead of building on every commit, I'd like to use the following logic:

- If the repository is tagged, do a build.
- Any other normal commits should not cause a build.
- If a build is triggered via the API, always create one for the specified ref.

From what I can tell, this isn't possible via the existing YAML syntax. In this MR, I introduce a new keyword `triggers` that goes along with `branches` and `tags`. I can implement the logic above using the following job configuration:

```yaml
only:
  - tags
  - triggers
```

I updated the tests and documentation to reflect this and everything seems to pass.

See merge request !3230
2016-03-22 09:42:40 +00:00
Pat Turner 280d9dc23f fixed md anchor link 2016-03-18 11:46:19 +00:00
Pat Turner 44ca0305cd Fix for https://gitlab.com/gitlab-org/gitlab-ce/issues/14366 2016-03-18 08:32:56 +00:00
Pat Turner 08ed12d91e removed anchor as unsupported in markdown 2016-03-17 17:27:13 +00:00
Pat Turner 0ce1f9387a Fix for https://gitlab.com/gitlab-org/gitlab-ce/issues/14366 2016-03-17 15:28:55 +00:00
Achilleas Pipinellis 5b1db58c85 Merge branch 'master' into rm_duplicate_cache_ci_docs 2016-03-17 15:56:44 +02:00
Jason Roehm b6ede12729 add some documentation for triggers keyword [ci skip] 2016-03-15 09:46:09 -04:00
Achilleas Pipinellis 090368f6c6 Windows CI support is full since Runner v1.0.0
[ci skip]
2016-03-15 12:46:21 +02:00
Achilleas Pipinellis a6f5304280 Merge duplicate cache entry in CI docs
[ci skip]
2016-03-14 19:28:23 +02:00
Achilleas Pipinellis 7ebb932070 Add yaml definition to codeblock
[ci skip]
2016-03-14 10:14:32 +02:00
Achilleas Pipinellis d8eeeb692e Refactor dependencies directive
[ci skip]
2016-03-13 09:57:36 +02:00
Achilleas Pipinellis de7c3316b0 Add hidden jobs 2016-03-13 09:35:40 +02:00
Achilleas Pipinellis 372abbe7f9 Refactor YAML anchors and explain the examples 2016-03-13 09:34:46 +02:00
Achilleas Pipinellis 49e5175300 Refactor artifacts:name 2016-03-13 09:33:10 +02:00
Achilleas Pipinellis 19d1455ac1 Change notes to new styleguide using blockquotes 2016-03-12 20:22:38 +02:00
Kamil Trzcinski 9a271d8012 Allow to define on which builds the current one depends on 2016-03-11 14:15:13 +01:00
Kamil Trzcinski d300ecf8d9 Allow to pass name of created artifacts archive in .gitlab-ci.yml 2016-03-11 13:43:57 +01:00
Kamil Trzcinski ad4d3a075f Describe special YAML features: the use of anchors and hidden jobs 2016-03-11 13:41:05 +01:00
Achilleas Pipinellis 9e3c78724b Link to examples page
[ci skip]
2016-02-29 14:50:08 +02:00
James Lopez 83829c0902 revert back to ruby 2.1 2016-02-19 15:59:46 +01:00
Kamil Trzciński b352dbaba6 Merge branch 'patch-1' into 'master'
Add example of creating build artifacts only for release tags.



See merge request !2649
2016-02-18 12:24:54 +00:00
Mart Somermaa 150bee38b4 Grammar cleanup in yaml/README.md 2016-02-03 12:45:07 +02:00
Mart SõmermaaandMart Somermaa d04556009c Add example of creating build artifacts only for release tags. 2016-02-03 12:39:34 +02:00
Malte BlättermannandMalte Blättermann acea6e1c50 Documentation cleanup of artifacts section in Gitlab CI Readme
- Added notice about build artifacts not beeing collected on failed builds.
- Removed "introduced in 0.7.0" for artifacts section.
- Made windows notice more precise
2016-02-02 22:43:15 +01:00
James Lopez 3d81f1da6e Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into update-ruby-2.2.4
# Conflicts:
#	.gitlab-ci.yml
2016-01-22 18:01:38 +01:00
Achilleas Pipinellis 2254413267 Fix broken codeblocks in ci/yaml documentation
[ci skip]
2016-01-22 12:33:37 +01:00