summaryrefslogtreecommitdiff
path: root/lib/ci
Commit message (Collapse)AuthorAgeFilesLines
* Grapify the CI::Runners APIgrapify-ci-runners-apiRobert Schilling2017-02-221-26/+18
|
* No more and/orDouwe Maan2017-02-211-1/+1
|
* Merge branch '20248-add-coverage-regex-in-job-yaml' into 'master'Douwe Maan2017-02-021-0/+1
|\ | | | | | | | | | | | | Add ability to define a coverage regex in the .gitlab-ci.yml Closes #20428 See merge request !7447
| * Simplify coverage setting and comply to some requests in code reviewLeandro Camargo2017-01-251-1/+1
| |
| * Change expected `coverage` structure for CI configuration YAML fileLeandro Camargo2017-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using: `coverage: /\(\d+.\d+%\) covered/` This structure must be used now: ``` coverage: output_filter: /\(\d+.\d+%\) covered/` ``` The surrounding '/' is optional.
| * Comply to requests made in the review and adjust to the Entry/Node changesLeandro Camargo2017-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit: * Turns `coverage_regex` into `coverage` entry in yml file * Fixes smaller requests from code reviewers for the previous commit * This commit is temporary (will be squashed afterwards) This commit does not (further commits will do though): * Add global `coverage` entry handling in yml file as suggested by Grzegorz * Add specs * Create changelog * Create docs
| * Add ability to define a coverage regex in the .gitlab-ci.ymlLeandro Camargo2017-01-251-0/+1
| | | | | | | | * Instead of using the proposed `coverage` key, this expects `coverage_regex`
* | Return struct instead of multiple valuesKamil Trzcinski2017-01-251-5/+5
| |
* | Fix specsKamil Trzcinski2017-01-251-0/+1
| |
* | Fix picking CI buildsKamil Trzcinski2017-01-251-9/+15
| | | | | | | | | | The conflict happens when we try to update a build, but fail to do so due to fact that we update the same build concurrently for two different runners.
* | Remove unneeded code and fix offensesbackport-ee-changes-for-build-minutesKamil Trzcinski2017-01-251-1/+1
| |
* | Backport changes introduced by ↵Kamil Trzcinski2017-01-201-2/+2
|/ | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1083
* Merge remote-tracking branch 'origin/master' into 21698-redis-runner-last-buildKamil Trzcinski2017-01-195-18/+32
|\
| * Merge branch '19086-double-newline' into 'master' Sean McGivern2017-01-091-1/+1
| |\ | | | | | | | | | | | | | | | | | | Fix Double Spaced CI Log Closes #19086 See merge request !8349
| | * Replace carriage return combos with line breaks tagsJared Deckard2016-12-281-1/+1
| | |
| * | Don't instrument 405 Grape calls26051-fix-missing-endpoint-route-methodRémy Coutable2017-01-091-0/+10
| |/ | | | | | | | | | | Fixes #26051. Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Ensure nil User-Agent doesn't break the CI APIRémy Coutable2016-12-211-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Merge branch 'fix-forbidden-for-build-api-for-deleted-project' into 'master' Grzegorz Bizon2016-12-202-15/+19
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Give forbidden if project for the build was deleted I guess we don't need a change log entry because this is just for an internal corner case fix. Closes #25309 See merge request !8091
| | * Use a block to insert extra check for authenticate_build!fix-forbidden-for-build-api-for-deleted-projectLin Jen-Shin2016-12-201-3/+6
| | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8091#note_20253762
| | * Prefer unless over if notLin Jen-Shin2016-12-191-1/+1
| | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/builds/7606797
| | * Use a separate method to skip validationLin Jen-Shin2016-12-192-3/+8
| | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8091#note_20222666
| | * Give forbidden if project for the build was deletedLin Jen-Shin2016-12-152-15/+11
| | | | | | | | | | | | Closes #25309
| * | Keep the value type for YAML variablesLin Jen-Shin2016-12-191-1/+1
| | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8088#note_20235080
| * | Convert CI YAML variables keys into stringsLin Jen-Shin2016-12-151-1/+1
| |/ | | | | | | | | | | | | So that this would be more consistent with the other variables, which all of them are string based. Closes #25554
* | WIP: Add tests and make sure that headers are set21698-redis-runner-last-buildLin Jen-Shin2017-01-041-2/+2
| | | | | | | | | | | | | | | | | | | | * We realized that headers were not set whenever we give 204 because `render_api_error!` doesn't preserve the headers. * We also realized that `update_runner_info` would be called in POST /builds/register every time therefore runner is updated every time, ticking the queue, making this last_update didn't work very well, and the test would be failing due to that.
* | Do things in the correct orderKim "BKC" Carlbäcker2016-12-161-1/+2
| |
* | #NamingThingsKim "BKC" Carlbäcker2016-12-161-8/+4
| |
* | Move redis-logic into Ci::RunnerKim "BKC" Carlbäcker2016-12-152-12/+3
| |
* | lintingKim "BKC" Carlbäcker2016-12-151-2/+2
| |
* | typo-oKim "BKC" Carlbäcker2016-12-141-1/+1
| |
* | Add BuildQueueWorker for injecting redis-keysKim "BKC" Carlbäcker2016-12-141-0/+1
| |
* | First attemptKim "BKC" Carlbäcker2016-12-142-0/+20
|/
* Send credentials array with build dataTomasz Maczukin2016-11-211-3/+5
|
* Send registry_url with build data to GitLab RunnerTomasz Maczukin2016-11-161-0/+4
|
* Improve naming convention in ci configuration modulefix/improve-naming-convention-in-ci-configGrzegorz Bizon2016-11-141-1/+1
|
* Add logical validation to gitlab-ci.ymlKamil Trzcinski2016-10-181-0/+30
|
* Extract method that checks if ci runner needs updateGrzegorz Bizon2016-10-031-4/+11
|
* Update runner version only when updating contacted_atKamil Trzcinski2016-10-032-14/+10
|
* Expose jobs to viewKatarzyna Kobierska2016-09-301-3/+1
|
* Add missing values to linterKatarzyna Kobierska2016-09-301-0/+2
|
* Remove duplicate VersionInfo classRobert Speicher2016-09-291-52/+0
| | | | | This was brought over during the CI merge and already exists at `lib/gitlab/version_info.rb`.
* Improve JwtController implementationpost-merge-improve-of-ci-permissionsKamil Trzcinski2016-09-201-1/+2
|
* Post-merge improve of CI permissionsKamil Trzcinski2016-09-201-3/+3
|
* Merge branch 'master' into per-build-tokenKamil Trzcinski2016-09-192-1/+11
|\
| * Fix CI job environment configuration attributesGrzegorz Bizon2016-09-191-1/+1
| |
| * Properly create deployment using all possible optionsKamil Trzcinski2016-09-191-0/+9
| |
| * Add new CI configuration entry for the environmentGrzegorz Bizon2016-09-191-1/+2
| |
* | Don't leak build tokens in build logsKamil Trzcinski2016-09-191-0/+9
| |
* | Fix most of specsKamil Trzcinski2016-09-151-2/+2
| |
* | Merge remote-tracking branch 'origin/master' into per-build-tokenKamil Trzcinski2016-09-152-1/+9
|\ \ | |/ | | | | | | # Conflicts: # db/schema.rb