summaryrefslogtreecommitdiff
path: root/app/controllers
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'build-triggers' into 'master'Robert Speicher2015-08-212-2/+43
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement build trigger API This commit implements Build Triggers. There are changes to API request: - Due to security advised method to pass trigger token is to use form data - Advised method to pass variables is to use form data TODO: - [x] Implement API - [x] Implement UI - [x] Dimitriy and Valery review - [x] Write specs - [x] Write documentation - [x] Job documentation review See merge request !229
| * Initial support for build triggersKamil Trzcinski2015-08-211-0/+41
| |
| * Add committed_at to commits to properly order last commit (the force push issue)Kamil Trzcinski2015-08-211-2/+2
| |
* | Redirect to known route instead of :backKamil Trzcinski2015-08-211-1/+1
| |
* | Fix spellingKamil Trzcinski2015-08-211-1/+1
| |
* | Update variables from within it's own controller not the project'sKamil Trzcinski2015-08-211-1/+15
|/
* Merge branch 'service-testing' into 'master' Kamil Trzciński2015-08-051-1/+1
|\ | | | | | | | | | | | | | | | | | | | | Fix service testing Fixes: - https://gitlab.com/gitlab-org/gitlab-ci/issues/248 - https://gitlab.com/gitlab-org/gitlab-ci/issues/208 /cc @vsizov See merge request !221
| * Fix service testingKamil Trzcinski2015-08-031-1/+1
| |
* | Merge branch 'rename-type-to-stage' into 'master' Kamil Trzciński2015-08-051-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Rename type to stage However, make the `type` and `types` as alias for `stage` and `stages`. /cc @vsizov @sytses See merge request !222
| * | Update db/schemaKamil Trzcinski2015-08-031-1/+1
| |/
* | Refactor GitLab API usage to use either access_token or private_tokenKamil Trzcinski2015-08-041-1/+1
|/
* Added Application SettingsKamil Trzcinski2015-07-301-0/+29
|
* Allow to specify flexible list of types in yamlKamil Trzcinski2015-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` types: - test - deploy - notify rspec: script: "rspec" rubocop: script: "rubocop" staging: type: deploy script: "echo deploy" only: - master production: type: deploy script: "echo production" only: - tags dockerhub: type: notify script: "curl http://docker/hub/web/hook" downstream: type: notify script: "curl http://build/downstream/jobs" ``` This will trigger two test jobs in parallel, when finished it will trigged either staging or production, when finished it will trigger dockerhub and downstream in parallel.
* Don't use return_to, but instead pass state with signed return_to parameterKamil Trzcinski2015-07-082-4/+9
|
* Added random salt and hashing to oauth state parameterKamil Trzcinski2015-07-081-2/+10
| | | | This ensures that content of state is generated by CI, but doesn't prevent replay attacks on state parameter.
* Remove old sessions in order to force a new access_token accessKamil Trzcinski2015-07-061-6/+0
|
* Get rid of private message usageoauth_everywhereValery Sizov2015-07-022-1/+7
|
* satisfy rubocopValery Sizov2015-06-301-1/+1
|
* Redirect back after authorizationValery Sizov2015-06-301-2/+3
|
* not_found status of commitValery Sizov2015-06-241-2/+5
|
* Merge branch 'lint_improve' into 'master'Valery Sizov2015-06-241-0/+2
|\ | | | | | | | | | | | | | | Improved lint stability https://dev.gitlab.org/gitlab/gitlab-ci/issues/294 See merge request !163
| * improved lint stabilityValery Sizov2015-06-241-0/+2
| |
* | Ability to cancel all builds in the commit at onceValery Sizov2015-06-241-1/+8
|/
* yaml refactoringValery Sizov2015-06-191-2/+2
|
* add links to lint, improve test coverageValery Sizov2015-06-101-0/+2
|
* spec fixlintValery Sizov2015-06-091-1/+1
|
* Lint implementationValery Sizov2015-06-091-0/+20
|
* Merge branch 'active_runners' into 'master'Valery Sizov2015-06-081-0/+1
|\ | | | | | | | | | | | | | | | | | | Show number of runners actively checking in on runners page https://dev.gitlab.org/gitlab/gitlab-ci/issues/241 ![joxi_screenshot_1433751389715](https://gitlab.com/gitlab-org/gitlab-ci/uploads/6f08e9e35a5c63396486d46792b703dc/joxi_screenshot_1433751389715.png) See merge request !127
| * active runnersValery Sizov2015-06-081-0/+1
| |
* | satisfy rubocopValery Sizov2015-06-051-1/+1
| |
* | implementation of variablesValery Sizov2015-06-052-1/+19
|/
* Merge branch 'jobs_in_yml' into 'master'Dmitriy Zaporozhets2015-06-032-25/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CI configuration with .gitlab-ci.yml https://dev.gitlab.org/gitlab/gitlab-ci/issues/245 Example: ``` # Refs to skip skip_refs: “deploy*” # Run before each script before_script: - export PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin - gem install bundler - cp config/database.yml.mysql config/database.yml - cp config/gitlab.yml.example config/gitlab.yml - touch log/application.log - touch log/test.log - bundle install --without postgres production --jobs $(nproc) - bundle exec rake db:create RAILS_ENV=test # Parallel jobs, each line is parallel build jobs: - script: “rake spec” runner: “ruby,postgres” name: “Rspec” - script: “rake spinach” runner: “ruby,mysql” name: “Spinach” tags: true branches: false # Parallel deploy jobs deploy_jobs: “cap deploy production” “cap deploy staging” ``` See merge request !110
| * download link to generated yamlValery Sizov2015-06-031-2/+6
| |
| * Implementation of configuration CI with gitlab-ci.ymlValery Sizov2015-06-031-1/+1
| |
| * cleaning upValery Sizov2015-06-032-22/+1
| |
* | replace YAML with JOSN on dashboardValery Sizov2015-06-031-2/+4
|/
* Use retina-ready standard badgesDmitriy Zaporozhets2015-05-201-1/+1
|
* search fixValery Sizov2015-05-191-1/+1
|
* basic implementation of endless scroll on dashboardValery Sizov2015-05-192-4/+25
|
* public accessible build and commitValery Sizov2015-05-154-15/+20
|
* storing runner infosave_info_from_runnerValery Sizov2015-05-121-1/+4
|
* More explicit permission error for developersValery Sizov2015-05-061-0/+4
|
* Refactoring. Clean up advanced settings. Migrate from gotlab_url to pathValery Sizov2015-05-041-5/+4
|
* HipChat Notification ServiceHoward P. Logsdon2015-04-301-1/+2
| | | | | | | | | | | | | * Move existing Slack service spec into a subdir, mirroring /app * Wire up HipChat service to the project and services controller. * Split the message building into own class. * 'namespace' room and token variables. * Enforce v2 client (bug in HipChat gem v1.5.0. fixed in 1.5.1). Note that I'm using the same version string as GitLab-CE, for shared installations. * Defer execution to a notifier worker, like the Slack service. * Ensure passing specs (basically a Slack service spec copy, fwiw) * Added change to the CHANGELOG
* Merge branch 'builds_tabs' into 'master'Dmitriy Zaporozhets2015-04-241-0/+5
|\ | | | | | | | | | | | | | | Pending and Running tabs on admin builds page https://dev.gitlab.org/gitlab/gitlab-ci/issues/212 See merge request !81
| * Tabs Pending and Running on admin builds pageValery Sizov2015-04-241-0/+5
| |
* | Merge branch 'refactoring_user_url' into 'master'Dmitriy Zaporozhets2015-04-232-2/+2
|\ \ | |/ |/| | | | | | | | | | | Refactoring network related code https://dev.gitlab.org/gitlab/gitlab-ci/issues/139 See merge request !74
| * refactoring network related coderefactoring_user_urlValery Sizov2015-04-222-2/+2
| |
* | Merge branch 'project-runners-page' into 'master'Dmitriy Zaporozhets2015-04-233-4/+44
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improved runner page for project Tasks: - [x] Ability to add runner to several projects - [x] Render runner status (online, offline, disabled) - [x] Two column style of page: specific and shared runners - [x] Toggle shared runners for project - [x] Fix tests - [x] Write tests for new functionality - [x] Remove runner instead disabling if it is last project for this runner - [x] Cleanup and refactor code - [x] Improve query for authorised runners (reject duplicates) - [x] Improve UI based on https://dev.gitlab.org/gitlab/gitlab-ci/issues/185#note_41582 See merge request !61
| * runner page: remove duplicationValery Sizov2015-04-211-1/+1
| |