Commit Graph
166 Commits
Author SHA1 Message Date
Lee fd248b0f06 (doc) fix typo to ssh keys doc url 2016-04-12 16:13:31 -05:00
Benjamin Montgomery 84ff30a6b2 fix typo 2016-04-10 21:16:06 +00:00
Benjamin Montgomery 1e99e56202 Make the purpose of artifact config options clearer 2016-04-10 21:14:40 +00:00
Benjamin Montgomery ca823065a9 actually enable artifacts 2016-04-09 20:51:15 +00:00
Alex Mayer 875646a85e Fix Incorrect Quote In Docker Executor Example 2016-04-07 20:10:29 +00: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
Mark Pundsack 315d875954 Fix typo in README.md. 2016-03-16 18:04:42 +00:00
Jeroen van Baarsen 0732500595 Merge branch 'patch-1' into 'master'
Fix typo in Ruby CI test and deploy example

[skip ci]

See merge request !3201
2016-03-15 16:13:49 +00: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
Douwe Maan ca3fc2296f Merge branch 'gitlab-ci-yaml-updates' into 'master'
New CI YAML features

This introduces a couple of small `.gitlab-ci.yml` features:

1. Documentation for: Allow to use YAML anchors when parsing the `.gitlab-ci.yml`: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2958
2. Ignore jobs that start with `.`
3. Allow to pass name of created artifacts archive in `.gitlab-ci.yml`
4. Allow to define on which builds the current one depends on

These are really small changes so it makes not sense to create a separate merge requests for them.

@axil Could you review the documentation part?

The implementation on GitLab Runner side: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/merge_requests/113.

Fixes: https://gitlab.com/gitlab-org/gitlab-ce/issues/13755 https://gitlab.com/gitlab-org/gitlab-ce/issues/14211 https://gitlab.com/gitlab-org/gitlab-ce/issues/3423

cc @grzesiek @axil @DouweM 


See merge request !3182
2016-03-14 20:06:50 +00:00
Achilleas Pipinellis a6f5304280 Merge duplicate cache entry in CI docs
[ci skip]
2016-03-14 19:28:23 +02:00
Jasper Denkers 543b85a0f5 Fix typo in Ruby CI test and deploy example 2016-03-14 13:21:31 +00: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
Sytse Sijbrandij 065de4ab79 Merge branch 'reduce-example-duplication' into 'master'
Reduce example documentation.

We should not duplicate indexes between the top level and lower level.

See merge request !3162
2016-03-13 01:30:08 +00:00
Sytse Sijbrandij 4e27284a7b Remove duplicate entries. 2016-03-12 17:28:54 -08:00
Achilleas Pipinellis 19d1455ac1 Change notes to new styleguide using blockquotes 2016-03-12 20:22:38 +02:00
Achilleas Pipinellis 8c543e6010 Merge branch 'master' into gitlab-ci-yaml-updates 2016-03-12 19:27:28 +02:00
Achilleas Pipinellis 5461170fb3 Fix incorrect gitlab.rb variable in CI docs
[ci skip]
2016-03-11 21:26:18 +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
Sytse Sijbrandij fd49f1b0d3 Reduce example documentation. 2016-03-10 08:13:11 -08:00
Achilleas Pipinellis a19a9faba9 Merge branch 'doc/ci-api-update' into 'master'
Deprecated GitLab CI API clean up

Deprecated GitLab CI API clean up.

The intent here is to clean up deprecated GitLab CI documentation leaving only relevant information.
Since we merged `Ci::Project` to `Project` most of this documentation is outdated.

Closes #13610 

See merge request !3003
2016-03-08 09:35:10 +00:00
Grzegorz Bizon 74b963268c Update format of documentation for CI API 2016-03-01 10:57:12 +01:00
Achilleas Pipinellis d5f634b32f Add a TL;DR version in quick start guide
Borrowed from a user's comment:
https://gitlab.com/esr/reposurgeon/merge_requests/27#note_3158109

[ci skip]
2016-03-01 10:29:27 +02:00
Achilleas Pipinellis 141783d592 Add link to triggers doc in variables section
[ci skip]
2016-03-01 09:57:09 +02:00
Achilleas Pipinellis 9e3c78724b Link to examples page
[ci skip]
2016-02-29 14:50:08 +02:00
Achilleas Pipinellis f742ddeebe Reorganize CI sections and give descriptive names to links 2016-02-29 14:44:08 +02:00
Grzegorz Bizon ec7c6a084c Remove deprecated CI API docs for commits and projects
[ci skip]
2016-02-29 13:22:34 +01:00
Grzegorz Bizon 5b3b4ff65e Update CI API documentation for runners
[ci skip]
2016-02-29 12:14:46 +01:00
Grzegorz Bizon cf73dc34f7 Add CI API prefix to documentation
[ci skip]
2016-02-29 12:12:51 +01:00
Grzegorz Bizon 616281f6a9 Update CI API docs for builds endpoint for runners
[ci skip]
2016-02-29 12:08:35 +01:00
Grzegorz Bizon d24d806ea9 Deprecated GitLab CI API clean up - README 2016-02-29 10:20:45 +01:00
Achilleas Pipinellis cbd9f1bc09 Move languages to examples 2016-02-26 22:51:07 +02:00
Robert Speicher d10b43dae3 Merge branch 'master' of github.com:gitlabhq/gitlabhq 2016-02-22 15:24:20 -05:00
Achilleas Pipinellis 2cc9a42ca4 Merge branch 'doc/add-build-email-service' into 'master'
Add documentation about build emails service

Closes #12497

See merge request !2871
2016-02-19 21:36:47 +00:00
Achilleas Pipinellis 7f5f56d443 Move builds emails service to its own document
[ci skip]
2016-02-19 23:35:26 +02:00
Robert Schilling 041cae6792 Merge pull request #10042 from sestus/master
Typo fix in README.md of ci quick-start docs.
2016-02-19 22:12:23 +01:00
James Lopez 83829c0902 revert back to ruby 2.1 2016-02-19 15:59:46 +01:00