summaryrefslogtreecommitdiff
path: root/app/services/ci
Commit message (Collapse)AuthorAgeFilesLines
* Return struct instead of multiple valuesKamil Trzcinski2017-01-251-2/+4
|
* Fix picking CI buildsKamil Trzcinski2017-01-251-2/+2
| | | | | The conflict happens when we try to update a build, but fail to do so due to fact that we update the same build concurrently for two different runners.
* Merge remote-tracking branch 'origin/master' into ↵Kamil Trzcinski2017-01-241-0/+8
|\ | | | | | | backport-ee-changes-for-build-minutes
| * Add missing specs for update build queue servicefix-shared-runners-queue-updateGrzegorz Bizon2017-01-201-1/+3
| |
| * Fix shared runners queue updateKamil Trzcinski2017-01-201-0/+6
| |
* | Backport changes introduced by ↵Kamil Trzcinski2017-01-201-17/+39
|/ | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1083
* Fix specsKamil Trzcinski2017-01-191-1/+1
|
* Merge remote-tracking branch 'origin/master' into 21698-redis-runner-last-buildKamil Trzcinski2017-01-192-6/+17
|\
| * Merge branch 'show-commit-status-from-latest-pipeline' into 'master' Grzegorz Bizon2016-12-151-4/+4
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Show commit status from latest pipeline Show commit status from latest pipeline rather than compound status from all pipelines. Closes #20560 See merge request !7333
| | * Introduce latest_status and add a few testsLin Jen-Shin2016-12-141-1/+1
| | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7333#note_20003268
| | * Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-12-142-13/+25
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | show-commit-status-from-latest-pipeline * upstream/master: (557 commits) Fix wrong error message expectation in API::Commits spec Move admin settings spinach feature to rspec Encode when migrating ProcessCommitWorker jobs Prevent overflow with vertical scroll when we have space to show content Make rubocop happy API: Ability to cherry-pick a commit Be smarter when finding a sudoed user in API::Helpers Backport hooks on group policies for the EE-specific implementation API: Ability to get group's project in simple representation Add AddLowerPathIndexToRoutes to setup_postgresql.rake For single line git commit messages, the close quote should be on the same line as the open quote added border-radius and padding to labels Allow all alphanumeric characters in file names (!8002) Add failing test for #20190 Don't allow blank MR titles in API Replace static fixture for awards_handler_spec (!7661) Crontab typo '* */6' -> '0 */6' (4x/day not 1x-per-min-for-1h 4x/day) Fix test Tweak style and add back wording Clean up commit copy to clipboard and make consistent ...
| | * | Rename latest_for to latest, feedback:Lin Jen-Shin2016-11-241-1/+1
| | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7333/diffs#note_18819292
| | * | Still use compound pipeline status, but group byLin Jen-Shin2016-11-211-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | ref and sha so that it would show latest pipeline if ref and sha are both specified, otherwise still the same as before.
| | * | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-11-212-19/+29
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | show-commit-status-from-latest-pipeline * upstream/master: (754 commits) Add documentation about todos and failed builds Add Changelog entry for failed builds todos fix Do not create TODO when build is allowed to fail Fix 404 on some group pages when name contains dot Grapify the users API Remove duplicate sidekiq throttling parameters Fix regression in Merge request form Fix wrong link Fix test Fix broken test Changes for stop url to path fix typo in gitlab_flow.md ('munch'->'much') Fix spec Backport some changes done from Time Tracking feature in EE. Use build instead create in BroadcastMessage model spec Try to fix tests Remove unnecessary self from user model Expose stop_path for environment to not construct that in frontend Bring back the `commit_url` as it's used by CycleAnalytics Add api endpoint for creating a pipeline ...
| | * | | There's not always a pipelineLin Jen-Shin2016-11-081-1/+1
| | | | |
| | * | | Also show latest pipeline for ImageForBuildServiceLin Jen-Shin2016-11-081-3/+10
| | | | |
| * | | | Create environments when the build referencing them is createdNick Thomas2016-12-151-2/+13
| | |_|/ | |/| |
* | | | Fixed broken buildKim "BKC" Carlbäcker2016-12-211-1/+1
| | | |
* | | | Make expire-time a constant, correct function in ServiceKim "BKC" Carlbäcker2016-12-161-1/+1
| | | |
* | | | #NamingThingsKim "BKC" Carlbäcker2016-12-161-1/+0
| | | |
* | | | Update Runners in a ServiceKim "BKC" Carlbäcker2016-12-151-0/+12
|/ / /
* | | Fix handling of skipped vs success statusKamil Trzcinski2016-12-061-2/+2
| | |
* | | Restore method that ensures builds being createdGrzegorz Bizon2016-11-251-0/+15
| | |
* | | Create pipeline along with builds in the transationGrzegorz Bizon2016-11-242-12/+9
| |/ |/|
* | Merge branch 'feature/environment-teardown-when-branch-deleted' into 'master' Kamil Trzciński2016-11-171-0/+29
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop environment when branch is deleted ## What does this MR do? This MR adds a environment teardown service, that is called when user deletes a branch. This most often happens when merge requests is merged. ## Does this MR meet the acceptance criteria? - [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added - [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [x] API support added - Tests - [x] Added for this feature/bug - [x] All builds are passing ## What are the relevant issue numbers? Closes #23218 See merge request !7355
| * | Remove unnecessary check from environments servicefeature/environment-teardown-when-branch-deletedGrzegorz Bizon2016-11-161-5/+0
| | |
| * | Refactor methods for environments in project modelGrzegorz Bizon2016-11-161-1/+2
| | |
| * | Improve name of service that stops CI environmentsGrzegorz Bizon2016-11-141-1/+1
| | |
| * | Check permissions before stopping CI environmentsGrzegorz Bizon2016-11-141-0/+1
| | |
| * | Make commit an optional arg for environments searchGrzegorz Bizon2016-11-091-8/+4
| | |
| * | Add environment factory review app traitGrzegorz Bizon2016-11-091-7/+12
| | |
| * | Add environment teardown serviceGrzegorz Bizon2016-11-081-0/+31
| |/
* | Merge remote-tracking branch 'upstream/master' into pipeline-notificationsLin Jen-Shin2016-11-022-19/+15
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (216 commits) Remove invalid changelog entries require rails/generators for generators Adds variable. Fixes changelog Fix haml_lint Fixes after review Update changelog Remove tooltips from project header Makes table pagination responsive 23545 Fix distorted project and group avatars Fix spinach tests Update links in side nav and header Allow to search for user by secondary email address in the admin interface Rename :name search parameter to :search_query at /admin/users Initialize Sidekiq with the list of queues used by GitLab Fix project features default values Add a link to the Issue Boards API in main README Add validation errors to Merge Request form Fix Markdown styling inside reference links Fix relative links in Markdown wiki when displayed in "Project" tab Adds label description to issue board title ...
| * Make retry_lock to not be infiniteuse-optimistic-lockingKamil Trzcinski2016-10-271-2/+2
| |
| * Fix Rubocop unused variables warningStan Hu2016-10-261-2/+2
| |
| * Remove puts to solve Rubocop errorsStan Hu2016-10-261-2/+0
| |
| * Fix optimistic lockingKamil Trzcinski2016-10-261-2/+4
| |
| * Add tests for optimistic lockingKamil Trzcinski2016-10-261-1/+1
| |
| * Use optimistic lockingKamil Trzcinski2016-10-262-19/+15
| |
* | Change service to be a worker, feedback:Lin Jen-Shin2016-10-171-13/+0
| | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6342#note_16118195
* | We're using BaseServiceLin Jen-Shin2016-10-171-1/+1
| |
* | Revert "Split notification integration into another branch"Lin Jen-Shin2016-10-171-8/+2
|/ | | | This reverts commit 1404aa8677969a03ed56e8f8350257f317f576d8.
* Merge remote-tracking branch 'upstream/master' into pipeline-emailsLin Jen-Shin2016-10-141-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (237 commits) Grapify boards API Add test, fix merge error Use local assigns to get the dropdown title Updated issuable dropdown titles Added safety check for formatted values Minor style improvement Fixed conflict and corrected teaspoon test Rename method in test Moved ci_status environments logic to new action ci_envrionments_status and set up frontend polling Refactor ci_status on MergeRequestController Fix indenting error in HAML Show what time ago a MR was deployed Fixed missing links Fixed missing links Refactor merge requests revisions Add link to update docs for source installations Grapify todos API Link to review apps example from docs fix grafana_configuration.md move link Do not run before_script, artifacts, cache in trigger_docs job ...
| * Fix ci pipeline processing with async jobsGrzegorz Bizon2016-10-071-0/+2
| |
* | Doesn't need BaseService, feedback:Lin Jen-Shin2016-09-151-1/+1
| | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6019/diffs#note_15336294
* | Merge remote-tracking branch 'upstream/master' into pipeline-emailsLin Jen-Shin2016-09-141-3/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (64 commits) Update the 8.11 to 8.12 update documentation to use gitlab-shell 3.5.0 Update GITLAB_SHELL_VERSION Move pushes_since_gc to Redis Fix Gitlab::Popen.popen thread-safety issue Allow trailing newline in secret base64 data Improve .haml-lint.yml, simplify the haml_lint task and remove CHANGELOG entry Fix a typo in documentation Restore SSH Key title auto-population behavior Add test with inactive error use case for 'POST /ci/api/v1/builds/register.json' Fix rubocop offences Update API documentation Update CHANGELOG Change response for /ci/api/v1/builds/register.json from 404 to 204 Document the fact that merge requests from private forks can be checked out locally Change method name to #reopenable? Improve grammar Fix not working test with execute Add CHANGELOG Improve grammar Add #can_reopen? and tests ...
| * Make the cases clear instead of having guardsslightly-more-readableLin Jen-Shin2016-09-121-3/+3
| |
* | Split notification integration into another branchLin Jen-Shin2016-09-141-2/+8
| |
* | Try to integrate the email into notification systemLin Jen-Shin2016-09-131-0/+13
|/
* Project tools visibility levelFelipe Artur2016-09-011-3/+5
|