2019-04-09 19:11:47 +03:00
|
|
|
version: 1
|
|
|
|
policy:
|
|
|
|
pullRequests: public
|
|
|
|
tasks:
|
|
|
|
$let:
|
|
|
|
user: ${event.sender.login}
|
|
|
|
|
|
|
|
head_branch:
|
|
|
|
$if: 'tasks_for == "github-pull-request"'
|
|
|
|
then: ${event.pull_request.head.ref}
|
|
|
|
else:
|
|
|
|
$if: 'tasks_for == "github-push"'
|
|
|
|
then: ${event.ref}
|
|
|
|
else: ${event.release.target_commitish}
|
|
|
|
|
|
|
|
head_rev:
|
|
|
|
$if: 'tasks_for == "github-pull-request"'
|
|
|
|
then: ${event.pull_request.head.sha}
|
|
|
|
else:
|
|
|
|
$if: 'tasks_for == "github-push"'
|
|
|
|
then: ${event.after}
|
|
|
|
else: ${event.release.tag_name}
|
|
|
|
|
|
|
|
repository:
|
|
|
|
$if: 'tasks_for == "github-pull-request"'
|
|
|
|
then: ${event.pull_request.head.repo.html_url}
|
|
|
|
else: ${event.repository.html_url}
|
|
|
|
in:
|
2019-04-09 23:51:54 +03:00
|
|
|
$if: 'tasks_for in ["github-pull-request", "github-push"]'
|
|
|
|
then:
|
|
|
|
- taskId: {$eval: as_slugid("lint_task")}
|
2019-04-09 19:11:47 +03:00
|
|
|
created: {$fromNow: ''}
|
|
|
|
deadline: {$fromNow: '1 hour'}
|
|
|
|
provisionerId: aws-provisioner-v1
|
|
|
|
workerType: github-worker
|
|
|
|
payload:
|
|
|
|
maxRunTime: 3600
|
2019-06-13 14:15:53 +03:00
|
|
|
image: python:3.7
|
2019-04-09 19:11:47 +03:00
|
|
|
command:
|
|
|
|
- "/bin/bash"
|
2019-04-09 23:51:54 +03:00
|
|
|
- "-lcx"
|
2019-06-08 12:19:01 +03:00
|
|
|
- "git clone --quiet ${repository} &&
|
2019-04-09 19:11:47 +03:00
|
|
|
cd bugbug &&
|
2019-06-08 12:20:29 +03:00
|
|
|
git -c advice.detachedHead=false checkout ${head_rev} &&
|
2019-06-08 12:17:38 +03:00
|
|
|
pip install --quiet -r test-requirements.txt &&
|
2019-07-30 15:18:30 +03:00
|
|
|
pre-commit run -a"
|
2019-04-09 23:51:54 +03:00
|
|
|
metadata:
|
|
|
|
name: bugbug lint
|
|
|
|
description: bugbug lint
|
2019-07-22 12:48:20 +03:00
|
|
|
owner: mcastelluccio@mozilla.com
|
2019-04-09 23:51:54 +03:00
|
|
|
source: ${repository}/raw/${head_rev}/.taskcluster.yml
|
|
|
|
|
2019-04-18 13:49:00 +03:00
|
|
|
- $if: 'tasks_for == "github-push"'
|
|
|
|
then:
|
|
|
|
taskId: {$eval: as_slugid("version_check_task")}
|
|
|
|
created: {$fromNow: ''}
|
|
|
|
deadline: {$fromNow: '1 hour'}
|
|
|
|
provisionerId: aws-provisioner-v1
|
|
|
|
workerType: github-worker
|
|
|
|
payload:
|
|
|
|
maxRunTime: 3600
|
|
|
|
image: python
|
|
|
|
command:
|
|
|
|
- "/bin/bash"
|
|
|
|
- "-lcx"
|
2019-06-08 12:19:01 +03:00
|
|
|
- "git clone --quiet ${repository} &&
|
2019-04-18 13:49:00 +03:00
|
|
|
cd bugbug &&
|
2019-06-08 12:20:29 +03:00
|
|
|
git -c advice.detachedHead=false checkout ${head_rev} &&
|
2019-04-18 13:49:00 +03:00
|
|
|
python infra/version_check.py"
|
|
|
|
metadata:
|
|
|
|
name: bugbug tag version check
|
|
|
|
description: bugbug tag version check
|
2019-07-22 12:48:20 +03:00
|
|
|
owner: mcastelluccio@mozilla.com
|
2019-04-18 13:49:00 +03:00
|
|
|
source: ${repository}/raw/${head_rev}/.taskcluster.yml
|
|
|
|
|
2019-04-09 23:51:54 +03:00
|
|
|
- taskId: {$eval: as_slugid("tests_task")}
|
|
|
|
created: {$fromNow: ''}
|
|
|
|
deadline: {$fromNow: '1 hour'}
|
|
|
|
provisionerId: aws-provisioner-v1
|
|
|
|
workerType: github-worker
|
|
|
|
payload:
|
|
|
|
maxRunTime: 3600
|
|
|
|
image: python
|
2019-06-08 13:23:40 +03:00
|
|
|
env:
|
|
|
|
CODECOV_TOKEN: 66162f89-a4d9-420c-84bd-d10f12a428d9
|
2019-04-09 23:51:54 +03:00
|
|
|
command:
|
|
|
|
- "/bin/bash"
|
|
|
|
- "-lcx"
|
2019-06-08 12:50:13 +03:00
|
|
|
- "apt-get -qq update &&
|
|
|
|
apt-get -qq install -y python-pip &&
|
2019-06-08 12:17:38 +03:00
|
|
|
python2 -m pip install --quiet mercurial==4.8 &&
|
2019-06-08 12:19:01 +03:00
|
|
|
git clone --quiet https://github.com/mozilla/version-control-tools.git &&
|
|
|
|
git clone --quiet ${repository} &&
|
2019-04-09 23:51:54 +03:00
|
|
|
cd bugbug &&
|
2019-06-08 12:20:29 +03:00
|
|
|
git -c advice.detachedHead=false checkout ${head_rev} &&
|
2019-06-01 14:09:50 +03:00
|
|
|
cp infra/hgrc /root/.hgrc &&
|
2019-06-08 12:17:38 +03:00
|
|
|
pip install --quiet -r requirements.txt &&
|
|
|
|
pip install --quiet -r extra-nlp-requirements.txt &&
|
|
|
|
pip install --quiet -r extra-nn-requirements.txt &&
|
2019-06-26 19:43:15 +03:00
|
|
|
pip install --quiet -r infra/spawn_data_pipeline_requirements.txt &&
|
2019-06-08 12:17:38 +03:00
|
|
|
pip install --quiet -r test-requirements.txt &&
|
2019-06-08 13:23:40 +03:00
|
|
|
python -m pytest --cov=./ tests/test_*.py &&
|
|
|
|
bash <(curl -s https://codecov.io/bash)"
|
2019-04-09 19:11:47 +03:00
|
|
|
metadata:
|
|
|
|
name: bugbug tests
|
|
|
|
description: bugbug tests
|
2019-07-22 12:48:20 +03:00
|
|
|
owner: mcastelluccio@mozilla.com
|
2019-04-09 19:11:47 +03:00
|
|
|
source: ${repository}/raw/${head_rev}/.taskcluster.yml
|
2019-04-09 23:51:54 +03:00
|
|
|
|
|
|
|
- taskId: {$eval: as_slugid("packaging_test_task")}
|
|
|
|
created: {$fromNow: ''}
|
|
|
|
deadline: {$fromNow: '1 hour'}
|
|
|
|
provisionerId: aws-provisioner-v1
|
|
|
|
workerType: github-worker
|
|
|
|
payload:
|
|
|
|
maxRunTime: 3600
|
|
|
|
image: python
|
2019-06-08 21:50:59 +03:00
|
|
|
env:
|
|
|
|
CODECOV_TOKEN: 66162f89-a4d9-420c-84bd-d10f12a428d9
|
2019-04-09 23:51:54 +03:00
|
|
|
command:
|
|
|
|
- "/bin/bash"
|
|
|
|
- "-lcx"
|
2019-06-08 12:19:01 +03:00
|
|
|
- "git clone --quiet ${repository} &&
|
2019-04-09 23:51:54 +03:00
|
|
|
cd bugbug &&
|
2019-06-08 12:20:29 +03:00
|
|
|
git -c advice.detachedHead=false checkout ${head_rev} &&
|
2019-06-08 21:50:59 +03:00
|
|
|
pip install --quiet -r test-requirements.txt &&
|
|
|
|
python -m coverage run setup.py sdist &&
|
|
|
|
pip install dist/bugbug-$(cat VERSION).tar.gz &&
|
2019-06-08 22:11:41 +03:00
|
|
|
pip install dist/bugbug-$(cat VERSION).tar.gz[nlp] &&
|
|
|
|
pip install dist/bugbug-$(cat VERSION).tar.gz[nn] &&
|
2019-06-08 21:50:59 +03:00
|
|
|
bash <(curl -s https://codecov.io/bash)"
|
2019-04-09 23:51:54 +03:00
|
|
|
metadata:
|
|
|
|
name: bugbug packaging test
|
|
|
|
description: bugbug packaging test
|
2019-07-22 12:48:20 +03:00
|
|
|
owner: mcastelluccio@mozilla.com
|
2019-04-09 23:51:54 +03:00
|
|
|
source: ${repository}/raw/${head_rev}/.taskcluster.yml
|
2019-04-10 11:54:30 +03:00
|
|
|
|
2019-04-11 15:00:18 +03:00
|
|
|
- taskId: {$eval: as_slugid("docker_build")}
|
|
|
|
created: {$fromNow: ''}
|
2019-04-20 00:41:55 +03:00
|
|
|
deadline: {$fromNow: '3 hours'}
|
2019-04-11 15:00:18 +03:00
|
|
|
provisionerId: aws-provisioner-v1
|
|
|
|
workerType: releng-svc
|
|
|
|
payload:
|
|
|
|
capabilities:
|
|
|
|
privileged: true
|
2019-04-20 00:41:55 +03:00
|
|
|
maxRunTime: 10800
|
2019-07-05 16:36:16 +03:00
|
|
|
image: mozilla/taskboot:0.1.9
|
2019-06-06 19:06:16 +03:00
|
|
|
env:
|
|
|
|
REGISTRY: registry.hub.docker.com
|
|
|
|
VERSION:
|
|
|
|
$if: 'head_branch[:10] == "refs/tags/"'
|
|
|
|
then: {$eval: 'head_branch[10:]' }
|
|
|
|
else: "latest"
|
2019-04-11 15:00:18 +03:00
|
|
|
command:
|
2019-04-15 18:36:30 +03:00
|
|
|
- "/bin/sh"
|
|
|
|
- "-lcxe"
|
2019-06-08 12:19:01 +03:00
|
|
|
- "git clone --quiet ${repository} /code &&
|
2019-04-15 18:36:30 +03:00
|
|
|
cd /code &&
|
2019-06-08 12:20:29 +03:00
|
|
|
git -c advice.detachedHead=false checkout ${head_rev} &&
|
2019-06-06 19:06:16 +03:00
|
|
|
taskboot --cache /cache --target /code build-compose --write /images --build-arg CHECK_MODELS=0 --tag $VERSION --tag latest"
|
2019-04-11 15:00:18 +03:00
|
|
|
artifacts:
|
2019-04-15 18:36:30 +03:00
|
|
|
public/bugbug:
|
2019-04-11 15:00:18 +03:00
|
|
|
expires: {$fromNow: '2 weeks'}
|
2019-04-15 18:36:30 +03:00
|
|
|
path: /images
|
|
|
|
type: directory
|
2019-04-26 14:06:15 +03:00
|
|
|
cache:
|
|
|
|
bugbug-build: /cache
|
2019-04-11 15:00:18 +03:00
|
|
|
scopes:
|
|
|
|
- docker-worker:capability:privileged
|
2019-04-26 14:06:15 +03:00
|
|
|
- docker-worker:cache:bugbug-build
|
2019-04-11 15:00:18 +03:00
|
|
|
metadata:
|
|
|
|
name: bugbug docker build
|
|
|
|
description: bugbug docker build
|
2019-07-22 12:48:20 +03:00
|
|
|
owner: mcastelluccio@mozilla.com
|
2019-04-11 15:00:18 +03:00
|
|
|
source: ${repository}/raw/${head_rev}/.taskcluster.yml
|
|
|
|
|
2019-04-10 11:54:30 +03:00
|
|
|
- $if: 'tasks_for == "github-push" && head_branch[:10] == "refs/tags/"'
|
|
|
|
then:
|
|
|
|
dependencies:
|
|
|
|
- {$eval: as_slugid("lint_task")}
|
|
|
|
- {$eval: as_slugid("tests_task")}
|
|
|
|
- {$eval: as_slugid("packaging_test_task")}
|
2019-04-18 13:49:00 +03:00
|
|
|
- {$eval: as_slugid("version_check_task")}
|
2019-04-10 11:54:30 +03:00
|
|
|
scopes:
|
|
|
|
- secrets:get:project/relman/bugbug/deploy
|
|
|
|
created: {$fromNow: ''}
|
|
|
|
deadline: {$fromNow: '1 hour'}
|
|
|
|
provisionerId: aws-provisioner-v1
|
|
|
|
workerType: github-worker
|
|
|
|
payload:
|
|
|
|
features:
|
|
|
|
taskclusterProxy:
|
|
|
|
true
|
|
|
|
maxRunTime: 3600
|
|
|
|
image: python
|
|
|
|
command:
|
|
|
|
- "/bin/bash"
|
|
|
|
- "-lcx"
|
2019-06-08 12:19:01 +03:00
|
|
|
- "git clone --quiet ${repository} &&
|
2019-04-10 11:54:30 +03:00
|
|
|
cd bugbug &&
|
2019-06-08 12:20:29 +03:00
|
|
|
git -c advice.detachedHead=false checkout ${head_rev} &&
|
2019-04-10 11:54:30 +03:00
|
|
|
python setup.py sdist bdist_wheel &&
|
2019-06-08 12:17:38 +03:00
|
|
|
pip install --quiet twine &&
|
2019-04-10 11:54:30 +03:00
|
|
|
python infra/pypi.py"
|
|
|
|
metadata:
|
|
|
|
name: bugbug PyPI release
|
|
|
|
description: bugbug PyPI release
|
2019-07-22 12:48:20 +03:00
|
|
|
owner: mcastelluccio@mozilla.com
|
2019-04-10 11:54:30 +03:00
|
|
|
source: ${repository}/raw/${head_rev}/.taskcluster.yml
|
2019-04-18 20:49:12 +03:00
|
|
|
|
|
|
|
- $if: 'tasks_for == "github-push" && head_branch[:10] == "refs/tags/"'
|
|
|
|
then:
|
|
|
|
dependencies:
|
|
|
|
- {$eval: as_slugid("docker_build")}
|
2019-05-09 12:40:59 +03:00
|
|
|
- {$eval: as_slugid("lint_task")}
|
|
|
|
- {$eval: as_slugid("version_check_task")}
|
|
|
|
- {$eval: as_slugid("tests_task")}
|
|
|
|
- {$eval: as_slugid("packaging_test_task")}
|
2019-04-18 20:49:12 +03:00
|
|
|
scopes:
|
|
|
|
- secrets:get:project/relman/bugbug/deploy
|
|
|
|
taskId: {$eval: as_slugid("docker_push")}
|
|
|
|
created: {$fromNow: ''}
|
2019-04-20 00:41:55 +03:00
|
|
|
deadline: {$fromNow: '4 hours'}
|
2019-04-18 20:49:12 +03:00
|
|
|
provisionerId: aws-provisioner-v1
|
|
|
|
workerType: github-worker
|
|
|
|
payload:
|
|
|
|
features:
|
|
|
|
taskclusterProxy:
|
|
|
|
true
|
|
|
|
maxRunTime: 3600
|
2019-07-05 16:36:16 +03:00
|
|
|
image: mozilla/taskboot:0.1.9
|
2019-04-18 20:49:12 +03:00
|
|
|
env:
|
|
|
|
TASKCLUSTER_SECRET: project/relman/bugbug/deploy
|
|
|
|
command:
|
|
|
|
- taskboot
|
|
|
|
- push-artifact
|
2019-05-03 00:46:01 +03:00
|
|
|
- --exclude-filter
|
|
|
|
- "*http-service*"
|
2019-04-18 20:49:12 +03:00
|
|
|
metadata:
|
|
|
|
name: bugbug docker push
|
|
|
|
description: bugbug docker push
|
2019-07-22 12:48:20 +03:00
|
|
|
owner: mcastelluccio@mozilla.com
|
2019-04-18 20:49:12 +03:00
|
|
|
source: ${repository}/raw/${head_rev}/.taskcluster.yml
|
2019-06-26 19:19:40 +03:00
|
|
|
|
|
|
|
- $if: 'tasks_for == "github-push" && head_branch[:10] == "refs/tags/"'
|
|
|
|
then:
|
|
|
|
taskId: {$eval: as_slugid("update_hook_annotate_pipeline")}
|
|
|
|
dependencies:
|
|
|
|
- {$eval: as_slugid("docker_push")}
|
|
|
|
scopes:
|
|
|
|
- hooks:modify-hook:project-relman/bugbug-annotate
|
|
|
|
- assume:hook-id:project-relman/bugbug-annotate
|
|
|
|
created: {$fromNow: ''}
|
|
|
|
deadline: {$fromNow: '5 hours'}
|
|
|
|
provisionerId: aws-provisioner-v1
|
|
|
|
workerType: github-worker
|
|
|
|
payload:
|
|
|
|
features:
|
|
|
|
taskclusterProxy:
|
|
|
|
true
|
|
|
|
maxRunTime: 3600
|
2019-07-05 16:36:16 +03:00
|
|
|
image: mozilla/taskboot:0.1.9
|
2019-06-26 19:19:40 +03:00
|
|
|
env:
|
|
|
|
VERSION: {$eval: 'head_branch[10:]'}
|
|
|
|
command:
|
|
|
|
- "/bin/sh"
|
|
|
|
- "-lcxe"
|
|
|
|
- "git clone --quiet ${repository} &&
|
|
|
|
cd bugbug &&
|
|
|
|
git -c advice.detachedHead=false checkout ${head_rev} &&
|
2019-06-27 16:47:57 +03:00
|
|
|
python infra/set_hook_version.py $VERSION infra/taskcluster-hook-annotate.json &&
|
2019-06-26 19:19:40 +03:00
|
|
|
taskboot --target . build-hook infra/taskcluster-hook-annotate.json project-relman bugbug-annotate"
|
|
|
|
metadata:
|
|
|
|
name: bugbug update annotate hook
|
|
|
|
description: bugbug update annotate hook
|
2019-07-22 12:48:20 +03:00
|
|
|
owner: mcastelluccio@mozilla.com
|
2019-06-26 19:19:40 +03:00
|
|
|
source: ${repository}/raw/${head_rev}/.taskcluster.yml
|
2019-04-18 22:20:04 +03:00
|
|
|
|
|
|
|
- $if: 'tasks_for == "github-push" && head_branch[:10] == "refs/tags/"'
|
|
|
|
then:
|
2019-05-10 13:20:23 +03:00
|
|
|
taskId: {$eval: as_slugid("update_hook_data_pipeline")}
|
2019-04-18 22:20:04 +03:00
|
|
|
dependencies:
|
|
|
|
- {$eval: as_slugid("docker_push")}
|
|
|
|
scopes:
|
|
|
|
- hooks:modify-hook:project-relman/bugbug
|
|
|
|
- assume:hook-id:project-relman/bugbug
|
2019-05-09 12:27:12 +03:00
|
|
|
- queue:route:project.relman.bugbug.deploy_ending.*
|
2019-04-18 22:20:04 +03:00
|
|
|
created: {$fromNow: ''}
|
2019-04-20 00:41:55 +03:00
|
|
|
deadline: {$fromNow: '5 hours'}
|
2019-04-18 22:20:04 +03:00
|
|
|
provisionerId: aws-provisioner-v1
|
|
|
|
workerType: github-worker
|
|
|
|
payload:
|
|
|
|
features:
|
|
|
|
taskclusterProxy:
|
|
|
|
true
|
|
|
|
maxRunTime: 3600
|
2019-07-05 16:36:16 +03:00
|
|
|
image: mozilla/taskboot:0.1.9
|
2019-04-18 22:20:04 +03:00
|
|
|
command:
|
2019-06-06 19:11:59 +03:00
|
|
|
- "/bin/sh"
|
|
|
|
- "-lcxe"
|
2019-06-08 12:19:01 +03:00
|
|
|
- "git clone --quiet ${repository} &&
|
2019-06-06 19:11:59 +03:00
|
|
|
cd bugbug &&
|
2019-06-08 12:20:29 +03:00
|
|
|
git -c advice.detachedHead=false checkout ${head_rev} &&
|
2019-06-29 00:55:28 +03:00
|
|
|
python infra/set_hook_version.py ${head_branch[10:]} infra/taskcluster-hook-pipeline-start.json &&
|
2019-06-06 19:11:59 +03:00
|
|
|
taskboot --target . build-hook infra/taskcluster-hook-pipeline-start.json project-relman bugbug"
|
2019-05-09 12:27:12 +03:00
|
|
|
routes:
|
|
|
|
- project.relman.bugbug.deploy_ending
|
2019-04-18 22:20:04 +03:00
|
|
|
metadata:
|
2019-05-10 13:20:23 +03:00
|
|
|
name: bugbug update data hook
|
|
|
|
description: bugbug update data hook
|
2019-07-22 12:48:20 +03:00
|
|
|
owner: mcastelluccio@mozilla.com
|
2019-05-10 13:20:23 +03:00
|
|
|
source: ${repository}/raw/${head_rev}/.taskcluster.yml
|
|
|
|
|
|
|
|
- $if: 'tasks_for == "github-push" && head_branch[:10] == "refs/tags/"'
|
|
|
|
then:
|
|
|
|
taskId: {$eval: as_slugid("update_hook_check_pipeline")}
|
|
|
|
dependencies:
|
|
|
|
- {$eval: as_slugid("docker_push")}
|
|
|
|
scopes:
|
|
|
|
- hooks:modify-hook:project-relman/bugbug-checks
|
|
|
|
- assume:hook-id:project-relman/bugbug-checks
|
|
|
|
created: {$fromNow: ''}
|
|
|
|
deadline: {$fromNow: '5 hours'}
|
|
|
|
provisionerId: aws-provisioner-v1
|
|
|
|
workerType: github-worker
|
|
|
|
payload:
|
|
|
|
features:
|
|
|
|
taskclusterProxy:
|
|
|
|
true
|
|
|
|
maxRunTime: 3600
|
2019-07-05 16:36:16 +03:00
|
|
|
image: mozilla/taskboot:0.1.9
|
2019-05-10 13:20:23 +03:00
|
|
|
command:
|
2019-06-06 19:11:59 +03:00
|
|
|
- "/bin/sh"
|
|
|
|
- "-lcxe"
|
2019-06-08 12:19:01 +03:00
|
|
|
- "git clone --quiet ${repository} &&
|
2019-06-06 19:11:59 +03:00
|
|
|
cd bugbug &&
|
2019-06-08 12:20:29 +03:00
|
|
|
git -c advice.detachedHead=false checkout ${head_rev} &&
|
2019-06-29 00:55:28 +03:00
|
|
|
python infra/set_hook_version.py ${head_branch[10:]} infra/taskcluster-hook-check-models-start.json &&
|
2019-06-06 19:11:59 +03:00
|
|
|
taskboot --target . build-hook infra/taskcluster-hook-check-models-start.json project-relman bugbug-checks"
|
2019-05-10 13:20:23 +03:00
|
|
|
metadata:
|
|
|
|
name: bugbug update check hook
|
|
|
|
description: bugbug update check hook
|
2019-07-22 12:48:20 +03:00
|
|
|
owner: mcastelluccio@mozilla.com
|
2019-04-18 22:20:04 +03:00
|
|
|
source: ${repository}/raw/${head_rev}/.taskcluster.yml
|
2019-07-02 20:31:20 +03:00
|
|
|
|
|
|
|
- $if: 'tasks_for == "github-push" && head_branch[:10] == "refs/tags/"'
|
|
|
|
then:
|
|
|
|
taskId: {$eval: as_slugid("update_hook_classify_patch")}
|
|
|
|
dependencies:
|
|
|
|
- {$eval: as_slugid("docker_push")}
|
|
|
|
scopes:
|
|
|
|
- hooks:modify-hook:project-relman/bugbug-classify-patch
|
|
|
|
- assume:hook-id:project-relman/bugbug-classify-patch
|
|
|
|
created: {$fromNow: ''}
|
|
|
|
deadline: {$fromNow: '5 hours'}
|
|
|
|
provisionerId: aws-provisioner-v1
|
|
|
|
workerType: github-worker
|
|
|
|
payload:
|
|
|
|
features:
|
|
|
|
taskclusterProxy:
|
|
|
|
true
|
|
|
|
maxRunTime: 3600
|
2019-07-05 16:36:16 +03:00
|
|
|
image: mozilla/taskboot:0.1.9
|
2019-07-02 20:31:20 +03:00
|
|
|
command:
|
|
|
|
- "/bin/sh"
|
|
|
|
- "-lcxe"
|
|
|
|
- "git clone --quiet ${repository} &&
|
|
|
|
cd bugbug &&
|
|
|
|
git -c advice.detachedHead=false checkout ${head_rev} &&
|
|
|
|
python infra/set_hook_version.py ${head_branch[10:]} infra/taskcluster-hook-classify-patch.json &&
|
|
|
|
taskboot --target . build-hook infra/taskcluster-hook-classify-patch.json project-relman bugbug-classify-patch"
|
|
|
|
metadata:
|
|
|
|
name: bugbug update classify patch hook
|
|
|
|
description: bugbug update classify patch hook
|
2019-07-22 12:48:20 +03:00
|
|
|
owner: mcastelluccio@mozilla.com
|
2019-07-02 20:31:20 +03:00
|
|
|
source: ${repository}/raw/${head_rev}/.taskcluster.yml
|