diff --git a/infra/gcb/templates/bower.json b/infra/gcb/templates/bower.json new file mode 100644 index 000000000..c4b71dbb9 --- /dev/null +++ b/infra/gcb/templates/bower.json @@ -0,0 +1,18 @@ +{ + "name": "build-status", + "main": "index.html", + "dependencies": { + "polymer": "Polymer/polymer#^2.0.0-rc.3", + "paper-item": "PolymerElements/paper-item#2.0-preview", + "app-layout": "PolymerElements/app-layout#2.0-preview", + "paper-card": "PolymerElements/paper-card#2.0-preview", + "iron-icons": "PolymerElements/iron-icons#2.0-preview", + "iron-ajax": "PolymerElements/iron-ajax#2.0-preview", + "iron-flex-layout": "PolymerElements/iron-flex-layout#2.0-preview", + "paper-icon-button": "PolymerElements/paper-icon-button#2.0-preview" + }, + "devDependencies": { + "web-component-tester": "^6.0.0-prerelease.5", + "webcomponentsjs": "webcomponents/webcomponentsjs#^1.0.0-rc.7" + } +} diff --git a/infra/gcb/templates/deploy.sh b/infra/gcb/templates/deploy.sh new file mode 100755 index 000000000..8c4527670 --- /dev/null +++ b/infra/gcb/templates/deploy.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +gsutil -m cp -r bower_components index.html src manifest.json gs://oss-fuzz-build-logs diff --git a/infra/gcb/templates/index.html b/infra/gcb/templates/index.html new file mode 100644 index 000000000..b424be934 --- /dev/null +++ b/infra/gcb/templates/index.html @@ -0,0 +1,28 @@ + + + + + + + OSS-Fuzz build status + + + + + + + + + + + + + + + diff --git a/infra/gcb/templates/manifest.json b/infra/gcb/templates/manifest.json new file mode 100644 index 000000000..c2d45e4f6 --- /dev/null +++ b/infra/gcb/templates/manifest.json @@ -0,0 +1,6 @@ +{ + "name": "build-status", + "short_name": "build-status", + "start_url": "/", + "display": "standalone" +} diff --git a/infra/gcb/templates/polymer.json b/infra/gcb/templates/polymer.json new file mode 100644 index 000000000..2bd10b64a --- /dev/null +++ b/infra/gcb/templates/polymer.json @@ -0,0 +1,7 @@ +{ + "lint": { + "rules": [ + "polymer-2" + ] + } +} diff --git a/infra/gcb/templates/src/build-status/build-status.html b/infra/gcb/templates/src/build-status/build-status.html new file mode 100644 index 000000000..85142f7f8 --- /dev/null +++ b/infra/gcb/templates/src/build-status/build-status.html @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + +