Commit Graph
61 Commits
Author SHA1 Message Date
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
James Lopez 1c51fb1778 update Ruby version to 2.2.4 (latest previous stable) and update docs 2016-01-21 16:12:49 +01:00
Kamil Trzcinski c45a6bf3ba Added cache:key to .gitlab-ci.yml allowing to fine tune the caching 2016-01-20 23:12:48 +01:00
Drew Blessing c019154a91 Clarify Windows shell executor artifact upload support 2015-12-17 13:01:57 -06:00
Achilleas Pipinellis fc9fbdce44 Clean up ci yaml doc [ci skip]
* Fix headings so that they are picked up by doc.gitlab.com
* Stick to 80 characters
* Clean up some examples
2015-12-16 19:13:04 +02:00
Drew Blessing baa97175ab Clarify cache behavior 2015-12-11 11:09:34 -06:00