Skip to content

Instantly share code, notes, and snippets.

{
"parameters": {
"optimize_target_tasks": true,
"tasks_for": "github-release",
"target_tasks_method": "release",
"head_tag": "v48.0.1"
},
"version": 2
}
@MihaiTabara
MihaiTabara / Tips and tricks.md
Last active June 10, 2020 15:20
RelEng Virtual All-hands 2020
@MihaiTabara
MihaiTabara / script.sh
Created May 9, 2019 19:22
Publishing flatpaks
#!/bin/bash
set -xe
# prepare_publish
git clone https://github.com/flatpak/flat-manager.git
flat-manager/flat-manager-client create $RELEASES_SERVER_ADDRESS "${RELEASE_CHANNEL}" > publish_build.txt
# finish_publish
tar -xvf target.flatpak.tar.gz
flat-manager/flat-manager-client push $(cat publish_build.txt) repo
diff --git a/taskcluster/ci/config.yml b/taskcluster/ci/config.yml
--- a/taskcluster/ci/config.yml
+++ b/taskcluster/ci/config.yml
@@ -202,27 +202,27 @@ release-promotion:
is-rc: true
target-tasks-method: ship_desktop
partial-updates: true
scriptworker:
# See additional configuration in taskcluster/taskgraph/util/scriptworker.py
(scriptworker) mtabara@mozspace:[appservices]~/work/mozilla/clones/git/scriptworker$ verify_cot --task-type beetmover TetFZ1JZSC2IqAUqthRtyQ --cot-product application-services
DEBUG:scriptworker.cot.verify:beetmover TetFZ1JZSC2IqAUqthRtyQ is scriptworker
DEBUG:scriptworker.utils:makedirs(/var/folders/tt/gh2yj62j3f93r0vcqqvbw5300000gn/T/tmphfyc9pwl/artifacts/public/logs)
INFO:scriptworker.cot.verify:build_task_dependencies beetmover TetFZ1JZSC2IqAUqthRtyQ
INFO:scriptworker.cot.verify:find_sorted_task_dependencies beetmover TetFZ1JZSC2IqAUqthRtyQ
INFO:scriptworker.cot.verify:found dependencies: [('beetmover:parent', 'ZBuuz7g_TkSIxLj41xYfjQ'), ('beetmover:build', 'eDbfOimbT82PjJpdNsEYyg')]
DEBUG:scriptworker.cot.verify: beetmover:parent ZBuuz7g_TkSIxLj41xYfjQ is docker-worker
DEBUG:scriptworker.utils: makedirs(/var/folders/tt/gh2yj62j3f93r0vcqqvbw5300000gn/T/tmphfyc9pwl/work/cot/ZBuuz7g_TkSIxLj41xYfjQ)
INFO:scriptworker.cot.verify:build_task_dependencies beetmover:parent ZBuuz7g_TkSIxLj41xYfjQ
INFO:scriptworker.
diff --git a/taskcluster/taskgraph/manifests/firefox_candidates.yml b/taskcluster/taskgraph/manifests/firefox_candidates.yml
--- a/taskcluster/taskgraph/manifests/firefox_candidates.yml
+++ b/taskcluster/taskgraph/manifests/firefox_candidates.yml
@@ -32,16 +32,17 @@
s3_bucket_paths:
- pub/firefox/candidates
default_locales:
- en-US
tasktype_map:
build: build
[
{
"appName": "Firefox",
"appVersion": "68.0a1",
"branch": "mozilla-central",
"buildid": "20190320112939",
"extVersion": "68.0a1",
"hashType": "sha512",
"locale": "en-US",
"platform": "linux64",
scopes:
$if: 'is_repo_trusted'
then:
$if: 'tasks_for == "github-release"'
then: assume:repo:github.com/mozilla-mobile/android-components:release
else:
$if: 'tasks_for == "cron"'
then: assume:hook-id:project-mobile/android-components-snapshot-release
else: assume: repo:github.com/mozilla-mobile/android-components:branch:master
else: assume:repo:github.com/mozilla-mobile/android-components:pull-request
@MihaiTabara
MihaiTabara / todos.md
Last active May 1, 2019 17:38
Flatpaks leftovers

Leftovers in order to ship Firefox as flatpak for the https://flathub.org/ appstore.

Build fixes in order to get a MVP

diff --git a/taskcluster/ci/bouncer-locations/kind.yml b/taskcluster/ci/bouncer-locations/kind.yml
--- a/taskcluster/ci/bouncer-locations/kind.yml
+++ b/taskcluster/ci/bouncer-locations/kind.yml
@@ -3,16 +3,20 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
loader: taskgraph.loader.transform:loader
transforms:
- taskgraph.transforms.bouncer_locations:transforms