doit: more checks on build
This commit is contained in:
parent
a48c395975
commit
a89399eec3
1 changed files with 5 additions and 5 deletions
10
dodo.py
10
dodo.py
|
@ -1,4 +1,5 @@
|
||||||
import subprocess
|
import subprocess
|
||||||
|
import os
|
||||||
|
|
||||||
from doit.tools import LongRunning
|
from doit.tools import LongRunning
|
||||||
|
|
||||||
|
@ -14,11 +15,10 @@ def task_build():
|
||||||
'''builda il container docker'''
|
'''builda il container docker'''
|
||||||
return {
|
return {
|
||||||
'uptodate': [up2date_anyimages],
|
'uptodate': [up2date_anyimages],
|
||||||
'file_dep': ['docker-compose.yml', 'docker/Dockerfile-tt-rss',
|
'file_dep': ['docker-compose.yml',
|
||||||
'docker/ttrss-openrc-apache',
|
'rss-bridge/Dockerfile',
|
||||||
'docker/ttrss-openrc-ttrssupdate',
|
] + [os.path.join('docker', fname)
|
||||||
'rss-bridge/Dockerfile'
|
for fname in os.listdir('docker')],
|
||||||
],
|
|
||||||
'actions': [COMPOSE + ' build'],
|
'actions': [COMPOSE + ' build'],
|
||||||
'clean': [run_task_func(task__build_rm),
|
'clean': [run_task_func(task__build_rm),
|
||||||
run_task_func(task__build_rmi)],
|
run_task_func(task__build_rmi)],
|
||||||
|
|
Loading…
Reference in a new issue