Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(829)

Unified Diff: autoroll/build_release

Issue 1411553004: Add autoroll server (Closed) Base URL: https://skia.googlesource.com/buildbot@arb_status
Patch Set: Add error-toast-sk to app-sk Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « autoroll/bower.json ('k') | autoroll/elements.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: autoroll/build_release
diff --git a/autoroll/build_release b/autoroll/build_release
new file mode 100755
index 0000000000000000000000000000000000000000..41c25559b4c3821ed1a26a9929ab3505fe11faee
--- /dev/null
+++ b/autoroll/build_release
@@ -0,0 +1,21 @@
+#!/bin/bash
+# Builds and uploads a debian package for autoroll.
+APPNAME=autorolld
+DESCRIPTION="Controls Skia DEPS rolls into Chrome."
+SYSTEMD=${APPNAME}.service
+
+# Copy files into the right locations in ${ROOT}.
+copy_release_files()
+{
+INSTALL="sudo install -D --verbose --backup=none --group=root --owner=root"
+INSTALL_DIR="sudo install -d --verbose --backup=none --group=root --owner=root"
+${INSTALL} --mode=644 -T ./sys/${APPNAME}.service ${ROOT}/etc/systemd/system/${APPNAME}.service
+${INSTALL} --mode=755 -T ${GOPATH}/bin/autoroll ${ROOT}/usr/local/bin/autoroll
+${INSTALL} --mode=644 -T ./res/vul/elements.html ${ROOT}/usr/local/share/skiaautoroll/res/vul/elements.html
+${INSTALL} --mode=644 -T ./res/js/core.js ${ROOT}/usr/local/share/skiaautoroll/res/js/core.js
+${INSTALL} --mode=644 -T ./templates/header.html ${ROOT}/usr/local/share/skiaautoroll/templates/header.html
+${INSTALL} --mode=644 -T ./templates/main.html ${ROOT}/usr/local/share/skiaautoroll/templates/main.html
+${INSTALL_DIR} --mode=777 ${ROOT}/mnt/pd0/autoroll_workdir
+}
+
+source ../bash/release.sh
« no previous file with comments | « autoroll/bower.json ('k') | autoroll/elements.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698