summaryrefslogtreecommitdiff
path: root/lib/ci
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-244-60/+85
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27762-add-default-artifacts-expiration * upstream/master: (247 commits) Switched CONTRIBUTING.md style guide recommendation for method chaining Fix new offenses Stylistic tweaks Fix OAuth/SAML user blocking behavior Revert "Enable Style/DotPosition" Revert "Prefer leading style for Style/DotPosition" Revert "Enable Style/BarePercentLiterals" Manually correct autocorrect Move up delegate calls Exclude migrations from Style/MutableConstant ActiveSupport delegation is preferred over Forwardable Update haml_lint to work with newest rubocop Add explanations to cops Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Order cops alphabetically Don’t exclude some file in lib from rubocop Fix new offenses Enable Rails/Delegate Enable Style/WordArray ...
| * Revert "Enable Style/DotPosition"Douwe Maan2017-02-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9. # Conflicts: # .rubocop.yml # .rubocop_todo.yml # lib/gitlab/ci/config/entry/global.rb # lib/gitlab/ci/config/entry/jobs.rb # spec/lib/gitlab/ci/config/entry/factory_spec.rb # spec/lib/gitlab/ci/config/entry/global_spec.rb # spec/lib/gitlab/ci/config/entry/job_spec.rb # spec/lib/gitlab/ci/status/build/factory_spec.rb # spec/lib/gitlab/incoming_email_spec.rb
| * Revert "Prefer leading style for Style/DotPosition"Douwe Maan2017-02-232-15/+15
| | | | | | | | This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
| * Enable Style/WordArrayDouwe Maan2017-02-231-1/+1
| |
| * Enable Style/EmptyLineBetweenDefsDouwe Maan2017-02-231-0/+44
| |
| * Prefer leading style for Style/DotPositionDouwe Maan2017-02-232-15/+15
| |
| * Enable Performance/RedundantMatchDouwe Maan2017-02-231-1/+1
| |
| * Enable Style/MutableConstantDouwe Maan2017-02-232-4/+4
| |
| * Enable Style/DotPositionDouwe Maan2017-02-231-2/+2
| |
| * Merge branch 'grapify-ci-runners-api' into 'master' Rémy Coutable2017-02-221-26/+18
| |\ | | | | | | | | | | | | Grapify the CI::Runners API See merge request !9440
| | * Grapify the CI::Runners APIgrapify-ci-runners-apiRobert Schilling2017-02-221-26/+18
| | |
| * | Grapfiy the CI::Triggers APIgrapify-ci-triggers-apiRobert Schilling2017-02-221-27/+16
| |/
| * No more and/orDouwe Maan2017-02-211-1/+1
| |
* | rubocop: Align the operands of an expressionLin Jen-Shin2017-02-151-2/+2
| | | | | | | | | | | | C: Style/MultilineOperationIndentation: Align the operands of an expression in an assignment spanning multiple lines.
* | Use the same syntax for default expirationLin Jen-Shin2017-02-151-1/+4
| | | | | | | | | | | | | | | | Feedback: * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23343951 * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23344036 * https://gitlab.com/gitlab-org/gitlab-ce/issues/27762#note_23344797
* | Initial implementation for default artifacts expirationLin Jen-Shin2017-02-151-1/+1
|/ | | | TODO: Add tests and screenshots
* 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
|