Commit Graph

11 Commits

Author SHA1 Message Date
GitLab Bot 099deb2725 Add latest changes from gitlab-org/gitlab@master 2021-08-04 00:08:51 +00:00
GitLab Bot 1613500bf7 Add latest changes from gitlab-org/gitlab@master 2021-07-09 09:09:53 +00:00
GitLab Bot 793d974d7c Add latest changes from gitlab-org/gitlab@master 2021-05-14 12:10:58 +00:00
GitLab Bot 70cfa5e3e7 Add latest changes from gitlab-org/gitlab@master 2021-04-26 21:10:25 +00:00
GitLab Bot 0549ffef0d Add latest changes from gitlab-org/gitlab@master 2021-04-20 12:09:30 +00:00
GitLab Bot 202268ad93 Add latest changes from gitlab-org/gitlab@master 2020-08-21 09:10:08 +00:00
GitLab Bot fa7ac2663b Add latest changes from gitlab-org/gitlab@master 2020-06-24 06:09:01 +00:00
Stan Hu 2d233dac45 Clear pipeline status cache after destruction of pipeline
`project.pipeline_status.has_status?` is cached, which can lead to Error
500s in the UI if the this condition is used to check whether a pipeline
exists for a commit. We now expire the cache to ensure that the
information is consistent.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59453
2019-03-26 01:04:06 -05:00
Stan Hu 05f30ac6bb Disable audit event logging for pipeline destruction
AuditEventService isn't equipped to handle logging of the destruction of
entities such as CI pipelines. It's a project-level event that operates
on a pipeline. The current log doesn't even indicate that the pipeline
is being destroyed.

This is a CE backport of
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9105.  We're
removing the auditing call because it breaks the EE implementation.
2019-01-10 01:30:41 -08:00
Matija Čupić b7e5f73cd7
Raise exception when user is not authorized 2018-11-13 19:00:28 +01:00
Matija Čupić 99203bfe23
Destroy pipeline in service
Move all logic for destroying a Pipeline into a service so it's easily
reusable.
2018-11-12 19:43:03 +01:00