summaryrefslogtreecommitdiff
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken specsaccess-token-apiKamil Trzcinski2015-08-041-1/+1
|
* Refactor GitLab API usage to use either access_token or private_tokenKamil Trzcinski2015-08-043-19/+18
|
* Fix broken specsuser-avatarKamil Trzcinski2015-08-031-0/+4
|
* Fix specsKamil Trzcinski2015-07-301-1/+2
|
* Added Application SettingsKamil Trzcinski2015-07-302-7/+33
|
* Don't send notifications for jobs with allow_failure setKamil Trzcinski2015-07-294-0/+7
|
* Fix: user could steal specific runnerKamil Trzcinski2015-07-221-1/+4
| | | | | | - check if user has manage access to project - don't cache result of authorized_projects, because it's serialised with User object - clear user sessions
* Merge branch 'build-types' into 'master'Kamil Trzciński2015-07-132-38/+50
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow to specify flexible list of types in yaml First part of flexible pipeline build in GitLab CI Having following `.gitlab-ci.yml`: ``` 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" ``` GitLab CI 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. The UI (screenshots are not for above YAML): ![Screen_Shot_2015-07-10_at_15.56.26](https://gitlab.com/gitlab-org/gitlab-ci/uploads/1f714b73772cf0d44168fb8e20e35561/Screen_Shot_2015-07-10_at_15.56.26.png) ![Screen_Shot_2015-07-10_at_15.57.19](https://gitlab.com/gitlab-org/gitlab-ci/uploads/fc9f458f2ca517d923a4382466fa99eb/Screen_Shot_2015-07-10_at_15.57.19.png) TODO: - [x] Implement in CI - [x] Specs - [x] Changelog - [x] CI tests - [ ] Documentation /cc @vsizov @sytses @dzaporozhets See merge request !198
| * Fix specsbuild-typesKamil Trzcinski2015-07-101-6/+10
| |
| * Allow to specify flexible list of types in yamlKamil Trzcinski2015-07-102-41/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` 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.
* | Use secrets.db_key_base instead of config.secret_key_baseKamil Trzcinski2015-07-131-1/+1
| |
* | Fix annotationsKamil Trzcinski2015-07-131-1/+1
| |
* | Encrypt variables with attr_encryptedKamil Trzcinski2015-07-131-4/+9
|/
* Use builds_without_retry to calculate average coveragecoverage-calcKamil Trzcinski2015-07-101-2/+2
|
* Merge branch 'builds-path' into 'master'Kamil Trzciński2015-07-091-6/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Make configurable builds_path in application.yml We have a new option in `application.yml`: ``` gitlab_ci: builds_path: builds/ ``` /cc @marin @vsizov See merge request !193
| * Make configurable builds_path in application.ymlbuilds-pathKamil Trzcinski2015-07-081-6/+2
| |
* | Merge branch 'allow-per-job-failure' into 'master'Kamil Trzciński2015-07-082-18/+26
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow to define per-job allow_failure parameter It allows to ignore status of specific build when computing status for commit YAML syntax: ```yaml rspec: script: aa allow_failure: true ``` ![Screen_Shot_2015-07-08_at_11.28.53](https://gitlab.com/gitlab-org/gitlab-ci/uploads/0af264f026cac18921aef339bcf41fe2/Screen_Shot_2015-07-08_at_11.28.53.png) /cc @vsizov @sytses See merge request !191
| * Allow to defined per-job allow_failure parameterallow-per-job-failureKamil Trzcinski2015-07-082-18/+26
| | | | | | | | It allows to ignore status of specific job when computed for commit
* | Merge branch 'trace_in_file' into 'master'Kamil Trzciński2015-07-081-0/+33
|\ \ | |/ |/| | | | | | | | | | | Build trace in file https://dev.gitlab.org/gitlab/gitlab-ci/issues/272 See merge request !167
| * build trace in fileValery Sizov2015-06-251-0/+33
| |
* | Update annotationsannotationsKamil Trzcinski2015-07-065-9/+30
| |
* | Added annotationsKamil Trzcinski2015-07-061-0/+1
| |
* | Added support for image and servicesKamil Trzcinski2015-07-062-1/+6
| |
* | Get rid of private message usageoauth_everywhereValery Sizov2015-07-024-37/+19
| |
* | Rounded coverage on commit pageValery Sizov2015-07-011-1/+1
| |
* | coverage minor fixValery Sizov2015-06-261-1/+1
| |
* | fix coverage calculation on commit pageValery Sizov2015-06-261-2/+5
|/
* warning when .gitlab-ci.yml not foundValery Sizov2015-06-241-1/+1
|
* Ability to cancel all builds in the commit at onceValery Sizov2015-06-241-0/+1
|
* yaml refactoringValery Sizov2015-06-191-8/+4
|
* code styleValery Sizov2015-06-171-6/+1
|
* better yaml validationValery Sizov2015-06-171-4/+35
|
* invalid yaml handlingValery Sizov2015-06-161-0/+2
|
* Prevent crash when push new branch with empty commits listfix-skip-ciDmitriy Zaporozhets2015-06-151-5/+15
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* New syntax of gitlab-ci.ymlValery Sizov2015-06-121-7/+19
|
* Fix of creation project with the same nameValery Sizov2015-06-091-1/+1
|
* 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.