- Feb 21, 2020
-
-
GitLab Bot authored
-
- Feb 15, 2020
-
-
GitLab Bot authored
-
- Feb 05, 2020
-
-
GitLab Bot authored
-
- Dec 05, 2019
-
-
GitLab Bot authored
-
- Dec 03, 2019
-
-
GitLab Bot authored
-
- Nov 07, 2019
-
-
GitLab Bot authored
-
- Oct 22, 2019
-
-
GitLab Bot authored
-
- Oct 17, 2019
-
-
GitLab Bot authored
-
- Sep 18, 2019
-
-
GitLab Bot authored
-
- Sep 11, 2019
-
-
- 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
-
- Jun 24, 2019
-
-
Jan Provaznik authored
Based on review comment fetching labels hook_attrs is now wrapped in an issue's model method.
-
- Jun 20, 2019
-
-
Sean McGivern authored
We were not calling hook_attrs on the labels correctly. Specs were passing because the issues under test did not have any labels!
-
- Jun 10, 2019
-
-
Sujay Patel authored
-
- May 28, 2019
-
-
Shinya Maeda authored
When user uses Pipelines for merge requests, the pipeline is a run on a merge request ref instead of branch ref. However, we should send source ref as a webhook in order to respect the original behavior.
-
- May 02, 2019
-
-
Jason Goodman authored
Include link to user and commit title. Rearrange text
-
- Apr 26, 2019
-
-
Jason Goodman authored
This enables sending a chat message to Slack or Mattermost upon a successful, failed, or canceled deployment
-
- 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.
-
- Apr 04, 2019
-
-
Shinya Maeda authored
Legacy artifacts have been correctly migrated to new place - ci_job_artifacts. Now it's time to remove the related code, but before that we should ensure it doesn't break anything by using feature flag.
-
- 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.
-
- Oct 01, 2018
-
-
Pierre Tardy authored
-
- Aug 31, 2018
-
-
Takuya Noguchi authored
-
- Aug 10, 2018
-
-
Maciej Sokołowski authored
-
- Jun 26, 2018
-
-
Kamil Trzcińśki authored
-
- Apr 05, 2018
-
-
Douwe Maan authored
[10.6] Prevent notes on confidential issues from being sent to chat See merge request gitlab/gitlabhq!2366 # Conflicts: # app/helpers/services_helper.rb
-
- Mar 07, 2018
-
-
James Edwards-Jones authored
Adds detailed_status to pipeline hook data Adds detailed_description option for Services Integration edit page renders 404 if a service is disabled
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 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
-
- Jun 01, 2017
-
-
Grzegorz Bizon authored
-
- May 12, 2017
-
-
Gabriel Mazetto authored
-
- May 10, 2017
-
-
David Turner authored
Signed-off-by:
David Turner <novalis@novalis.org>
-