Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.git
frontend/
addon/
*/tests/
7 changes: 0 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,6 @@ updates:
open-pull-requests-limit: 99
labels:
- backend
- package-ecosystem: npm
directory: "/frontend"
schedule:
interval: weekly
open-pull-requests-limit: 99
labels:
- frontend
- package-ecosystem: pip
directory: "/report"
schedule:
Expand Down
60 changes: 0 additions & 60 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ tasks:

channel_short:
# Special case where naming is limited:
# * for the frontend upload on AWS S3, where the production bucket is named 'prod'
# * on Heroku for the events runtime, where the production app is named 'prod'
$if: 'tasks_for == "github-push"'
then:
Expand Down Expand Up @@ -314,32 +313,6 @@ tasks:
owner: [email protected]
source: https://github.com/mozilla/code-coverage

- taskId: { $eval: as_slugid("frontend_build") }
provisionerId: "${provisionerId}"
workerType: "${workerType}"
created: { $fromNow: "" }
deadline: { $fromNow: "1 hour" }
payload:
maxRunTime: 3600
image: node:20
env:
BACKEND_URL: "${backend_url}"
command:
- sh
- -lxce
- "git clone --quiet ${repository} /src && cd /src/frontend && git checkout ${head_rev} -b build &&
npm install --no-progress && npm run release"
artifacts:
public/frontend:
expires: { $fromNow: "2 weeks" }
path: /src/frontend/dist
type: directory
metadata:
name: Code Coverage Frontend build
description: Build web single page application
owner: [email protected]
source: https://github.com/mozilla/code-coverage

- $if: 'channel in ["testing", "production"]'
then:
taskId: { $eval: as_slugid("backend_deploy") }
Expand Down Expand Up @@ -400,38 +373,6 @@ tasks:
owner: [email protected]
source: https://github.com/mozilla/code-coverage

- $if: 'channel in ["testing", "production"]'
then:
taskId: { $eval: as_slugid("frontend_deploy") }
created: { $fromNow: "" }
deadline: { $fromNow: "1 hour" }
provisionerId: "${provisionerId}"
workerType: "${workerType}"
dependencies:
- { $eval: as_slugid("frontend_build") }
payload:
features:
# Needed for access to secret
taskclusterProxy: true
maxRunTime: 3600
image: "${taskboot_image}"
env:
TASKCLUSTER_SECRET: "project/relman/code-coverage/deploy-${channel}"
command:
- taskboot
- deploy-s3
- --artifact-folder
- public/frontend
- --bucket
- "codecoverage-${channel_short}-site-static-website"
scopes:
- "secrets:get:project/relman/code-coverage/deploy-${channel}"
metadata:
name: "Code Coverage Frontend deploy (${channel})"
description: Deploy frontend build on environment
owner: [email protected]
source: https://github.com/mozilla/code-coverage

- $if: 'tasks_for == "github-push" && head_branch[:10] == "refs/tags/"'
then:
$let:
Expand All @@ -440,7 +381,6 @@ tasks:
taskId: { $eval: as_slugid("release") }
dependencies:
- { $eval: as_slugid("backend_build") }
- { $eval: as_slugid("frontend_build") }
- { $eval: as_slugid("report_check_tests") }
provisionerId: "${provisionerId}"
workerType: "${workerType}"
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Mozilla Code Coverage

This project has 3 parts:
This project has 2 parts:

- `bot` is a Python script running as a Taskcluster hook, aggregating code coverage data from Mozilla repositories,
- `backend` is a Python API built with Flask, that serves the aggregated code coverage data, in an efficient way,
- `frontend` is a vanilla Javascript SPA displaying code coverage data in your browser.
- `backend` is a Python API built with Flask, that serves the aggregated code coverage data, in an efficient way.

## Help

Expand Down
21 changes: 0 additions & 21 deletions frontend/.babelrc

This file was deleted.

19 changes: 0 additions & 19 deletions frontend/.eslintrc.yml

This file was deleted.

2 changes: 0 additions & 2 deletions frontend/.gitignore

This file was deleted.

36 changes: 0 additions & 36 deletions frontend/README.md

This file was deleted.

Binary file removed frontend/assets/github.png
Binary file not shown.
Binary file removed frontend/assets/moz-fav-bw-rgb.png
Binary file not shown.
Binary file removed frontend/assets/moz-logo-black.png
Binary file not shown.
Loading