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
AgeCommit message (Collapse)Author
2017-12-03Use `job_artifacts_archive|metadata`Kamil Trzcinski
2017-12-03Revert "Rename `job_archive|metadata` to `artifacts_archive|metadata`"Kamil Trzcinski
This reverts commit 714082e65304ae2ec5c5400c59a68ab63e724aa9.
2017-12-03Rename `job_archive|metadata` to `artifacts_archive|metadata`Kamil Trzcinski
2017-12-03Rename Artifact to JobArtifact, split metadata outZeger-Jan van de Weg
Two things at ones, as there was no clean way to seperate the commit and give me feedback from the tests. But the model Artifact is now JobArtifact, and the table does not have a type anymore, but the metadata is now its own model: Ci::JobArtifactMetadata.
2017-07-06Add many foreign keys to the projects tableYorick Peterse
This removes the need for relying on Rails' "dependent" option for data removal, which is _incredibly_ slow (even when using :delete_all) when deleting large amounts of data. This also ensures data consistency is enforced on DB level and not on application level (something Rails is really bad at). This commit also includes various migrations to add foreign keys to tables that eventually point to "projects" to ensure no rows get orphaned upon removing a project.
2017-05-01Update Carrierwave and fog-coreZeger-Jan van de Weg
2016-10-17Avoid race condition when expiring artifactsGrzegorz Bizon
It may happen that job meant to remove expired artifacts will be executed asynchronously when, in the meantime, project associated with given build gets removed by another asynchronous job. In that case we should not remove artifacts because such build will be removed anyway, when project removal is complete.
2016-10-07ExpireBuildArtifactsWorker query builds table without ordering enqueuing one ↵Paco Guzman
job per build to cleanup We use Sidekiq::Client.push_bulk to avoid Redis round trips