- Feb 21, 2020
-
-
GitLab Bot authored
-
- Feb 05, 2020
-
-
GitLab Bot authored
-
- Oct 22, 2019
-
-
GitLab Bot authored
-
- Oct 17, 2019
-
-
GitLab Bot authored
-
- Sep 18, 2019
-
-
GitLab Bot authored
-
- Aug 17, 2019
-
-
Stan Hu authored
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31741 introduced a regression where not all the right parameters would be passed into `Ci::CreatePipelineService`. We fix this by breaking out the pipeline parameters and reusing a method from `Gitlab::DataBuilder::Push`. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66196
-
- Aug 13, 2019
-
-
Stan Hu authored
This commit reduces I/O load and memory utilization during PostReceive for the common case when no project hooks or services are set up. We saw a Gitaly N+1 issue in `CommitDelta` when many tags or branches are pushed. We can reduce this overhead in the common case because we observe that most new projects do not have any Web hooks or services, especially when they are first created. Previously, `BaseHooksService` unconditionally iterated through the last 20 commits of each ref to build the `push_data` structure. The `push_data` structured was used in numerous places: 1. Building the push payload in `EventCreateService` 2. Creating a CI pipeline 3. Executing project Web or system hooks 4. Executing project services 5. As the return value of `BaseHooksService#execute` 6. `BranchHooksService#invalidated_file_types` We only need to generate the full `push_data` for items 3, 4, and 6. Item 1: `EventCreateService` only needs the last commit and doesn't actually need the commit deltas. Item 2: In addition, `Ci::CreatePipelineService` only needed a subset of the parameters. Item 5: The return value of `BaseHooksService#execute` also wasn't being used anywhere. Item 6: This is only used when pushing to the default branch, so if many tags are pushed we can save significant I/O here. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65878 Fic
-
- Apr 25, 2019
-
-
Jonathon Reinhart authored
-
- Apr 08, 2019
-
-
Luke Duncalfe authored
Previously the raw push option Array was sent to Pipeline::Chain::Skip. This commit updates this class (and the chain of classes that pass the push option parameters from the API internal `post_receive` endpoint to that class) to treat push options as a Hash of options parsed by GitLab::PushOptions. The GitLab::PushOptions class takes options like this: -o ci.skip -o merge_request.create -o merge_request.target=branch and turns them into a Hash like this: { ci: { skip: true }, merge_request: { create: true, target: 'branch' } } This now how Pipeline::Chain::Skip is determining if the `ci.skip` push option was used.
-
- Jan 31, 2019
-
-
Luke Duncalfe authored
Fixes #54721
-
- Jan 18, 2019
-
-
Luke Duncalfe authored
Fixes #54721
-
- Dec 31, 2018
-
-
Jonathon Reinhart authored
gitlab-org/gitlab-shell!166 added support for collecting push options from the environment, and passing them along to the /internal/post_receive API endpoint. This change handles the new push_options JSON element in the payload, and passes them on through to the GitPushService and GitTagPushService services. Futhermore, it adds support for the first push option, ci.skip. With this change, one can use 'git push -o ci.skip' to skip CI pipe execution. Note that the pipeline is still created, but in the "skipped" state, just like with the 'ci skip' commit message text. Implements #18667
-
- Nov 07, 2018
-
-
gfyoung authored
Enables frozens string for the following: * lib/gitlab/conflict/**/*.rb * lib/gitlab/cross_project_access/**/*.rb * lib/gitlab/cycle_analytics/**/*.rb * lib/gitlab/data_builder/**/*.rb * lib/gitlab/database/**/*.rb * lib/gitlab/dependency_linker/**/*.rb * lib/gitlab/diff/**/*.rb * lib/gitlab/downtime_check/**/*.rb * lib/gitlab/email/**/*.rb * lib/gitlab/etag_caching/**/*.rb Partially addresses gitlab-org/gitlab-ce#47424.
-
- Aug 31, 2018
-
-
Takuya Noguchi authored
-
- Oct 05, 2017
-
-
Vitaliy @blackst0ne Klachkov authored
-
- Sep 22, 2017
-
-
- Aug 27, 2017
-
-
Stan Hu authored
The change in !11728 would cause an arbitrary project to be chosen to test system hooks, and it's likely that the project would not have any commits or relevant commits to test the hook. This would prevent admins from verifying that the hook fired. Instead of trying to create a representative hook dynamically, just send static data to guarantee the hook will actually be tested. Closes #37067
-
- Jul 28, 2017
-
-
Douwe Maan authored
-
- Jul 20, 2017
-
-
Alexander Randa authored
-
- May 10, 2017
-
-
David Turner authored
Signed-off-by:
David Turner <novalis@novalis.org>
-
- Apr 27, 2017
-
-
Tiago Botelho authored
-
- Oct 28, 2016
-
-
Alejandro Rodríguez authored
When we updated gitlab_git to 10.4.1, `tag.target` changed from pointing to the sha of the tag to the sha of the commit the tag points to. The problem is that only annotated tags have `object_sha`s, lightweight tags don't (it's nil), so (only) in their case we still need to use `tag.target`.
-
- Aug 12, 2016
-
- Aug 04, 2016
-
- Apr 29, 2016
-
-
Paco Guzman authored
- Parameter validation as ISO8601 format
-
- Apr 19, 2016
-
-
Gabriel Mazetto authored
-
Gabriel Mazetto authored
Code is based on Project Webhooks, removing deprecations and without commits listing.
-
- Mar 10, 2016
-
-
Ashley Smith authored
-
- Feb 15, 2016
-
-
Robert Speicher authored
Closes #13469
-
- Feb 11, 2016
-
-
Kirill Zaitsev authored
- Add `avatar_url`, `description`, `git_ssh_url`, `git_http_url`, `path_with_namespace` and `default_branch` in `project` in push, issue, merge-request and note webhooks data - Deprecate the `ssh_url` in favor of `git_ssh_url` and `http_url` in favor of `git_http_url` in `project` for push, issue, merge-request and note webhooks data - Deprecate the `repository` key in push, issue, merge-request and note webhooks data, use `project` instead
-
- Dec 07, 2015
-
-
Valery Sizov authored
-
Valery Sizov authored
-
- Dec 04, 2015
-
-
Valery Sizov authored
-
- Nov 03, 2015
-
-
Valery Sizov authored
-
- Jun 15, 2015
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Apr 24, 2015
-
-
Douwe Maan authored
-
Douwe Maan authored
-
- Mar 21, 2015
-
-
Kamil Trzcińśki authored
-
- Mar 19, 2015
-
-
Douwe Maan authored
-