summaryrefslogtreecommitdiff
path: root/lib/ci
Commit message (Collapse)AuthorAgeFilesLines
* Let the CI runner know about builds that this build depends onci/build_dependenciesKamil Trzcinski2016-01-142-6/+17
| | | | This allows us to implement artifacts passing: runner will download artifacts from all prior builds
* Refactor build artifacts upload API endpointGrzegorz Bizon2016-01-141-8/+7
|
* Update build artifacts APIGrzegorz Bizon2016-01-142-10/+8
| | | | | 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-142-4/+17
|
* Use method that creates runners registration tokenGrzegorz Bizon2015-12-231-1/+1
| | | | `runners_registration_token` now creates a new token if it is blank.
* Merge branch 'master' into ci/persist-registration-tokenGrzegorz Bizon2015-12-1412-359/+43
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Merge branch 'ci-project-migrate' into 'master' Kamil Trzciński2015-12-1411-295/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ci Project migrate - This doesn't migrate: allow_git_fetch, coverage_regex, timeout. Since this are project configuration settings I would propose to migrate them to `.gitlab-ci.yml`. - This requires offline migrations. - It simplifies database models making all CI objects to be attached to: Project. - It removes Ci::Project, but makes /ci/projects working by adding method: Project.find_by_ci_id for backward compatibility (badges, triggers). - We should add default `timeout` to Application Settings. - It misses specs. - It is based on ci-services-migrate for now. - It removes CI events. - It removes administrator CI projects overview. - It removes CI application settings. In 8.4 or 8.5 we can remove redundant tables and columns. See merge request !1987
| | * Use Gitlab::Git instead of Ci::GitKamil Trzcinski2015-12-111-5/+0
| | |
| | * Fix after column renameKamil Trzcinski2015-12-111-9/+0
| | |
| | * Remove ci_ prefix from all ci related thingsKamil Trzcinski2015-12-112-3/+3
| | |
| | * Add runners tokenKamil Trzcinski2015-12-113-6/+2
| | |
| | * Migrate CI::Project to ProjectKamil Trzcinski2015-12-118-280/+6
| | |
| * | Merge branch 'ci-services-migrate' into 'master' Kamil Trzciński2015-12-141-38/+0
| |\ \ | | |/ | | | | | | | | | | | | | | | Ci Services migrate See merge request !1985
| | * Migrate CI::Services and CI::WebHooks to Services and WebHooksKamil Trzcinski2015-12-101-38/+0
| | |
| * | Merge branch 'complexity/rubocop-metrics' into 'master' Douwe Maan2015-12-111-26/+40
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | Enable rubocop metrics This enables rubocop metrics like CyclomaticComplexity and ABCSize. Initial threshold values are high, should be probably decreased. See merge request !1802
| | * Refactor CI YAML processor's validatorsGrzegorz Bizon2015-12-081-26/+40
| | |
* | | Ensure that runners registration token is presentGrzegorz Bizon2015-12-111-1/+1
| | |
* | | Use new runners registration token to register CI runnersGrzegorz Bizon2015-12-112-2/+6
|/ /
* | Allow [Symbol] when loading YAML Kamil Trzciński2015-12-091-2/+2
| |
* | Use YAML.safe_loadKamil Trzciński2015-12-091-2/+2
|/
* Expose artifacts pathci-artifacts-pathKamil Trzcinski2015-11-231-0/+2
|
* Merge branch 'caches' into 'master' Kamil Trzciński2015-11-121-4/+26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow to define cache in `.gitlab-ci.yml` This extends `.gitlab-ci.yml` syntax to allow specifying caching files and directories between builds, making it easy to preserve ex. gems. ``` cache: paths: - .bundle - vendor/ before_script: - bundle install --path vendor/ rspec: script: - bundle exec rspec ``` This is based on Build Artifacts changes. /cc@dzaporozhets See merge request !1786
| * Allow to define cache in `.gitlab-ci.yml`cachesKamil Trzcinski2015-11-101-4/+26
| |
* | Merge branch 'artifacts' into 'master' Kamil Trzciński2015-11-115-3/+137
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Build Artifacts This implements #3028 1. It stores artifacts in shared/artifacts, 1. It adds `artifacts` to `.gitlab-ci.yml`, 1. We use GitLab Workhorse to offload artifacts uploading, 1. To download artifacts it uses GitLab Workhorse X-Sendfile extension, 1. There's one "artifact" per-build. The new upload removes previous one and creates a new one, 1. Default max artifact size is set to 100MB - this can be changed in settings. Missing things: 1. Support for `.gitlab-ci.yml`: `artifacts: true or git-ls-files` which will upload all non tracked files, 1. Artifacts passing between builds. GitLab Workhorse changes: https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/5 GitLab Runner changes: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/merge_requests/46 Syntax: ``` artifacts: untracked: true # default: false paths: # default: empty - bin/files ``` See merge request !1584
| * Final fixesKamil Trzcinski2015-11-101-1/+1
| |
| * Use normal file upload mechanism to upload artifactsKamil Trzcinski2015-11-101-9/+7
| |
| * Change artifacts syntax to allow uploading untracked filesKamil Trzcinski2015-11-101-3/+13
| |
| * Implement Build ArtifactsKamil Trzcinski2015-11-105-2/+128
| | | | | | | | | | | | | | - Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
* | Improve Continuous Integration graphs pageDmitriy Zaporozhets2015-11-101-1/+2
|/ | | | | | | | | * fix commit duration graph * make graphs responsive * fix wrong padding * add a bit of explanation to colors Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵spread-runner-last-updated-atJacob Vosmaer2015-11-031-30/+34
|\ | | | | | | spread-runner-last-updated-at
| * Extend yml syntax for only and except to support specifying repository pathKamil Trzcinski2015-11-021-30/+34
| |
* | Spread out runner contacted_at updatesJacob Vosmaer2015-11-021-1/+3
|/
* Merge pull request #9762 from ↵Stan Hu2015-10-221-1/+1
|\ | | | | | | | | huacnlee/fix/api-helpers-bad-autoload-name-for-master Fix API::APIHelpers -> API::Helpers again for master
| * Fix API::APIHelpers -> API::Helpers;Jason Lee2015-10-231-1/+1
| | | | | | | | Rails Autoload find file to require is use , APIHelpers -> api_helpers.rb, not helpers.rb;
* | Require jobs to be namedfail-on-empty-job-nameKamil Trzcinski2015-10-221-15/+23
| |
* | Remove CI migration taskremove-ci-migrationKamil Trzcinski2015-10-214-210/+0
| |
* | Shut up, RubocopRobert Speicher2015-10-151-1/+1
| |
* | Fix specsKamil Trzcinski2015-10-151-1/+1
| |
* | Implement when syntax in .gitlab-ci.ymlKamil Trzcinski2015-10-152-1/+27
|/
* Implement Commit Status APIKamil Trzcinski2015-10-121-2/+2
|
* Merge branch 'rs-remove-ci-disable'Kamil Trzcinski2015-10-052-10/+0
|\ | | | | | | See merge request !1512
| * Remove the option to disable CIrs-remove-ci-disableRobert Speicher2015-10-052-10/+0
| | | | | | | | | | | | This option only existed to ease the CI-to-CE/EE migration process. This commit partially reverts 8b05abe816b0c681ac218096b294311dd04fde8b
* | Fix next round of testsKamil Trzcinski2015-10-051-1/+1
| |
* | Make commit_spec runKamil Trzcinski2015-10-051-2/+2
| |
* | Add user to Ci::Build to have pusher email addressKamil Trzcinski2015-10-051-1/+1
| |
* | Refactor commit and buildKamil Trzcinski2015-10-051-0/+1
|/
* Delegate ci_project parameters to projectsKamil Trzcinski2015-09-301-19/+4
| | | | | | | - 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.
* Simplify CI projects queryDmitriy Zaporozhets2015-09-231-21/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Relax CI version check during importci-import-improvementsJacob Vosmaer2015-09-211-1/+3
|
* Make importing builds less noisyJacob Vosmaer2015-09-211-1/+1
|