summaryrefslogtreecommitdiff
path: root/app/controllers/ci
Commit message (Collapse)AuthorAgeFilesLines
* Handle all YAML parser exceptions in .gitlab-ci.yml (fixes #41209)41209-ci-linter-fails-on-gitlab-ci-blob-viewerDylan Griffith2018-02-071-4/+1
| | | | | | | | - Move the exception handling as close to the source as possible to avoid leaking Psych ahstraction - Also remove unnecessary rescue all statement from LintsController. This should not be necessary anymore since any YAML errors should all be caught by the #validation_message method.
* move `lib/ci/gitlab_ci_yaml_processor.rb` into `lib/gitlab/ci/yaml_processor.rb`Maxim Rydkin2017-09-121-2/+2
|
* Remove deprecated legacy CI project status badgeGrzegorz Bizon2017-03-011-47/+0
|
* Remove Ci::ApplicationControllerTakuya Noguchi2016-10-103-9/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Expose jobs to viewKatarzyna Kobierska2016-09-301-0/+1
|
* Code refactorKatarzyna Kobierska2016-09-071-4/+2
|
* Code refactoringKatarzyna Kobierska2016-09-071-6/+3
|
* Fix rubocop errorsKatarzyna Kobierska2016-09-071-1/+1
|
* Change class method nameKatarzyna Kobierska2016-09-071-2/+2
|
* Add class method to encapsulate exceptionKatarzyna Kobierska2016-09-071-3/+3
|
* Enable Style/SpaceAfterColon Rubocop copsGrzegorz Bizon2016-06-291-1/+1
|
* Redirect to root path when visiting `/ci`fix/nomethod-error-on-ciGrzegorz Bizon2016-03-291-0/+4
|
* Add definition of before action that has been movedGrzegorz Bizon2016-03-251-1/+5
| | | | Closes #14528
* Do not require authentication for CI status badgefix/deprecated-ci-badge-permissionsGrzegorz Bizon2016-03-011-1/+0
| | | | | This changes only deprecated CI badge that we keep for backwards compatibility. See !3030#note_4041498.
* Fix deprecated CI build status badge permissionsGrzegorz Bizon2016-03-011-0/+3
|
* Render 404 if there is no project for old CI status badgeGrzegorz Bizon2016-02-111-0/+1
|
* Add deprecation warning for old CI status badge actionGrzegorz Bizon2016-02-111-1/+4
| | | | | We keep this only for backwards compatibility with projects that have been migrated from GitLab CI. New project badge will go elsewhere.
* Clean Ci::ApplicationController from unused permission related codeKamil Trzcinski2016-02-032-50/+2
|
* Make the CI permission model simplerKamil Trzcinski2016-02-021-1/+1
| | | | | | | | | | | | | This MR simplifies CI permission model: - read_build: allows to read a list of builds, artifacts and trace - update_build: allows to cancel and retry builds - create_build: allows to create builds from gitlab-ci.yml (not yet implemented) - admin_build: allows to manage triggers, runners and variables - read_commit_status: allows to read a list of commit statuses (including the overall of builds) - create_commit_status: allows to create a new commit status using API Remove all extra methods to manage permission. Made all controllers to use explicitly the new permissions.
* Allow subsequent validations in CI Linterfix/ci-linter-sequence-validationsGrzegorz Bizon2016-01-111-2/+4
| | | | Closes #5851
* Make CI Lint form synchronousfix/ci-lintGrzegorz Bizon2015-12-221-1/+3
| | | | | | | | | | | This removes `remote: true` from CI Lint form, making it synchronous form. This also removes some complexity related to displaying lint messages. View also has been updated, removed deprecated Bootstrap 2 tags. Improved design. Closes #4206
* Add runners tokenKamil Trzcinski2015-12-112-8/+1
|
* Migrate CI::Project to ProjectKamil Trzcinski2015-12-1111-247/+7
|
* Don't rescue Exception, but StandardErrorci-yaml-validationKamil Trzcinski2015-11-191-2/+2
|
* Remove deprecated dumped yaml file generated from previous job definitionsci-deprecate-dumped-yamlKamil Trzcinski2015-11-101-4/+0
|
* Remove deprecated CI events from project settings pageDmitriy Zaporozhets2015-10-282-23/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix broken Runners admin pageKamil Trzcinski2015-10-231-0/+1
|
* Allow developer to manage buildsKamil Trzcinski2015-10-231-8/+0
|
* Merge branch 'redirect-ci-dash' into 'master' Dmitriy Zaporozhets2015-10-171-3/+3
|\ | | | | | | | | | | | | Temporary bring /ci page page with help information Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !1630
| * Temporary bring /ci page page with help informationDmitriy Zaporozhets2015-10-171-3/+3
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Redirect old CI project route to GitLab projectDmitriy Zaporozhets2015-10-171-0/+5
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Show warning if build doesn't have runners with specified tags or runners ↵Kamil Trzcinski2015-10-141-2/+2
| | | | | | | | didn't connect recently Slightly refactor runner status detection: moving it to Runner class Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
* Fix tests and few CI featuresDmitriy Zaporozhets2015-10-071-0/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move CI services to project settings areaDmitriy Zaporozhets2015-10-071-59/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove Ci::Commit and Ci::Build controllerscleanup-ci-pagesDmitriy Zaporozhets2015-10-072-84/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove Continuous Integration from project menuDmitriy Zaporozhets2015-10-071-20/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix ci build routing and few testsci-build-pageDmitriy Zaporozhets2015-10-061-2/+6
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor commit/build tests and fix CI cancelDmitriy Zaporozhets2015-10-061-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Cleanup CI code after refactoring and fix several 500 errorsDmitriy Zaporozhets2015-10-062-41/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix broken grouping sql clause when rendering commits for CIKamil Trzcinski2015-10-061-2/+3
|
* Fix graphical glitchesKamil Trzcinski2015-10-051-3/+5
|
* Merge branch 'rs-remove-ci-disable'Kamil Trzcinski2015-10-052-15/+2
|\ | | | | | | See merge request !1512
| * Remove the option to disable CIrs-remove-ci-disableRobert Speicher2015-10-052-15/+2
| | | | | | | | | | | | This option only existed to ease the CI-to-CE/EE migration process. This commit partially reverts 8b05abe816b0c681ac218096b294311dd04fde8b
* | Merge branch 'refactor-build-service' into 'master' Kamil Trzciński2015-10-053-5/+6
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor Ci::Commit and Ci::Build to have all builds for same :sha on single page This makes Ci::Commit to have only :sha and simplifies routing to have only :sha in path. The :ref and :push_data is now parameter of Ci::Build. All commit related data (git author, message and .gitlab-ci.yml) is read directly from repository. All code related for creating builds is moved to CreateBuildsService. Status deduction is rewritten to make if more efficient and easier to integrate with Commit Status API. This is partially working, tests are not yet touched. This slightly changes view of Commit: ![Screen_Shot_2015-10-02_at_15.21.47](https://gitlab.com/gitlab-org/gitlab-ce/uploads/ad3f1ccdcc87659ea437d8db6c5b9f94/Screen_Shot_2015-10-02_at_15.21.47.png) @dzaporozhets What do you think? See merge request !1502
| * Fix next round of testsKamil Trzcinski2015-10-051-1/+1
| |
| * Refactor commit and buildKamil Trzcinski2015-10-053-5/+6
| |
* | Move CI web hooks page to project settings areaDmitriy Zaporozhets2015-10-051-53/+0
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix rubocop warnings in appGuilherme Garnier2015-10-031-1/+1
|
* Delegate ci_project parameters to projectsKamil Trzcinski2015-09-301-1/+4
| | | | | | | - It delegates name, path, gitlab_url, ssh_url_to_repo - Remove ability to set this parameters using CI API This fixes GitLab project rename, namespace change, repository rename, etc.
* Move CI project settings page to CE project settings areamove-ci-settingsDmitriy Zaporozhets2015-09-291-31/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>