Skip to content

Instantly share code, notes, and snippets.

Mihai Tabara MihaiTabara

Block or report user

Report or block MihaiTabara

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@MihaiTabara
MihaiTabara / script.sh
Created May 9, 2019
Publishing flatpaks
View script.sh
#!/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
View gist:bd28f3b487d0a5a99cb17b2587fd309a
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
View gist:67075867bc95146dd353c244d12b2ecd
(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.
View gist:8459c9a5730ca30532954ff214006a49
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
View gist:5271b0c3186a11e428b0be6e2fc5da52
[
{
"appName": "Firefox",
"appVersion": "68.0a1",
"branch": "mozilla-central",
"buildid": "20190320112939",
"extVersion": "68.0a1",
"hashType": "sha512",
"locale": "en-US",
"platform": "linux64",
View gist:f42b73df112130c41f4de89a38d0760d
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
Flatpaks leftovers
View todos.md

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

Build fixes in order to get a MVP

View gist:c1a2294d1f69f5c3814a2f75dae29136
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
View beetmover-geckoview-android-aarch64-nightly.yml
---
# Example task: https://tools.taskcluster.net/groups/Qta4-BtrQbiCNQkQdHsZ4Q/tasks/ZMpU6X04RMyt7-DKYX15zA/details
"upstreamArtifacts": [
{
"paths": [
"public/build/target.maven.zip"
],
"zipExtract": true,
"taskId": "UviRJK8zRxWsYmwPzvcVPw",
View beetmover-checksums-zam-android-api-16-nightly.yml
---
# Example task: https://tools.taskcluster.net/groups/Qta4-BtrQbiCNQkQdHsZ4Q/tasks/BPBTswsnSY2mUo9pMQGHwA/details
"upstreamArtifacts": [
{
"locale": "zam",
"paths": [
"public/target.checksums",
"public/target.checksums.asc"
],
You can’t perform that action at this time.