summaryrefslogtreecommitdiff
path: root/spec/services/ci
Commit message (Collapse)AuthorAgeFilesLines
* Use state machine for pipeline event processingKamil Trzcinski2016-08-111-2/+0
|
* Pre-create all builds for Pipeline when a trigger is receivedKamil Trzcinski2016-08-115-37/+508
| | | | | | | | | | | 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.
* Avoid `describe`-ing symbols in specsrs-describe-symbolsRobert Speicher2016-07-123-3/+3
|
* Merge branch 'fix/status-of-pipeline-without-builds' into 'master' Rémy Coutable2016-06-161-1/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve pipeline status in case that pipeline has no jobs ## What does this MR do? This MR resolves problem with pipeline status when there are no build in pipeline. This can happen when builds were skipped - for example - by using `only`/`except` keyword in `.gitlab-ci.yml`. ## What are the relevant issue numbers? Closes #17977 See merge request !4403
| * Merge branch 'master' into fix/status-of-pipeline-without-buildsGrzegorz Bizon2016-06-144-9/+9
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (538 commits) Fix broken URI joining for `teamcity_url` with suffixes Factorize duplicated code into a method in BambooService and update specs Fix broken URI joining for `bamboo_url` with suffixes Honor credentials on calling Bamboo CI trigger Update CHANGELOG Use Issue.visible_to_user in Notes.search to avoid query duplication Project members with guest role can't access confidential issues Allow users to create confidential issues in private projects Update CHANGELOG Remove deprecated issues_tracker and issues_tracker_id from project Schema doesn’t reflect the changes of the last 3 migrations Apply reviewer notes: update CHANGELOG, adjust code formatting Move issue rendering tests into separate contexts Move change description to proper release and fix typo Add more information into RSS fead for issues Revert CHANGELOG Also rename "find" in the specs Change to new Notes styleguide Add guide on changing a document's location Change logs.md location in README ... Conflicts: app/services/ci/create_builds_service.rb app/services/ci/create_pipeline_service.rb app/services/create_commit_builds_service.rb spec/models/ci/commit_spec.rb spec/services/ci/create_builds_service_spec.rb spec/services/create_commit_builds_service_spec.rb
| * | Do not create pipeline objects when no buildsGrzegorz Bizon2016-06-031-1/+5
| | |
* | | Make sure that we test RegisterBuildService behavior for deleted projectsfair-usage-of-shared-runnersKamil Trzcinski2016-06-151-0/+22
| | |
* | | Fair usage of Shared RunnersKamil Trzcinski2016-06-131-0/+40
| |/ |/|
* | Rename all `[ci_]commit` to `[ci_]pipeline` in specs and featuresKamil Trzcinski2016-06-033-7/+7
| |
* | Use pipelines in context of ProjectKamil Trzcinski2016-06-031-1/+1
| |
* | Rename Ci::Build commit to pipelineKamil Trzcinski2016-06-032-2/+2
|/
* Fix specsKamil Trzcinski2016-04-112-3/+3
|
* Add specs for build status helper classGrzegorz Bizon2016-02-181-3/+11
|
* Return a builds array in builds create serviceGrzegorz Bizon2016-02-181-0/+20
|
* Remove ci_ prefix from all ci related thingsKamil Trzcinski2015-12-111-172/+0
|
* Migrate CI::Project to ProjectKamil Trzcinski2015-12-115-48/+13
|
* Migrate CI::Services and CI::WebHooks to Services and WebHooksKamil Trzcinski2015-12-101-37/+0
|
* Tag service specsDouwe Maan2015-12-096-6/+6
|
* Fix testsKamil Trzcinski2015-11-191-2/+2
|
* Fix testsKamil Trzcinski2015-11-191-19/+19
|
* Commits without .gitlab-ci.yml are marked as skippedKamil Trzcinski2015-11-191-1/+19
| | | | - Save detailed error when YAML syntax
* Fix broken testsKamil Trzcinski2015-11-131-1/+1
|
* Fix testsshared_runnersKamil Trzcinski2015-11-081-0/+4
|
* Fix CI badgefix-ci-badgeKamil Trzcinski2015-10-261-2/+3
| | | | The previous code relied on having on ref stored in commit, however the ref was moved to the build.
* Fix create_trigger_request_service_specrefactor-build-serviceKamil Trzcinski2015-10-051-4/+4
|
* Fix GitLabCiService and remove ci_yaml_file from CI push dataKamil Trzcinski2015-10-051-16/+6
|
* Make rubocop happyKamil Trzcinski2015-10-051-1/+1
|
* Fix triggers specKamil Trzcinski2015-10-051-23/+8
|
* Fix next round of testsKamil Trzcinski2015-10-051-14/+33
|
* Remove unnecessary fork ci logicDmitriy Zaporozhets2015-10-021-37/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Delegate ci_project parameters to projectsKamil Trzcinski2015-09-301-3/+3
| | | | | | | - It delegates name, path, gitlab_url, ssh_url_to_repo - Remove ability to set this parameters using CI API This fixes GitLab project rename, namespace change, repository rename, etc.
* Make ensure_gitlab_ci_project return ci_project or create a new oneci-commits-to-projectsKamil Trzcinski2015-09-291-2/+1
|
* Fix register_build_service testsKamil Trzcinski2015-09-291-5/+4
|
* Fix testsKamil Trzcinski2015-09-291-1/+3
|
* WIPKamil Trzcinski2015-09-294-10/+12
|
* Ensure raise_error expectations provide argumentsrs-fix-spec-warningsRobert Speicher2015-09-211-1/+2
|
* Rubocop fixfail-ci-builds-without-ymlKamil Trzcinski2015-09-201-1/+1
|
* Fail builds if no .gitlab-ci.yml is foundKamil Trzcinski2015-09-201-0/+13
|
* remove API calls from CE to CIci_closer_integrationValery Sizov2015-09-181-2/+2
|
* Fix: rubocopKamil Trzcinski2015-09-153-4/+4
|
* Fix: services/ci/create_project_service_spec.rbKamil Trzcinski2015-09-151-14/+12
|
* fix specs. Stage 7Valery Sizov2015-09-154-27/+25
|
* fix specs. Stage 6Valery Sizov2015-09-156-136/+140
|
* fix specs. Stage 5Valery Sizov2015-09-152-6/+6
|
* fix part of specsValery Sizov2015-09-141-96/+98
|
* rubocop satisfyValery Sizov2015-09-141-6/+6
|
* Move helpers back to original directoryDmitriy Zaporozhets2015-09-097-12/+12
|
* Refactor CI testsDmitriy Zaporozhets2015-09-097-0/+427