Add scripts to trigger actions in the poudriere loop.
This commit is contained in:
11
ansible/roles/poudriere/files/poudriere_schedule_build.bash
Executable file
11
ansible/roles/poudriere/files/poudriere_schedule_build.bash
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
function main {
|
||||
find / -type f -name times -exec sed -iE 's/LASTBUILD=.*/LASTBUILD=0/' {} \;
|
||||
}
|
||||
|
||||
main "${@}"
|
||||
Reference in New Issue
Block a user