summaryrefslogtreecommitdiff
path: root/app/controllers/projects/builds_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into per-build-tokenKamil Trzcinski2016-09-191-1/+1
|\
| * Fix spelling: sucessfully -> successfullyStan Hu2016-09-151-1/+1
| | | | | | | | Originally from gitlab-org/gitlab-ee!682
* | Don't leak build tokens in build logsKamil Trzcinski2016-09-191-1/+5
|/
* Update specs - add mocks to simulate old versionsTomasz Maczukin2016-09-011-2/+2
|
* Change 404 to 410 error when raw trace is unavailableTomasz Maczukin2016-09-011-1/+1
|
* Handle error on trace raw download with old builds (DB stored)Tomasz Maczukin2016-09-011-1/+1
|
* Pre-create all builds for Pipeline when a trigger is receivedKamil Trzcinski2016-08-111-1/+1
| | | | | | | | | | | This change simplifies a Pipeline processing by introducing a special new status: created. This status is used for all builds that are created for a pipeline. We are then processing next stages and queueing some of the builds (created -> pending) or skipping them (created -> skipped). This makes it possible to simplify and solve a few ordering problems with how previously builds were scheduled. This also allows us to visualise a full pipeline (with created builds). This also removes an after_touch used for updating a pipeline state parameters. Right now in various places we explicitly call a reload_status! on pipeline to force it to be updated and saved.
* Improve code designKamil Trzcinski2016-07-181-6/+2
|
* Improve manual actions code and add model, service and feature testsKamil Trzcinski2016-07-181-1/+1
| | | | | | | | Manual actions are accessible from: - Pipelines - Builds - Environments - Deployments
* Add implementation of manual actionsKamil Trzcinski2016-07-181-0/+9
|
* Add Pending Tab to Admin BuildsKatarzyna Kobierska2016-07-181-1/+3
| | | | | | Add Pending Tab to Project Builds Update CHANGELOG
* Added initial version of deploymentsKamil Trzcinski2016-06-101-1/+1
|
* CI build page UI updatePhil Hughes2016-06-101-1/+1
| | | | | Added sidebar Removed elements not present in design
* Merge remote-tracking branch 'origin/master' into rename-ci-commitKamil Trzcinski2016-06-061-1/+1
|\ | | | | | | | | # Conflicts: # spec/features/builds_spec.rb
| * Remove 'unscoped' from project builds selectionTomasz Maczukin2016-06-041-1/+1
| |
* | Rename Ci::Commit to Ci::Pipeline and rename some of the ci_commit to pipelineKamil Trzcinski2016-06-021-2/+2
|/
* Encode state as base64 stringKamil Trzcinski2016-05-091-8/+1
|
* Send trace to a browser incrementally when build is runningKamil Trzcinski2016-05-091-0/+15
| | | | | We send a state of ansi2html to client, client needs to send this state back. The state describes the configuration of generator and position within trace.
* Use Rails-way to send file by X-SendfileTomasz Maczukin2016-04-191-5/+2
|
* Add feature specs for raw traceTomasz Maczukin2016-04-191-1/+1
|
* Switch raw trace to use X-Sendfile headerTomasz Maczukin2016-04-191-3/+6
|
* Add raw trace output for GitLab WorkhorseTomasz Maczukin2016-04-191-1/+9
|
* Move build erasable implementation from concern to modelGrzegorz Bizon2016-02-191-2/+2
| | | | | Discussion: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2560#note_3659905
* Update relevant build fields when build is erasedGrzegorz Bizon2016-02-191-1/+1
|
* Add build eraseable feature implementationGrzegorz Bizon2016-02-191-4/+4
|
* Add build remove button to build summary viewGrzegorz Bizon2016-02-191-0/+6
|
* Move builds badge implementation to new badges controllerGrzegorz Bizon2016-02-111-10/+0
|
* Inherit build badge access permissions from projectGrzegorz Bizon2016-02-111-10/+4
|
* Respond to proper format for build badge requestGrzegorz Bizon2016-02-111-2/+8
|
* Move badge implementation to builds controllerGrzegorz Bizon2016-02-111-5/+10
|
* Make the CI permission model simplerKamil Trzcinski2016-02-021-7/+2
| | | | | | | | | | | | | 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.
* Give reporters the ability to download artifacts.Andrew Johnson2016-01-151-2/+2
| | | | Also fix a few places where page_404 should be render_404.
* Move build artifacts implementation to separate controllerGrzegorz Bizon2016-01-141-27/+0
|
* Show 'All' tab by default in the builds pageshow-all-builds-by-defaultDouglas Barbosa Alexandre2016-01-041-3/+3
|
* Remove ci_ prefix from all ci related thingsKamil Trzcinski2015-12-111-3/+3
|
* Migrate CI::Project to ProjectKamil Trzcinski2015-12-111-4/+3
|
* Implement Build ArtifactsKamil Trzcinski2015-11-101-0/+27
| | | | | | | - Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
* CI details cleanupKamil Trzcinski2015-11-051-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | - Add page titles to CI settings. - Fix CI admin navigation. - Remove duplicated scope. - Use monospace font for commit sha. - Add page title and header title to build page. - Proper authorization for cancel/retry builds. - Use gitlab pagination theme for builds and group members. - Don't paginate builds widget on build page. - Add badges to commit page Changes/Builds tabs. - Add "Builds" to commit Builds tab page title. - Add and use Ci::Build#retryable? method. - Add CI::Build#retried? method. - Allow all failed commit builds to be retried. - Proper authorization for cancel/retry all builds. - Remove unused param. - Use time_ago_with_tooltip where appropriate. - Tweak builds index text - Remove duplication between builds/build and commit_statuses/commit_status. - Use POST rather than GET for canceling and retrying builds. - Remove redundant URL helpers. - Add build ID to build page. - Link branch name on build page. - Move commit/:sha/ci to commit/:sha/builds.
* Allow developer to manage buildsKamil Trzcinski2015-10-231-1/+7
|
* Fix small CI UI regressionsKamil Trzcinski2015-10-231-4/+5
|
* Fix builds view count indicatorKamil Trzcinski2015-10-151-2/+2
|
* Fix specsKamil Trzcinski2015-10-141-6/+6
|
* Refactor builds viewKamil Trzcinski2015-10-141-5/+5
|
* Added builds viewKamil Trzcinski2015-10-141-2/+23
|
* Remove Ci::Commit and Ci::Build controllerscleanup-ci-pagesDmitriy Zaporozhets2015-10-071-0/+30
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Cleanup CI code after refactoring and fix several 500 errorsDmitriy Zaporozhets2015-10-061-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move CI build page to CE projectDmitriy Zaporozhets2015-10-061-0/+25
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>