File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,12 @@ day='[0-3][0-9]'
88hour=' [012][0-9]'
99minute=' [0-5][0-9]'
1010
11- cd /osgtest/runs
11+ cd /osgtest/runs/
1212/bin/ls -d run-${year}${month}${day} -${hour}${minute} | head -n -${RUNS_TO_KEEP} | while read rundir; do
1313 rm -rf " $rundir "
1414done
15+
16+ cd /var/www/html/
17+ /bin/ls -d ${year}${month}${day} -${hour}${minute} | head -n -${RUNS_TO_KEEP} | while read rundir; do
18+ rm -rf " $rundir "
19+ done
Original file line number Diff line number Diff line change 11[Unit]
22Description=Cleanup old OSG VM Universe integration test runs periodically
3+ Requires=vm-test-cleanup.service
34
45[Timer]
56OnBootSec=10min
Original file line number Diff line number Diff line change 11Summary: OSG VMU test scripts
22Name: vm-test-runs
3- Version: 1.0
3+ Version: 1.1
44Release: 1%{?dist }
55Source0: %{name }-%{version }.tar.gz
66License: Apache 2.0
@@ -66,6 +66,9 @@ install -D vmu.css %{buildroot}/%{_localstatedir}/www/html/vmu.css
6666%{_localstatedir }/www/html/vmu.css
6767
6868%changelog
69+ * Fri Mar 27 2020 Brian Lin <blin@cs.wisc.edu> 1.1-1
70+ - VM test run service cleanup fixes
71+
6972* Tue Mar 24 2020 Brian Lin <blin@cs.wisc.edu> 1.0-1
7073- Package CSS file
7174- Systemd unit file fixes
You can’t perform that action at this time.
0 commit comments