mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Adapt servo/servo-taskcluster-experiments’s code for servo/servo
This commit is contained in:
parent
1492bacbca
commit
a6fbab9c5b
2 changed files with 5 additions and 14 deletions
|
@ -5,7 +5,7 @@ policy:
|
|||
tasks:
|
||||
- $if: 'tasks_for == "github-push"'
|
||||
then:
|
||||
$if: 'event.ref == "refs/heads/master"'
|
||||
$if: 'event.ref in ["refs/heads/auto", "refs/heads/try"]'
|
||||
then:
|
||||
taskGroupId: {$eval: as_slugid("decision_task")}
|
||||
taskId: {$eval: as_slugid("decision_task")}
|
||||
|
@ -14,17 +14,17 @@ tasks:
|
|||
created: {$fromNow: ''}
|
||||
deadline: {$fromNow: '1 day'}
|
||||
metadata:
|
||||
name: "Taskcluster experiments for Servo: decision task"
|
||||
name: "Servo: decision task"
|
||||
description: ""
|
||||
owner: &task_owner ${event.pusher.name}@users.noreply.github.com
|
||||
source: &task_source ${event.compare}
|
||||
scopes:
|
||||
- "queue:scheduler-id:taskcluster-github"
|
||||
|
||||
# Granted to role "repo:github.com/servo/servo-taskcluster-experiments:branch:master"
|
||||
# Granted to role "repo:github.com/servo/servo:branch:*"
|
||||
- "queue:create-task:highest:aws-provisioner-v1/servo-*"
|
||||
- "queue:route:index.project.servo.servo.*"
|
||||
- "docker-worker:cache:cargo-*"
|
||||
- "queue:route:index.project.servo.servo-taskcluster-experiments.*"
|
||||
|
||||
payload:
|
||||
maxRunTime: {$eval: '20 * 60'}
|
||||
|
@ -47,4 +47,4 @@ tasks:
|
|||
cd repo &&
|
||||
git fetch --depth 1 "$GIT_URL" "$GIT_REF" &&
|
||||
git reset --hard "$GIT_SHA" &&
|
||||
python3 decision-task.py
|
||||
python3 etc/ci/taskcluster/decision-task.py
|
||||
|
|
|
@ -16,15 +16,6 @@ def main():
|
|||
worker_type="servo-docker-worker",
|
||||
)
|
||||
|
||||
# FIXME: remove this before merging in servo/servo
|
||||
os.environ["GIT_URL"] = "https://github.com/SimonSapin/servo"
|
||||
os.environ["GIT_REF"] = "refs/heads/taskcluster-experiments-20180920"
|
||||
os.environ["GIT_SHA"] = "a6dbfdd29f9b3f0ce0c13adc79fad99538a9a44b"
|
||||
decision.docker_image_cache_expiry = "1 week"
|
||||
decision.route_prefix = "project.servo.servo-taskcluster-experiments"
|
||||
# ~
|
||||
|
||||
|
||||
build_artifacts_expiry = "1 week"
|
||||
log_artifacts_expiry = "1 year"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue