mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
rrs/tools: Add daily_run.sh script for provide updates.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
parent
c21f32b0ea
commit
d8b6e988de
|
@ -39,14 +39,7 @@ $ ./rrs/tools/rrs_upgrade_history.py -d --initial
|
|||
$ ./rrs/tools/rrs_upstream_history.py -d
|
||||
$ ./rrs/tools/rrs_distros.py -d
|
||||
|
||||
9. Then you can run update and rrs_maintainer_history scripts.
|
||||
|
||||
$ ./layerindex/update.py --reload
|
||||
$ ./rrs/tools/rrs_unique_recipes.py -d
|
||||
$ ./rrs/tools/rrs_maintainer_history.py -d
|
||||
$ ./rrs/tools/rrs_upgrade_history.py -d
|
||||
$ ./rrs/tools/rrs_upstream_history.py -d
|
||||
$ ./rrs/tools/rrs_distros.py -d
|
||||
9. Configure cron to run daily update, set rrs_dir and venv_activate into rrs/tools/daily_run.sh.
|
||||
|
||||
Maintenance
|
||||
-----------
|
||||
|
|
17
rrs/tools/daily_run.sh
Executable file
17
rrs/tools/daily_run.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
rrs_dir=__RRS_PATH__
|
||||
venv_activate=__VENV_ACTIVATE__
|
||||
|
||||
source $venv_activate
|
||||
|
||||
$rrs_dir/layerindex/update.py --reload
|
||||
$rrs_dir/rrs/tools/rrs_unique_recipes.py -d
|
||||
$rrs_dir/rrs/tools/rrs_maintainer_history.py -d
|
||||
$rrs_dir/rrs/tools/rrs_upgrade_history.py -d
|
||||
$rrs_dir/rrs/tools/rrs_upstream_history.py -d
|
||||
$rrs_dir/rrs/tools/rrs_distros.py -d
|
||||
|
||||
if [ "$1" = "email" ]; then
|
||||
$rrs_dir/rrs/tools/rrs_upstream_email.py
|
||||
fi
|
Loading…
Reference in New Issue
Block a user