pts-core: Spring cleaning
This commit is contained in:
@@ -16,6 +16,10 @@ The `*.conf` files provide basic `phoromatic-client` and `phoromatic-server` job
|
||||
|
||||
The `*.service` files provide basic `phoromatic-client` and `phoromatic-server` job files for systemd-based Linux systems looking to deploy Phoromatic for controlling the Phoronix Test Suite.
|
||||
|
||||
## phoromatic-initd: Reference sysvinit script for Phoromatic
|
||||
|
||||
The files provide basic `phoromatic-client` /etc/init.d implementation for older Linux systems.
|
||||
|
||||
## JuJu
|
||||
|
||||
Ubuntu JuJu deployment charm for the Phoronix Test Suite.
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Example script for Phoromatic Ubuntu Tracker
|
||||
# Toss into /etc/
|
||||
echo "Dpkg::Options {\"--force-confnew\"; };" > /etc/apt/apt.conf.d/local-dpkg-forceconf
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update && sudo apt-get -y --ignore-missing dist-upgrade && reboot
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
# PTS Phoromatic is hopefully running since startup, but otherwise try running it to recover it.
|
||||
# PTS Phoromatic will automatically quit if it can't secure the lock meaning it's already running
|
||||
# Toss this into /etc/cron.hourly/
|
||||
DISPLAY=:0 phoronix-test-suite phoromatic.start >> /tmp/phoromatic-output
|
||||
@@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
# /etc/init.d/phoromatic-init-starter
|
||||
# update-rc.d phoromatic-init-starter defaults
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo "Starting Phoromatic"
|
||||
rm -f /tmp/phoromatic-output
|
||||
DISPLAY=:0 phoronix-test-suite phoromatic.start >> /tmp/phoromatic-output
|
||||
;;
|
||||
stop)
|
||||
echo "Stopping Phoromatic"
|
||||
touch /root/.phoronix-test-suite/halt-testing
|
||||
;;
|
||||
*)
|
||||
echo "Usage: /etc/init.d/phoromatic-init-starter {start|stop}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Example script for Phoromatic Kernel Tracker
|
||||
# http://kernel-tracker.phoromatic.com/
|
||||
# Toss into /etc/ and is called by update-kernel-from-ubuntu-daily-ppa script on cron job when appropriate
|
||||
|
||||
mkdir /tmp/kernel-ppa
|
||||
cd /tmp/kernel-ppa
|
||||
|
||||
wget -r --no-parent -nd http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/
|
||||
sleep 1
|
||||
dpkg -i --force-confnew --force-overwrite linux-image-*_amd64.deb
|
||||
sleep 10
|
||||
update-grub
|
||||
cd /
|
||||
rm -rf /tmp/kernel-ppa
|
||||
reboot
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Example script for Phoromatic Kernel Tracker
|
||||
# http://kernel-tracker.phoromatic.com/
|
||||
# Toss into /etc/cron.hourly/
|
||||
|
||||
hour=`date +%k`
|
||||
# hour=7
|
||||
if [ $hour -ne 7 ] ; then
|
||||
exit
|
||||
fi
|
||||
|
||||
/etc/phoromatic-tracker-update-kernel > /tmp/update-kernel-log 2>&1
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Example script for Phoromatic Ubuntu Tracker
|
||||
# http://ubuntu-tracker.phoromatic.com/
|
||||
# Toss into /etc/cron.hourly/
|
||||
|
||||
hour=`date +%k`
|
||||
# hour=2
|
||||
if [ $hour -ne 2 ] ; then
|
||||
exit
|
||||
fi
|
||||
|
||||
/etc/apt-full-upgrade > /tmp/aptitude-output 2>&1
|
||||
|
||||
Reference in New Issue
Block a user