summaryrefslogtreecommitdiff
path: root/app/uploaders
Commit message (Collapse)AuthorAgeFilesLines
* Add `direct_upload` setting for artifactsdirect-upload-of-artifactsKamil Trzciński2018-04-053-33/+31
|
* Allow to store uploads by default on Object Storagedirect-upload-of-uploadsKamil Trzciński2018-04-041-3/+11
| | | | Introduce `direct_upload` option for `uploads` which is gonna set a default storage to Object Storage and use Unicorn to save data
* Add Gitlab::ExclusiveLease to ObjectStorage#use_fileAlessio Caiazza2018-03-291-16/+29
|
* Port LFS direct_upload from EEac/lfs-direct-upload-ee-to-ceAlessio Caiazza2018-03-271-4/+90
|
* personal snippets will now comply with `background_upload`Micaël Bergeron2018-03-262-1/+6
|
* Backport ee-40781-os-to-ceMicaël Bergeron2018-03-221-5/+0
|
* Add proxy_download to perform proxied sending of all filesMicaël Bergeron2018-03-091-0/+8
|
* Merge branch 'poc-upload-hashing-path' into 'master'Sean McGivern2018-03-083-22/+34
| | | | | | | File uploads on objects storage should use hashed storage Closes #4952 See merge request gitlab-org/gitlab-ee!4597
* fixing some broken mergesMicaël Bergeron2018-03-021-0/+1
|
* another round of EE code removalMicaël Bergeron2018-03-021-3/+5
|
* remove geo specific codeMicaël Bergeron2018-03-011-1/+0
|
* Merge branch 'fix/sm/atomic-migration' into 'master'Micaël Bergeron2018-03-011-27/+51
| | | | | | | | Fix migrate! method (Minimal fix with ExclusiveLock to prevent race conditions) Closes #4928 and #4980 See merge request gitlab-org/gitlab-ee!4624
* remove the license checkMicaël Bergeron2018-03-011-12/+0
|
* another round of fixesMicaël Bergeron2018-03-011-2/+2
|
* port the object storage to CEMicaël Bergeron2018-03-013-3/+318
|
* Merge remote-tracking branch 'origin/master' into ↵object-storage-ee-to-ce-backportKamil Trzciński2018-02-282-0/+10
|\ | | | | | | object-storage-ee-to-ce-backport
| * Fix 500 error when loading an invalid upload URLSean McGivern2018-02-222-0/+10
| |
* | Merge branch 'fix/sm/atomic-migration' into 'master'Kamil Trzciński2018-02-281-2/+1
| | | | | | | | | | | | | | | | Fix migrate! method (Minimal fix with ExclusiveLock to prevent race conditions) Closes #4928 and #4980 See merge request gitlab-org/gitlab-ee!4624
* | Merge commit '7e424eb852716495073881710e8a8851b4a4cd5a' into ↵Kamil Trzciński2018-02-284-14/+43
|\ \ | |/ | | | | object-storage-ee-to-ce-backport
| * Merge branch '14256-upload-destroy-removes-file' into 'master'Sean McGivern2018-02-061-0/+6
| |\ | | | | | | | | | | | | | | | | | | Uploads should delete files when destroyed Closes #14256 See merge request gitlab-org/gitlab-ce!16799
| | * remove file after `Upload#destroy`Micaël Bergeron2018-02-061-0/+6
| | | | | | | | | | | | | | | it will also automatically prune empty directories for `FileUploader`-based uploaders.
| * | Drop filename enforcementShinya Maeda2018-02-061-6/+0
| | |
| * | Add essential testsShinya Maeda2018-02-061-1/+7
| | |
| * | Add CreateArtifactsTraceWorkerShinya Maeda2018-02-061-5/+3
| | |
| * | Expose current_pathShinya Maeda2018-02-061-3/+5
| | |
| * | JobArtifactUploader#open raise execption if its not FilestorageShinya Maeda2018-02-061-1/+3
| | |
| * | Trace as artifactsShinya Maeda2018-02-061-0/+4
| |/
| * apply fixes from feedback42547-upload-store-mount-pointMicaël Bergeron2018-02-021-7/+9
| |
| * add the uploader context to the upload modelMicaël Bergeron2018-02-024-15/+34
| |
| * porting changes from upstream3867-port-to-ceMicaël Bergeron2018-02-011-2/+2
| |
| * porting upstream changesMicaël Bergeron2018-02-011-2/+2
| |
| * port of 594e6a0a625^..f74c90f68c6Micaël Bergeron2018-02-0113-192/+250
| |
* | Merge branch 'feature/sm/artifacts-trace-ee' into 'master'Kamil Trzciński2018-02-281-0/+7
| | | | | | | | | | | | | | | | EE: Trace as artifacts (FileStorage and ObjectStorage) Closes #4171 See merge request gitlab-org/gitlab-ee!4258
* | Merge branch '4163-move-uploads-to-object-storage' into 'master'Sean McGivern2018-02-2814-387/+282
| | | | | | | | | | | | | | | | Move uploads to object storage Closes #4163 See merge request gitlab-org/gitlab-ee!3867
* | Merge branch 'zj-auto-upload-job-artifacts' into 'master'Kamil Trzciński2018-02-282-5/+7
| | | | | | | | | | | | Transfer job archives after creation See merge request gitlab-org/gitlab-ee!3646
* | Merge branch 'zj-multiple-artifacts-ee' into 'master'Grzegorz Bizon2018-02-284-45/+26
| | | | | | | | | | | | Multiple artifacts ee See merge request gitlab-org/gitlab-ee!3276
* | Merge branch 'jej/object-storage-uploader-migrate-with-license-callback' ↵Kamil Trzciński2018-02-281-11/+13
| | | | | | | | | | | | | | | | | | into 'master' ObjectStoreUploader#migrate! uses with_callbacks to trigger verify_license! Closes #3370 See merge request !2863
* | Merge commit '7fabc892f251740dbd9a4755baede662e6854870' into ↵Kamil Trzciński2018-02-285-19/+107
|\ \ | |/ | | | | object-storage-ee-to-ce-backport
| * Support uploads for groupsJarka Kadlecova2017-12-072-4/+19
| |
| * Fix specs failures, and use factory with `:ci_job_artifact, :archive`Kamil Trzcinski2017-12-032-3/+19
| |
| * Rename artifacts_* to legacy_artifacts_*Kamil Trzcinski2017-12-033-52/+38
| |
| * Fix legacy migration testZeger-Jan van de Weg2017-12-031-3/+1
| |
| * JobArtifactsUploader does not inherrit from ArtifactsUploaderZeger-Jan van de Weg2017-12-031-6/+20
| |
| * Fix most test failuresZeger-Jan van de Weg2017-12-031-8/+4
| |
| * Fix creation of job_artifact_uploaderKamil Trzcinski2017-12-031-6/+0
| |
| * Rename Artifact to JobArtifact, split metadata outZeger-Jan van de Weg2017-12-032-5/+37
| | | | | | | | | | | | | | | | | | 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.
| * Create Ci::ArtifactsZeger-Jan van de Weg2017-12-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To allow jobs/builds to have multiple artifacts, and to start seperating concerns from Ci::Build a new model is created: Ci::Artifact. Changes include the updating of the ArtifactUploader to adapt to a slightly different interface. The uploader expects to be initialized with a `Ci::Build`. Futher a migration with the minimal fields, the needed foreign keys and an index. Last, the way this works is by prepending a module to Ci::Build so we can basically override behaviour but if needed use `super` to get the original behaviour.
| * Changes to Attachments Migration for EE and Geo compatibilityGabriel Mazetto2017-11-281-2/+9
| |
| * FileUploader should check for hashed_storage?(:attachments) to use disk_pathGabriel Mazetto2017-11-211-3/+7
| |
* | Merge commit 'f2f58a60b76acd479e37bdbc9246ec9f9b2bea82' into ↵Kamil Trzciński2018-02-281-1/+1
|\ \ | |/ | | | | object-storage-ee-to-ce-backport