Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify transform #3

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
1 change: 1 addition & 0 deletions bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ stages:
run_if: '{{getenv "BUILD_FOCUS_IOS" | eq "true"}}'
- klar_unit_test:
run_if: '{{getenv "BUILD_FOCUS_IOS" | eq "true"}}'

workflows:
firefox_configure_build:
before_run:
Expand Down
2 changes: 1 addition & 1 deletion taskcluster/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ workers:
provisioner: scriptworker-k8s
implementation: scriptworker-bitrise
os: scriptworker
worker-type: mobile-{level}-bitrise
worker-type: mobile-{level}-bitrise-dev
images:
provisioner: 'mobile-{level}'
implementation: docker-worker
Expand Down
1 change: 1 addition & 0 deletions taskcluster/ffios_taskgraph/transforms/bitrise.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ def add_worker(config, tasks):
for task in tasks:
worker = task.setdefault("worker", {})
worker["bitrise"] = task.pop("bitrise")
task.setdefault("run-on-tasks-for", ["github-push"])
yield task
17 changes: 15 additions & 2 deletions taskcluster/kinds/build/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,22 @@ transforms:
- ffios_taskgraph.transforms.bitrise
- taskgraph.transforms.task


task-defaults:
worker-type: bitrise
bitrise:
artifact_prefix: public
tasks:
build-firefox-debug:
description: Build firefox_configure_build bitrise workflow
run-on-tasks-for:
- github-pull-request
- github-push
bitrise:
workflows:
- firefox_configure_build
optimization:
skip-unless-changed:
- bitrise.yml
screenshots:
description: Generate build instrumented for screenshots, including en-US pictures
attributes:
Expand All @@ -22,7 +36,6 @@ tasks:
platform: ios/opt
worker-type: bitrise
bitrise:
artifact_prefix: public
workflows:
- L10nBuild
index:
Expand Down