summaryrefslogtreecommitdiff
path: root/spec/requests/ci
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'ci-commit-as-pipeline' into 'master' Kamil TrzciƄski2016-04-211-10/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ci::Commit becomes a Pipeline object 1. Ci::Commit receives context: ref, :tag. 1. One Ci::Commit describes a one Pipeline 1. Pipeline is created from `.gitlab-ci.yml` 1. Pipeline is a ordered group of builds 1. We test MR against Pipeline 1. Pipelines have a separate view (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703) 1. Pipeline can be triggered from UI (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703) 1. Later we change `Trigger -> TriggerRequest -> Build` to `Trigger -> Pipeline` (future) 1. We add a Pipeline Hook that will be triggered on Pipeline status change (future) 1. We extend notifications to use `Pipeline Hook` to send summary on pipeline changes (future) After merging that I'll prepare a separate MR that will unify naming, database columns, table names: ``` Ci::Commit -> Pipeline Ci::Build -> Build CommitStatus -> Job GenericCommitStatus -> ExternalJob ci_commits -> pipelines ci_builds -> jobs ``` This MR implements first 5 points. This is made to solve this issue https://gitlab.com/gitlab-org/gitlab-ce/issues/14149. See merge request !3653
| * Fix specsKamil Trzcinski2016-04-111-10/+10
| |
* | Make sure that appending is done on a valid lengthTomasz Maczukin2016-04-201-1/+1
| |
* | Add range checkingTomasz Maczukin2016-04-201-7/+31
| |
* | Add incremental build trace update APITomasz Maczukin2016-04-201-0/+22
|/
* Fix ci_build trace traitKamil Trzcinski2016-02-191-1/+1
|
* Move build eraseable API to proper API contextGrzegorz Bizon2016-02-191-12/+0
|
* Do not allow to modify build if it has been erasedGrzegorz Bizon2016-02-191-21/+35
|
* Use DELETE verb for erasing a build contentGrzegorz Bizon2016-02-191-0/+18
| | | | Also added API specs for that
* Extract shared context level up in build specsci/improve-ci-build-apiGrzegorz Bizon2016-02-041-56/+17
| | | | Also improve performance of specs by joining some of examples.
* Improve CI API specs related to operations on buildGrzegorz Bizon2016-02-041-21/+34
| | | | | Conflicts: spec/factories/ci/builds.rb
* Fix CI runner version not being properly updated when asking for a buildfix-ci-runners-version-updateKamil Trzcinski2016-01-272-0/+29
| | | | | | Due to broken implementation of attribute_for_keys the runner information was not updated correctly. This MR adds test to check that such scenario will never happen again.
* Change dependencies.builds to depends_on_buildsKamil Trzcinski2016-01-151-2/+2
|
* Let the CI runner know about builds that this build depends onci/build_dependenciesKamil Trzcinski2016-01-141-0/+12
| | | | This allows us to implement artifacts passing: runner will download artifacts from all prior builds
* Refactor build artifacts upload API endpointGrzegorz Bizon2016-01-141-6/+5
|
* Update build artifacts APIGrzegorz Bizon2016-01-141-13/+35
| | | | | We do not want to allow runners to upload a metadata file. This needs to be generated by Workhorse only.
* Modify artifacts upload API endpoint, add artifacts metadataGrzegorz Bizon2016-01-141-0/+25
|
* Use method that creates runners registration tokenGrzegorz Bizon2015-12-231-1/+0
| | | | `runners_registration_token` now creates a new token if it is blank.
* Merge branch 'master' into ci/persist-registration-tokenGrzegorz Bizon2015-12-145-354/+31
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (66 commits) Fix runners admin view Fix migrations Rename mention of gitlab-git-http-server to gitlab-workhorse Bump Redis requirement to 2.8 for Sidekiq 4 requirements Fix wording on runner setup page add details on how to change saml button label Fix tests Move awards back to gray panel and few improvements to sidebar Few UI improvements to new sidebar implementation Fix tests for new issuable sidebar Update changelog Implement new sidebar for merge request page Make edit link on issuable sidebar works Redesign issue page for new sidebar Move awards css to separate file Implement issuable sidebar partial Update CHANGELOG Clarify cache behavior Run builds from projects with enabled CI Use Gitlab::Git instead of Ci::Git ... Conflicts: db/schema.rb
| * Fix after column renameKamil Trzcinski2015-12-112-9/+9
| |
| * Fix triggers testsKamil Trzcinski2015-12-111-15/+9
| |
| * Remove ci_ prefix from all ci related thingsKamil Trzcinski2015-12-112-3/+3
| |
| * Migrate CI::Project to ProjectKamil Trzcinski2015-12-115-275/+31
| |
| * Migrate CI::Services and CI::WebHooks to Services and WebHooksKamil Trzcinski2015-12-101-73/+0
| |
* | Stub also `ensure_*` method in CI runners API specsci/persist-registration-tokenGrzegorz Bizon2015-12-111-0/+1
| |
* | Use new runners registration token to register CI runnersGrzegorz Bizon2015-12-111-3/+6
|/
* Fix caching breaking test of build artifactsbuilds_featureKamil Trzcinski2015-11-131-6/+3
|
* Fix broken testsKamil Trzcinski2015-11-134-74/+40
|
* Fix testsartifactsKamil Trzcinski2015-11-101-2/+2
|
* Use normal file upload mechanism to upload artifactsKamil Trzcinski2015-11-101-8/+17
|
* Move tmp artifacts to shared/artifacts/tmp/. Check for GitLab-Workhorse nowKamil Trzcinski2015-11-101-1/+1
|
* Implement Build ArtifactsKamil Trzcinski2015-11-101-3/+183
| | | | | | | - Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
* Added CI_BUILD_TAG, _STAGE, _NAME and _TRIGGERED to CI buildsKamil Trzcinski2015-10-141-0/+5
|
* Fix tests and few CI featuresDmitriy Zaporozhets2015-10-072-33/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix create_trigger_request_service_specrefactor-build-serviceKamil Trzcinski2015-10-051-2/+2
|
* Fix GitLabCiService and remove ci_yaml_file from CI push dataKamil Trzcinski2015-10-051-2/+1
|
* Fix next bunch of testsKamil Trzcinski2015-10-052-8/+14
|
* Fix next round of testsKamil Trzcinski2015-10-051-4/+4
|
* Refactor commit and buildKamil Trzcinski2015-10-051-1/+1
|
* Delegate ci_project parameters to projectsKamil Trzcinski2015-09-301-7/+5
| | | | | | | - 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.
* Fix testsKamil Trzcinski2015-09-292-2/+2
|
* WIPKamil Trzcinski2015-09-295-13/+15
|
* Ensure raise_error expectations provide argumentsrs-fix-spec-warningsRobert Speicher2015-09-211-1/+2
|
* remove API calls from CE to CIci_closer_integrationValery Sizov2015-09-181-59/+0
|
* fix specs. Stage 5Valery Sizov2015-09-153-15/+15
|
* fix specs. Stage 4Valery Sizov2015-09-154-27/+25
|
* fix specs. Stage 3Valery Sizov2015-09-151-32/+49
|
* fix specs. Stage 2Valery Sizov2015-09-141-13/+13
|
* fix part of specsValery Sizov2015-09-142-2/+2
|
* rubocop satisfyValery Sizov2015-09-146-38/+38
|