summaryrefslogtreecommitdiff
path: root/lib/ci
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/master' into 21698-redis-runner-last-buildKamil Trzcinski2017-01-195-18/+32
|\
| * Merge branch '19086-double-newline' into 'master' Sean McGivern2017-01-091-1/+1
| |\ | | | | | | | | | | | | | | | | | | Fix Double Spaced CI Log Closes #19086 See merge request !8349
| | * Replace carriage return combos with line breaks tagsJared Deckard2016-12-281-1/+1
| | |
| * | Don't instrument 405 Grape calls26051-fix-missing-endpoint-route-methodRémy Coutable2017-01-091-0/+10
| |/ | | | | | | | | | | Fixes #26051. Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Ensure nil User-Agent doesn't break the CI APIRémy Coutable2016-12-211-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Merge branch 'fix-forbidden-for-build-api-for-deleted-project' into 'master' Grzegorz Bizon2016-12-202-15/+19
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Give forbidden if project for the build was deleted I guess we don't need a change log entry because this is just for an internal corner case fix. Closes #25309 See merge request !8091
| | * Use a block to insert extra check for authenticate_build!fix-forbidden-for-build-api-for-deleted-projectLin Jen-Shin2016-12-201-3/+6
| | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8091#note_20253762
| | * Prefer unless over if notLin Jen-Shin2016-12-191-1/+1
| | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/builds/7606797
| | * Use a separate method to skip validationLin Jen-Shin2016-12-192-3/+8
| | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8091#note_20222666
| | * Give forbidden if project for the build was deletedLin Jen-Shin2016-12-152-15/+11
| | | | | | | | | | | | Closes #25309
| * | Keep the value type for YAML variablesLin Jen-Shin2016-12-191-1/+1
| | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8088#note_20235080
| * | Convert CI YAML variables keys into stringsLin Jen-Shin2016-12-151-1/+1
| |/ | | | | | | | | | | | | So that this would be more consistent with the other variables, which all of them are string based. Closes #25554
* | WIP: Add tests and make sure that headers are set21698-redis-runner-last-buildLin Jen-Shin2017-01-041-2/+2
| | | | | | | | | | | | | | | | | | | | * We realized that headers were not set whenever we give 204 because `render_api_error!` doesn't preserve the headers. * We also realized that `update_runner_info` would be called in POST /builds/register every time therefore runner is updated every time, ticking the queue, making this last_update didn't work very well, and the test would be failing due to that.
* | Do things in the correct orderKim "BKC" Carlbäcker2016-12-161-1/+2
| |
* | #NamingThingsKim "BKC" Carlbäcker2016-12-161-8/+4
| |
* | Move redis-logic into Ci::RunnerKim "BKC" Carlbäcker2016-12-152-12/+3
| |
* | lintingKim "BKC" Carlbäcker2016-12-151-2/+2
| |
* | typo-oKim "BKC" Carlbäcker2016-12-141-1/+1
| |
* | Add BuildQueueWorker for injecting redis-keysKim "BKC" Carlbäcker2016-12-141-0/+1
| |
* | First attemptKim "BKC" Carlbäcker2016-12-142-0/+20
|/
* Send credentials array with build dataTomasz Maczukin2016-11-211-3/+5
|
* Send registry_url with build data to GitLab RunnerTomasz Maczukin2016-11-161-0/+4
|
* Improve naming convention in ci configuration modulefix/improve-naming-convention-in-ci-configGrzegorz Bizon2016-11-141-1/+1
|
* Add logical validation to gitlab-ci.ymlKamil Trzcinski2016-10-181-0/+30
|
* Extract method that checks if ci runner needs updateGrzegorz Bizon2016-10-031-4/+11
|
* Update runner version only when updating contacted_atKamil Trzcinski2016-10-032-14/+10
|
* Expose jobs to viewKatarzyna Kobierska2016-09-301-3/+1
|
* Add missing values to linterKatarzyna Kobierska2016-09-301-0/+2
|
* Remove duplicate VersionInfo classRobert Speicher2016-09-291-52/+0
| | | | | This was brought over during the CI merge and already exists at `lib/gitlab/version_info.rb`.
* Improve JwtController implementationpost-merge-improve-of-ci-permissionsKamil Trzcinski2016-09-201-1/+2
|
* Post-merge improve of CI permissionsKamil Trzcinski2016-09-201-3/+3
|
* Merge branch 'master' into per-build-tokenKamil Trzcinski2016-09-192-1/+11
|\
| * Fix CI job environment configuration attributesGrzegorz Bizon2016-09-191-1/+1
| |
| * Properly create deployment using all possible optionsKamil Trzcinski2016-09-191-0/+9
| |
| * Add new CI configuration entry for the environmentGrzegorz Bizon2016-09-191-1/+2
| |
* | Don't leak build tokens in build logsKamil Trzcinski2016-09-191-0/+9
| |
* | Fix most of specsKamil Trzcinski2016-09-151-2/+2
| |
* | Merge remote-tracking branch 'origin/master' into per-build-tokenKamil Trzcinski2016-09-152-1/+9
|\ \ | |/ | | | | | | # Conflicts: # db/schema.rb
| * Change response for /ci/api/v1/builds/register.json from 404 to 204Tomasz Maczukin2016-09-132-1/+9
| |
* | Use a permissions of user to access all dependent projects from CI jobs ↵Kamil Trzcinski2016-09-131-3/+11
|/ | | | (this also includes a container images, and in future LFS files)
* Merge branch 'gitlab-workhorse-safeties' into 'master' Jacob Vosmaer (GitLab)2016-09-091-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Security and safety improvements for gitlab-workhorse integration Companion to https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/60 - Use a custom content type when sending data to gitlab-workhorse - Verify (using JWT and a shared secret on disk) that internal API requests came from gitlab-workhorse This will allow us to build features in gitlab-workhorse that require more trust, and protect us against programming mistakes in the future. This is designed so that no action is required for installations from source. For omnibus-gitlab we need to add code that manages the shared secret. See merge request !5907
| * Verify JWT messages from gitlab-workhorseJacob Vosmaer2016-09-051-1/+3
| |
* | Merge branch 'change-update-interval-of-runners' into 'master' Yorick Peterse2016-09-082-4/+6
|\ \ | | | | | | | | | | | | Change update interval of runners when trying to preserve contacted_at See merge request !6126
| * | Change update interval of runners when trying to preserve contacted_atchange-update-interval-of-runnersKamil Trzcinski2016-09-072-4/+6
| |/
* | Merge branch 'refactor/ci-config-add-logical-validation' into 'master' Rémy Coutable2016-09-071-10/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass dependencies to CI configuration nodes ## What does this MR do? This MR makes it possible to pass dependencies to CI configuration nodes. ## What are the relevant issue numbers? See #15060 ## Does this MR meet the acceptance criteria? - Tests - [x] Added for this feature/bug - [x] All builds are passing See merge request !6009
| * | Add method that returns commands for ci job entryGrzegorz Bizon2016-08-291-6/+1
| | |
| * | Do not override job nodes in legacy ci config codeGrzegorz Bizon2016-08-291-5/+5
| |/
* | Code refactorKatarzyna Kobierska2016-09-071-0/+1
| |
* | Improve codeKatarzyna Kobierska2016-09-071-9/+6
| |
* | Code refactoringKatarzyna Kobierska2016-09-071-6/+10
| |