mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 19:04:18 +00:00
Rename label of build corpus services
This commit is contained in:
parent
d1b39449e8
commit
ece2d450d7
@ -17,7 +17,7 @@ def create_build_corpus_service(corpus):
|
|||||||
'command': 'docker-entrypoint.sh build-corpus',
|
'command': 'docker-entrypoint.sh build-corpus',
|
||||||
'constraints': ['node.role==worker'],
|
'constraints': ['node.role==worker'],
|
||||||
'labels': {'origin': 'nopaque',
|
'labels': {'origin': 'nopaque',
|
||||||
'type': 'corpus.prepare',
|
'type': 'corpus.build',
|
||||||
'corpus_id': str(corpus.id)},
|
'corpus_id': str(corpus.id)},
|
||||||
'mounts': [corpus_file + ':/root/files/corpus.vrt:ro',
|
'mounts': [corpus_file + ':/root/files/corpus.vrt:ro',
|
||||||
corpus_data_dir + ':/corpora/data:rw',
|
corpus_data_dir + ':/corpora/data:rw',
|
||||||
|
Loading…
Reference in New Issue
Block a user