Skip to content

Commit

Permalink
fix: get rid of treeherder references in .taskcluster.yml/taskcluster…
Browse files Browse the repository at this point in the history
… directory

This is currently breaking PRs; fallout from #22.
  • Loading branch information
bhearsum authored and ahal committed Jul 12, 2024
1 parent 96a132f commit 62e1b8c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 38 deletions.
15 changes: 0 additions & 15 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ tasks:
routes:
$flatten:
- checks
- {$if: '!isPullRequest && tasks_for != "pr-action"', then: ["tc-treeherder.v2.${project}.${head_sha}"], else: []}
- $switch:
'tasks_for == "github-push"':
- "index.${trustDomain}.v2.${project}.latest.taskgraph.decision"
Expand Down Expand Up @@ -275,20 +274,6 @@ tasks:

extra:
$merge:
- treeherder:
$merge:
- machine:
platform: gecko-decision
- $switch:
'tasks_for in ["github-push", "github-release"] || isPullRequest':
symbol: D
'tasks_for == "action" || tasks_for == "pr-action"':
groupName: 'action-callback'
groupSymbol: AC
symbol: "${action.symbol}"
$default:
groupSymbol: cron
symbol: "${cron.job_symbol}"
- $if: 'tasks_for == "action"'
then:
parent: '${action.taskGroupId}'
Expand Down
5 changes: 1 addition & 4 deletions taskcluster/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
trust-domain: ci
treeherder:
group-names:
'I': 'Docker Image Builds'
'check': 'config checks'
'unit': 'unit tests'
group-names: {}

task-priority: low

Expand Down
3 changes: 0 additions & 3 deletions taskcluster/kinds/docker-image/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,14 @@ transforms:
# knowledge that unnecessary images will be omitted from the target task graph
tasks:
build-decision:
symbol: I(build-decision)
definition: build-decision
args:
PYTHON_VERSION: "3.11"
python3.9:
symbol: I(python3.9)
definition: python
args:
PYTHON_VERSION: "3.9"
python3.11:
symbol: I(python3.11)
definition: python
args:
PYTHON_VERSION: "3.11"
16 changes: 0 additions & 16 deletions taskcluster/kinds/tests/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ task-defaults:
worker:
docker-image: {in-tree: python3.9}
max-run-time: 3600
treeherder:
kind: test
platform: tests/opt
tier: 1
run:
cwd: '{checkout}'
using: run-task
Expand All @@ -28,8 +24,6 @@ task-defaults:
tasks:
unit-ciadmin:
description: "Run ciadmin `unit tests` to validate the latest changes"
treeherder:
symbol: unit(ciadmin)
worker:
env:
# fail instead of skipping tests due to missing information
Expand All @@ -41,8 +35,6 @@ tasks:
py.test tests/
unit-build-decision:
description: "Run build-decision `unit tests` to validate the latest changes"
treeherder:
symbol: unit(build-decision)
worker:
env:
# fail instead of skipping tests due to missing information
Expand All @@ -55,34 +47,26 @@ tasks:
py.test build-decision/tests/
flake8:
description: "Run `flake8` to validate the latest changes"
treeherder:
symbol: f8
run:
command: >-
pip install --user -r requirements/test.txt &&
flake8
black:
description: "Run `black` to validate the latest changes"
treeherder:
symbol: black
run:
command: >-
pip install --user -r requirements/test.txt &&
black --check .
isort:
description: "Run `isort` to validate the latest changes"
treeherder:
symbol: isort
run:
command: >-
pip install --user -r requirements/test.txt &&
isort --check --diff src/ tests/ build-decision/src/ build-decision/tests/
yamllint:
description: "Run `yamllint` to validate the latest changes"
treeherder:
symbol: yaml
run:
command: >-
pip install --user -r requirements/test.txt &&
Expand Down

0 comments on commit 62e1b8c

Please sign in to comment.