BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
bb88fb7e
Commit
bb88fb7e
authored
May 28, 2018
by
Kamil Trzciński
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-28' into 'master'
Returns a correct TMP_UPLOAD_PATH to workhourse Closes #46763 See merge request gitlab-org/gitlab-ce!19148
parents
57838e33
acdea516
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
4 deletions
+9
-4
object_storage.rb
app/uploaders/object_storage.rb
+1
-1
patch-28.yml
changelogs/unreleased/patch-28.yml
+5
-0
runner_spec.rb
spec/requests/api/runner_spec.rb
+1
-1
lfs_http_spec.rb
spec/requests/lfs_http_spec.rb
+1
-1
object_storage_spec.rb
spec/uploaders/object_storage_spec.rb
+1
-1
No files found.
app/uploaders/object_storage.rb
View file @
bb88fb7e
...
...
@@ -11,7 +11,7 @@ module ObjectStorage
ObjectStorageUnavailable
=
Class
.
new
(
StandardError
)
DIRECT_UPLOAD_TIMEOUT
=
4
.
hours
TMP_UPLOAD_PATH
=
'tmp/upload'
.
freeze
TMP_UPLOAD_PATH
=
'tmp/upload
s
'
.
freeze
module
Store
LOCAL
=
1
...
...
changelogs/unreleased/patch-28.yml
0 → 100644
View file @
bb88fb7e
---
title
:
Fix FreeBSD can not upload artifacts due to wrong tmp path
merge_request
:
19148
author
:
type
:
fixed
spec/requests/api/runner_spec.rb
View file @
bb88fb7e
...
...
@@ -1225,7 +1225,7 @@ describe API::Runner, :clean_gitlab_redis_shared_state do
before
do
fog_connection
.
directories
.
get
(
'artifacts'
).
files
.
create
(
key:
'tmp/upload/12312300'
,
key:
'tmp/upload
s
/12312300'
,
body:
'content'
)
...
...
spec/requests/lfs_http_spec.rb
View file @
bb88fb7e
...
...
@@ -1089,7 +1089,7 @@ describe 'Git LFS API and storage' do
context
'with valid remote_id'
do
before
do
fog_connection
.
directories
.
get
(
'lfs-objects'
).
files
.
create
(
key:
'tmp/upload/12312300'
,
key:
'tmp/upload
s
/12312300'
,
body:
'content'
)
end
...
...
spec/uploaders/object_storage_spec.rb
View file @
bb88fb7e
...
...
@@ -618,7 +618,7 @@ describe ObjectStorage do
let!
(
:fog_file
)
do
fog_connection
.
directories
.
get
(
'uploads'
).
files
.
create
(
key:
'tmp/upload/test/123123'
,
key:
'tmp/upload
s
/test/123123'
,
body:
'content'
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment