|
51 | 51 | else: 'https://api.coverage.moz.tools'
|
52 | 52 | else: 'https://api.coverage.moz.tools'
|
53 | 53 |
|
54 |
| - taskboot_image: "mozilla/taskboot:0.1.9" |
| 54 | + taskboot_image: "mozilla/taskboot:0.2.0" |
55 | 55 | in:
|
56 | 56 | - taskId: {$eval: as_slugid("check_lint")}
|
57 | 57 | provisionerId: proj-relman
|
@@ -452,3 +452,40 @@ tasks:
|
452 | 452 | description: Deploy frontend build on environment
|
453 | 453 |
|
454 | 454 | source: https://github.com/mozilla/code-coverage
|
| 455 | + |
| 456 | + - $if: 'tasks_for == "github-push" && head_branch[:10] == "refs/tags/"' |
| 457 | + then: |
| 458 | + $let: |
| 459 | + version: {$eval: 'head_branch[10:]'} |
| 460 | + in: |
| 461 | + taskId: {$eval: as_slugid("release")} |
| 462 | + dependencies: |
| 463 | + - {$eval: as_slugid("addon_build")} |
| 464 | + - {$eval: as_slugid("bot_build")} |
| 465 | + - {$eval: as_slugid("backend_build")} |
| 466 | + - {$eval: as_slugid("frontend_build")} |
| 467 | + - {$eval: as_slugid("report_check_tests")} |
| 468 | + provisionerId: proj-relman |
| 469 | + workerType: ci |
| 470 | + created: {$fromNow: ''} |
| 471 | + deadline: {$fromNow: '1 hour'} |
| 472 | + payload: |
| 473 | + features: |
| 474 | + # Needed for access to secret |
| 475 | + taskclusterProxy: true |
| 476 | + maxRunTime: 3600 |
| 477 | + image: "${taskboot_image}" |
| 478 | + env: |
| 479 | + TASKCLUSTER_SECRET: "project/relman/code-coverage/release" |
| 480 | + command: |
| 481 | + - taskboot |
| 482 | + - github-release |
| 483 | + - mozilla/code-coverage |
| 484 | + - "${version}" |
| 485 | + scopes: |
| 486 | + - "secrets:get:project/relman/code-coverage/release" |
| 487 | + metadata: |
| 488 | + name: "Code Coverage Release ${version}" |
| 489 | + description: Code Coverage Github automated release |
| 490 | + |
| 491 | + source: https://github.com/mozilla/code-coverage |
0 commit comments