imfreedom/k8s-cluster
Clone
Summary
Browse
Changes
Graph
Add cronjobs for reviewboard to update the search index and clear expired sessions
2022-03-14, Gary Kramlich
6bcf171dacee
file is
Executable
Add cronjobs for reviewboard to update the search index and clear expired sessions
#!/bin/sh
POPEYE
=
$(
which
popeye
)
if
[
-z
"
${
POPEYE
}
"
]
;
then
echo
"failed to find popeye executable, please make sure it's on your path"
>
&
2
echo
"or download it from https://github.com/derailed/popeye"
>
&
2
exit
1
fi
mkdir
-p
reports
POPEYE_REPORT_DIR
=
$(
pwd
)
/reports
"
${
POPEYE
}
"
--save
--out
html
exit
${
?
}