зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1160385 - Generate checksums rel promotion, full bucket, DONTBUILD NPOTB a=testing r=rail
MozReview-Commit-ID: G3OZPmFyXDx --HG-- extra : rebase_source : 9d839b5aad980fabdc5aac84c54ae4de83547e19 extra : source : 20618b237669969be83ecb9a480b767a6b64e894
This commit is contained in:
Родитель
5e5115438d
Коммит
5ca14dbfe4
|
@ -32,6 +32,10 @@ class ChecksumsGenerator(BaseScript, VirtualenvMixin, SigningMixin, VCSMixin, Bu
|
|||
"dest": "bucket_name_prefix",
|
||||
"help": "Prefix of bucket name, eg: net-mozaws-prod-delivery. This will be used to generate a full bucket name (such as net-mozaws-prod-delivery-{firefox,archive}.",
|
||||
}],
|
||||
[["--bucket-name-full"], {
|
||||
"dest": "bucket_name_full",
|
||||
"help": "Full bucket name, eg: net-mozaws-prod-delivery-firefox",
|
||||
}],
|
||||
[["-j", "--parallelization"], {
|
||||
"dest": "parallelization",
|
||||
"default": 20,
|
||||
|
@ -129,6 +133,9 @@ class ChecksumsGenerator(BaseScript, VirtualenvMixin, SigningMixin, VCSMixin, Bu
|
|||
]
|
||||
|
||||
def _get_bucket_name(self):
|
||||
if self.config.get('bucket_name_full'):
|
||||
return self.config['bucket_name_full']
|
||||
|
||||
suffix = "archive"
|
||||
# Firefox has a special bucket, per https://github.com/mozilla-services/product-delivery-tools/blob/master/bucketmap.go
|
||||
if self.config["stage_product"] == "firefox":
|
||||
|
|
Загрузка…
Ссылка в новой задаче