Bug 1591387 - add flatpak release automation. r=rail

Adjust runme to be executable

Rm sdk/pltf install.Manually add meta

Enforce firefox run instead of notify

Add policy to disable updates

Temp hack to default to firefox instead of notify-send

Fix mach linters

Remove firefox command hack. Proper fix

Remove duplicate cmd in runme

Fix indentantion in kind

Fix more linters

Differential Revision: https://phabricator.services.mozilla.com/D59561
This commit is contained in:
Mihai Tabara
2020-03-09 12:16:51 +00:00
parent 96fc050840
commit 1efaad6f07
17 changed files with 776 additions and 0 deletions

View File

@@ -1194,6 +1194,23 @@ def build_push_snap_payload(config, task, task_def):
}
@payload_builder('push-flatpak', schema={
Required('channel'): text_type,
Required('upstream-artifacts'): [{
Required('taskId'): taskref_or_string,
Required('taskType'): text_type,
Required('paths'): [text_type],
}],
})
def build_push_flatpak_payload(config, task, task_def):
worker = task['worker']
task_def['payload'] = {
'channel': worker['channel'],
'upstreamArtifacts': worker['upstream-artifacts'],
}
@payload_builder('shipit-shipped', schema={
Required('release-name'): text_type,
})