orchestrator: Support generic pre- and post- scripts
Run arbitrary commands before and after the compose. The example config is updated to generate latest symlink with a post-compose script. The pre compose script runs always, post compose runs only if the compose is not doomed. JIRA: COMPOSE-3288 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
86fb93d603
commit
088ea7fe37
4 changed files with 147 additions and 2 deletions
|
|
@ -7,6 +7,9 @@ compose_type = nightly
|
|||
target = ../_composes/
|
||||
extra_args = --quiet
|
||||
|
||||
post_compose_script =
|
||||
compose-latest-symlink $COMPOSE_PATH
|
||||
|
||||
[server]
|
||||
config = server.conf
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue