Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/ci
AgeCommit message (Collapse)Author
2017-06-01Add missing specsKamil Trzcinski
2017-06-01Fix data inconsistency issue for old artifacts by moving them to a currently ↵Kamil Trzcinski
used path
2017-05-10Enable the Style/TrailingCommaInLiteral copRémy Coutable
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-18Just enforce the output encoding for Ansi2htmlLin Jen-Shin
Fixes https://sentry.gitlap.com/gitlab/gitlabcom/issues/27545/
2017-04-06Optimise trace handling code to use streaming instead of full readKamil Trzciński
2017-03-31Backport API changes needed to fix sticking in EEYorick Peterse
These changes are ported over from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1502 to reduce the number of merge conflicts that may occur.
2017-03-13Fix regression in runners registration v1 apiTomasz Maczukin
2017-03-07Merge branch 'feature/runner-jobs-v4-api' into 'master' Kamil Trzciński
Feature/runner jobs v4 api Closes #28513 See merge request !9273
2017-03-06Ignore job by default if it is a manual actionGrzegorz Bizon
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.
2017-03-02Refactor JobRequest response structureTomasz Maczukin
2017-03-01Enable and autocorrect the CustomErrorClass copSean McGivern
2017-02-28Backport new behavior to CI APIRobert Schilling
2017-02-24Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin
27762-add-default-artifacts-expiration * upstream/master: (247 commits) Switched CONTRIBUTING.md style guide recommendation for method chaining Fix new offenses Stylistic tweaks Fix OAuth/SAML user blocking behavior Revert "Enable Style/DotPosition" Revert "Prefer leading style for Style/DotPosition" Revert "Enable Style/BarePercentLiterals" Manually correct autocorrect Move up delegate calls Exclude migrations from Style/MutableConstant ActiveSupport delegation is preferred over Forwardable Update haml_lint to work with newest rubocop Add explanations to cops Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Order cops alphabetically Don’t exclude some file in lib from rubocop Fix new offenses Enable Rails/Delegate Enable Style/WordArray ...
2017-02-23Revert "Enable Style/DotPosition"Douwe Maan
This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9. # Conflicts: # .rubocop.yml # .rubocop_todo.yml # lib/gitlab/ci/config/entry/global.rb # lib/gitlab/ci/config/entry/jobs.rb # spec/lib/gitlab/ci/config/entry/factory_spec.rb # spec/lib/gitlab/ci/config/entry/global_spec.rb # spec/lib/gitlab/ci/config/entry/job_spec.rb # spec/lib/gitlab/ci/status/build/factory_spec.rb # spec/lib/gitlab/incoming_email_spec.rb
2017-02-23Revert "Prefer leading style for Style/DotPosition"Douwe Maan
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
2017-02-23Enable Style/WordArrayDouwe Maan
2017-02-23Enable Style/EmptyLineBetweenDefsDouwe Maan
2017-02-23Prefer leading style for Style/DotPositionDouwe Maan
2017-02-23Enable Performance/RedundantMatchDouwe Maan
2017-02-23Enable Style/MutableConstantDouwe Maan
2017-02-23Enable Style/DotPositionDouwe Maan
2017-02-22Merge branch 'grapify-ci-runners-api' into 'master' Rémy Coutable
Grapify the CI::Runners API See merge request !9440
2017-02-22Grapify the CI::Runners APIRobert Schilling
2017-02-22Grapfiy the CI::Triggers APIRobert Schilling
2017-02-22No more and/orDouwe Maan
2017-02-15rubocop: Align the operands of an expressionLin Jen-Shin
C: Style/MultilineOperationIndentation: Align the operands of an expression in an assignment spanning multiple lines.
2017-02-15Use the same syntax for default expirationLin Jen-Shin
Feedback: * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23343951 * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23344036 * https://gitlab.com/gitlab-org/gitlab-ce/issues/27762#note_23344797
2017-02-15Initial implementation for default artifacts expirationLin Jen-Shin
TODO: Add tests and screenshots
2017-02-02Merge branch '20248-add-coverage-regex-in-job-yaml' into 'master'Douwe Maan
Add ability to define a coverage regex in the .gitlab-ci.yml Closes #20428 See merge request !7447
2017-01-25Return struct instead of multiple valuesKamil Trzcinski
2017-01-25Fix specsKamil Trzcinski
2017-01-25Fix picking CI buildsKamil Trzcinski
The conflict happens when we try to update a build, but fail to do so due to fact that we update the same build concurrently for two different runners.
2017-01-25Remove unneeded code and fix offensesKamil Trzcinski
2017-01-25Simplify coverage setting and comply to some requests in code reviewLeandro Camargo
2017-01-25Change expected `coverage` structure for CI configuration YAML fileLeandro Camargo
Instead of using: `coverage: /\(\d+.\d+%\) covered/` This structure must be used now: ``` coverage: output_filter: /\(\d+.\d+%\) covered/` ``` The surrounding '/' is optional.
2017-01-25Comply to requests made in the review and adjust to the Entry/Node changesLeandro Camargo
This commit: * Turns `coverage_regex` into `coverage` entry in yml file * Fixes smaller requests from code reviewers for the previous commit * This commit is temporary (will be squashed afterwards) This commit does not (further commits will do though): * Add global `coverage` entry handling in yml file as suggested by Grzegorz * Add specs * Create changelog * Create docs
2017-01-25Add ability to define a coverage regex in the .gitlab-ci.ymlLeandro Camargo
* Instead of using the proposed `coverage` key, this expects `coverage_regex`
2017-01-20Backport changes introduced by ↵Kamil Trzcinski
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1083
2017-01-19Merge remote-tracking branch 'origin/master' into 21698-redis-runner-last-buildKamil Trzcinski
2017-01-09Merge branch '19086-double-newline' into 'master' Sean McGivern
Fix Double Spaced CI Log Closes #19086 See merge request !8349
2017-01-09Don't instrument 405 Grape callsRémy Coutable
Fixes #26051. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-04WIP: Add tests and make sure that headers are setLin Jen-Shin
* 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.
2016-12-29Replace carriage return combos with line breaks tagsJared Deckard
2016-12-21Ensure nil User-Agent doesn't break the CI APIRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-12-20Merge branch 'fix-forbidden-for-build-api-for-deleted-project' into 'master' Grzegorz Bizon
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
2016-12-19Use a block to insert extra check for authenticate_build!Lin Jen-Shin
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8091#note_20253762
2016-12-19Keep the value type for YAML variablesLin Jen-Shin
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8088#note_20235080
2016-12-19Prefer unless over if notLin Jen-Shin
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/builds/7606797
2016-12-19Use a separate method to skip validationLin Jen-Shin
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8091#note_20222666
2016-12-16Do things in the correct orderKim "BKC" Carlbäcker