summaryrefslogtreecommitdiff
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
* satisfy rubocopValery Sizov2015-06-051-1/+1
|
* implementation of variablesValery Sizov2015-06-053-0/+10
|
* fix name of retried buildsValery Sizov2015-06-031-0/+1
|
* Merge branch 'jobs_in_yml' into 'master'Dmitriy Zaporozhets2015-06-036-137/+22
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * fix specsValery Sizov2015-06-032-2/+4
| |
| * Implementation of configuration CI with gitlab-ci.ymlValery Sizov2015-06-033-42/+8
| |
| * cleaning upValery Sizov2015-06-034-67/+3
| |
| * proof of concept yml configurationValery Sizov2015-06-035-45/+26
| |
* | replace YAML with JOSN on dashboardValery Sizov2015-06-031-7/+1
|/
* Add no runners notificationValery Sizov2015-05-151-0/+8
|
* Add order option to projects API callValery Sizov2015-05-141-1/+1
|
* Refactoring. Clean up advanced settings. Migrate from gotlab_url to pathValery Sizov2015-05-043-22/+10
|
* rubocop satisfyValery Sizov2015-05-041-2/+0
|
* Fix notification issues on HipChatService, add HipChatMessage specsHoward P. Logsdon2015-04-302-21/+48
| | | | | | | | | | | | | | adding specs for HipChatMessage exposed some issues with the way I was building the matrix-commit style notification message, so it ended up being quite a bit more changes than I expected. The save call from the service configure form submits an empty string as the server URL if left blank, which I've indicated to do in order to use the default server, but Hash#merge will happily overwrite a full string with a blank string if asked, so we need to break that out, along with the worker options which get mutated into string hash keys, of which the HipChat client seems to not understand. Additionally, add another spec to make sure we call the Sidekiq worker with expected arguments.
* HipChat Notification ServiceHoward P. Logsdon2015-04-303-1/+131
| | | | | | | | | | | | | * 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
* Fix 'ci skip' tagValery Sizov2015-04-281-4/+0
|
* Make Network class to follow HTTP RFCValery Sizov2015-04-271-1/+1
|
* Merge branch 'refactoring_user_url' into 'master'Dmitriy Zaporozhets2015-04-234-45/+39
|\ | | | | | | | | | | | | | | 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-224-45/+39
| |
* | Merge branch 'duration' into 'master'Valery Sizov2015-04-231-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix duration visualisation https://dev.gitlab.org/gitlab/gitlab-ci/issues/174 https://github.com/gitlabhq/gitlab-ci/issues/565 See merge request !78
| * | fix duration visualisationValery Sizov2015-04-231-1/+1
| |/
* | Merge branch 'project-runners-page' into 'master'Dmitriy Zaporozhets2015-04-232-0/+13
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: specsValery Sizov2015-04-211-0/+4
| |
| * runner page: remove duplicationValery Sizov2015-04-211-1/+1
| |
| * Improved runner page for projectDmitriy Zaporozhets2015-04-211-0/+9
| | | | | | | | | | | | | | | | * ability to add runner to several projects * render runner status (online, offline, disabled) * two column style of page: specific and shared runners Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | projects search on dashboardValery Sizov2015-04-212-7/+6
|/
* annotatecleanupValery Sizov2015-04-172-6/+2
|
* cleanup build modelValery Sizov2015-04-172-13/+1
|
* Job soft deletionValery Sizov2015-04-152-1/+3
|
* prevent 500 error when job is deletedValery Sizov2015-04-151-1/+1
|
* skip commit creation if there is no appropriate jobValery Sizov2015-04-102-1/+6
|
* Merge branch 'protected_attributes' into 'master'Dmitriy Zaporozhets2015-04-094-13/+0
|\ | | | | | | | | | | | | | | Remove protected attributes https://dev.gitlab.org/gitlab/gitlab-ci/issues/165 See merge request !60
| * remove protected attributesValery Sizov2015-04-094-13/+0
| |
* | Merge branch 'developers_can_cancel_job' into 'master'Dmitriy Zaporozhets2015-04-091-5/+30
|\ \ | |/ |/| | | | | | | | | | | | | | | Developers can cancel and retry jobs https://github.com/gitlabhq/gitlab-ci/issues/563 and https://dev.gitlab.org/gitlab/gitlab-ci/issues/170 See merge request !52
| * developers can cancel and retry jobdevelopers_can_cancel_jobValery Sizov2015-04-071-5/+30
| |
* | Merge branch 'fork_support' into 'master'Dmitriy Zaporozhets2015-04-081-2/+6
|\ \ | |/ |/| | | | | | | | | | | | | | | Support for forks https://dev.gitlab.org/gitlab/gitlab-ci/issues/187 !!! GitLab side MR - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/499 See merge request !56
| * project forking: specsValery Sizov2015-04-061-5/+5
| |
| * support for forksValery Sizov2015-04-061-2/+6
| |
* | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ciValery Sizov2015-04-071-0/+5
|\ \
| * \ Merge branch 'search-runners' into 'master'Valery Sizov2015-04-031-0/+5
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Search runners in admin area Should be reviewed after !54 because based on that branch Fixes https://dev.gitlab.org/gitlab/gitlab-ci/issues/172 See merge request !55
| | * Search runners by token or description on admin/runners pagesearch-runnersDmitriy Zaporozhets2015-04-021-0/+5
| | |
* | | Merge pull request #573 from pixel-shock/deploy-jobs-with-regexValeriy Sizov2015-04-071-3/+11
|\ \ \ | |/ / |/| | Jobs checking "run_for_ref" by glob pattern
| * | fixed camelCase styleTino Wehe2015-04-011-2/+2
| | |
| * | Changed RegExp to glob pattern like in project settingsTino Wehe2015-04-011-15/+6
| | |
| * | fixed houndci messagesTino Wehe2015-04-011-2/+2
| | | | | | | | | | | | | | | - "Redundant return detected." - "Pass &:strip as an argument to map instead of a block."
| * | Jobs checking "run_for_ref" by RegExp nowTino Wehe2015-04-011-3/+20
| |/ | | | | | | | | | | | | | | | | | | +- increased max length of refs in db +- changed ref-check to RegExp + added method to distinguish between RegExp given or normal string + added more tests +- changed "refs" description in FrontEnd
* | Merge branch 'deploy_without_tests' into 'master'Dmitriy Zaporozhets2015-04-012-6/+7
|\ \ | |/ |/| | | | | | | | | | | Deploy without tests Fixes #127 See merge request !51
| * refactoring of deploy job creationdeploy_without_testsValery Sizov2015-04-012-6/+7
| |
| * Deploy without testsValery Sizov2015-03-311-1/+1
| |
* | GitLab project consistencyValery Sizov2015-03-301-1/+1
|/