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

Side by Side Diff: logmetrics/build_release

Issue 1946333004: logmetrics: Run as a service on skia-monitoring. (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « logmetrics/Makefile ('k') | logmetrics/sys/logmetrics.service » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Builds and uploads a debian package for prober. 2 # Builds and uploads a debian package for logmetrics.
3 APPNAME=proberd 3 APPNAME=logmetrics
4 DESCRIPTION="Application to probe application uptime and status." 4 DESCRIPTION="Application to create influxdb metrics from logs queries."
5 SYSTEMD=${APPNAME}.service 5 SYSTEMD=${APPNAME}.service
6 6
7 # Copy files into the right locations in ${ROOT}. 7 # Copy files into the right locations in ${ROOT}.
8 copy_release_files() 8 copy_release_files()
9 { 9 {
10 INSTALL="sudo install -D --verbose --backup=none --group=root --owner=root" 10 INSTALL="sudo install -D --verbose --backup=none --group=root --owner=root"
11 ${INSTALL} --mode=644 -T ./sys/${APPNAME}.service ${ROOT}/etc/systemd/system/${A PPNAME}.service 11 ${INSTALL} --mode=644 -T ./sys/${APPNAME}.service ${ROOT}/etc/systemd/system/${A PPNAME}.service
12 ${INSTALL} --mode=755 -T ${GOPATH}/bin/prober ${ROOT}/usr/local/bin/prober 12 ${INSTALL} --mode=755 -T ${GOPATH}/bin/logmetrics ${ROOT}/usr/local/bin/logmetri cs
13 ${INSTALL} --mode=644 -T ./probers.json ${ROOT}/etc/skiaprober/probers .json
14 } 13 }
15 14
16 source ../bash/release.sh 15 source ../bash/release.sh
OLDNEW
« no previous file with comments | « logmetrics/Makefile ('k') | logmetrics/sys/logmetrics.service » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698