mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
M #-: Allow configurable marketapp filename (#1035)
To avioid failure in tests while using the same bucket.
This commit is contained in:
parent
a75086d36b
commit
3dfc7218a0
@ -77,12 +77,13 @@ bucket = xpath(xml, 'MARKETPLACE/TEMPLATE/BUCKET')
|
||||
region = xpath(xml, 'MARKETPLACE/TEMPLATE/REGION')
|
||||
|
||||
# optional
|
||||
app_prefix = xpath(xml, 'MARKETPLACE/TEMPLATE/APP_PREFIX') || 'marketapp'
|
||||
signature_version = xpath(xml, 'MARKETPLACE/TEMPLATE/SIGNATURE_VERSION')
|
||||
endpoint = xpath(xml, 'MARKETPLACE/TEMPLATE/ENDPOINT')
|
||||
force_path_style = xpath(xml, 'MARKETPLACE/TEMPLATE/FORCE_PATH_STYLE')
|
||||
read_length = xpath(xml, 'MARKETPLACE/TEMPLATE/READx_LENGTH')
|
||||
|
||||
name = "marketapp-#{id}"
|
||||
name = "#{app_prefix}-#{id}"
|
||||
source = "s3://#{bucket}/#{name}"
|
||||
|
||||
s3_config = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user