summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci
Commit message (Collapse)AuthorAgeFilesLines
* Improves support for long build traces:Filipa Lacerda2017-04-181-1/+1
|
* Use &. because rubocop. Seriously I don't think this makes senseLin Jen-Shin2017-04-181-1/+1
|
* Just enforce the output encoding for Ansi2htmlLin Jen-Shin2017-04-181-10/+3
| | | | Fixes https://sentry.gitlap.com/gitlab/gitlabcom/issues/27545/
* Set the encoding in c'tor and explain why it's finefix-trace-encodingLin Jen-Shin2017-04-171-8/+8
|
* Only set the encoding before passing to Ansi2htmlLin Jen-Shin2017-04-172-5/+8
|
* Don't try to read if there's no traceLin Jen-Shin2017-04-171-0/+2
|
* Make sure @stream.each_line would tag Encoding.default_externalLin Jen-Shin2017-04-171-0/+2
|
* Make sure we're giving Encoding.default_externalLin Jen-Shin2017-04-171-2/+2
|
* Don't seek at all if the log is small anywayLin Jen-Shin2017-04-131-5/+3
| | | | | then it's fine to skip the first line because it won't be very noticeable
* After Trace#limit, we seek to the next line in caseLin Jen-Shin2017-04-131-0/+1
| | | | of breaking ANSI sequence or Unicode
* Return nil as coverage instead of a File objectzj-fix-coverage-bugZ.J. van de Weg2017-04-121-1/+4
| | | | | | | | | Given a valid pipeline job, and a regex which wouldn't match to a jobs trace, the stream of the trace would return the File object. This was not the case when it matched a value, as that would have been return from the block. Now the `extract_coverage` method returns `nil` if no match was found.
* Merge branch ↵Kamil Trzciński2017-04-061-0/+34
|\ | | | | | | | | | | | | | | '2989-run-cicd-pipelines-on-a-schedule-idea1-basic-backend-implementation' into 'master' Resolve "Run CI/CD pipelines on a schedule" - "Basic backend implementation" See merge request !10133
| * Improve instantiate recursion in cron_parser.rbShinya Maeda2017-04-061-2/+2
| |
| * Add empty line in cron_parser.rbShinya Maeda2017-04-061-1/+1
| |
| * Rename cron_time_zone to cron_timezone. Separate add_concurrent_foreign_key.Shinya Maeda2017-04-061-7/+7
| |
| * Ommit begin block in try_parse_cronShinya Maeda2017-04-061-5/+3
| |
| * Separate cron_valid? and cron_time_zone_valid?Shinya Maeda2017-04-061-4/+6
| |
| * Dry up next_time_from. Move cron_parser_spec to appropriate location.Shinya Maeda2017-04-061-5/+1
| |
| * Move Ci::CronParser to Gitlab::Ci::CronParserShinya Maeda2017-04-061-0/+38
| |
* | Optimise trace handling code to use streaming instead of full readKamil Trzciński2017-04-063-50/+255
|/
* Merge branch ↵Kamil Trzciński2017-03-279-0/+36
|\ | | | | | | | | | | | | | | '12818-expose-simple-cicd-status-endpoints-with-status-serializer-gitlab-ci-status-for-pipeline-job-and-merge-request' into 'master' Expose CI/CD status API endpoints with Gitlab::Ci::Status facility on pipeline, job and merge request for favicon See merge request !9561
| * Revert adding favicon to extended statuses. Change extended statues specs to ↵Shinya Maeda2017-03-232-8/+0
| | | | | | | | use core status
| * Fix unchanged structure. Add favicon for 'failed_allowed' and ↵Shinya Maeda2017-03-232-0/+8
| | | | | | | | 'success_warning' because it'll be used.
| * Add spec for spec/lib/gitlab/ci/statusShinya Maeda2017-03-231-0/+4
| |
| * Roolback unneccesary changesShinya Maeda2017-03-231-1/+1
| |
| * Remove def favicon from extended statusShinya Maeda2017-03-232-8/+0
| |
| * change favicon nameShinya Maeda2017-03-239-9/+9
| |
| * Expose only status. ci_cd_status to status. Support abstract class.Shinya Maeda2017-03-231-0/+4
| |
| * Add api points for ci cd status. Add favicon.Shinya Maeda2017-03-239-0/+36
| |
* | Fix after_script processing for Runners APIv4Tomasz Maczukin2017-03-231-7/+2
|/
* Verbosify blocked pipeline status descriptionGrzegorz Bizon2017-03-082-1/+25
|
* Merge branch 'feature/runner-jobs-v4-api' into 'master' Kamil Trzciński2017-03-072-0/+79
|\ | | | | | | | | | | | | Feature/runner jobs v4 api Closes #28513 See merge request !9273
| * Add minor refactoringfeature/runner-jobs-v4-apiTomasz Maczukin2017-03-072-18/+7
| |
| * Add some fixes and refactoring after reviewTomasz Maczukin2017-03-024-64/+90
| |
| * Fix rubocop offensesTomasz Maczukin2017-03-021-3/+3
| |
| * Update step data namingTomasz Maczukin2017-03-021-12/+10
| |
| * Fix rubocop offensesTomasz Maczukin2017-03-022-2/+2
| |
| * Refactor JobRequest response structureTomasz Maczukin2017-03-022-0/+66
| |
* | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-03-074-25/+29
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set-default-cache-key-for-jobs * upstream/master: (289 commits) re-add Assign to Me link on new MR/Issue forms thinner bottom header border make header match old 16px padding of body contents Update font-awesome-rails to 4.7.0.1 Relax font-awesome-rails dependency to ~> 4.7 Restore keyboard shortcuts for "Activity" and "Charts" fix border radius bottom for header match padding for mr-widget sections Update changelog Fix project-last-commit alignment Docs: update GL Pages IP on GL.com Fix up @DouweM review Remove readme-only project view preference Add `uploads` to known models for Import/Export spec Add `has_many` associations for models that can have Upload records Handle relative and absolute Upload paths in the Uploaders Change the default CarrierWave root path for tests Fix Projects::UploadService spec Add a Project::UploadsController spec to ensure an Upload is created Add `RecordsUploads` module to record Upload records via callbacks ...
| * | Improve specs for detailed statuses with manual actionsGrzegorz Bizon2017-03-062-24/+0
| | |
| * | Ignore job by default if it is a manual actionGrzegorz Bizon2017-03-061-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it possible to maintain backwards compatibility with configs created when manual actions were non-blocking. From now manual actions are blocking if configured with `allow_failure: false`, otherwise manual actions are optional, and their status is ignored.
| * | Reinstitute a core `manual` status for manual actionsGrzegorz Bizon2017-03-061-3/+3
| | |
| * | Introduce core status for blocked manual actionsGrzegorz Bizon2017-03-061-3/+3
| | |
| * | Refactor code related to pipeline blocking actionsGrzegorz Bizon2017-03-061-4/+0
| | |
| * | Make manual actions blockingKamil Trzcinski2017-03-062-0/+23
| |/
* | No need to set cache:key if no path was specifiedLin Jen-Shin2017-03-031-4/+0
| | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9666/diffs#note_24607518
* | Restore Unspecified and we could discuss laterLin Jen-Shin2017-03-033-20/+26
| | | | | | | | | | Also feedback in: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9666/diffs#note_24608283
* | Fix tests for added default cache keyLin Jen-Shin2017-03-031-2/+12
| |
* | Set default cache key for jobs, detail:Lin Jen-Shin2017-03-026-24/+32
|/ | | | | | | * Replace Unspecified with a field so that it's less surprising * Define inspect for Node for easy debugging (and avoid building a very huge string potentially from built-in inspect) * Set default cache key to 'default'
* Enable and autocorrect the CustomErrorClass copSean McGivern2017-03-014-4/+4
|