Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update sample config about 'service' and 'tag' filters
  • Loading branch information
key-amb committed Mar 19, 2016
1 parent ecf77e7 commit 125b8c2
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions config/sample.toml
Expand Up @@ -41,9 +41,15 @@ exec_commands = [
"scp -rp <%= @remote.address %>:<%= ENV['HOME'] %>/<%= @app %> <%= ENV['HOME'] %>/"
]

# Belows are not implemented yet:
# service = "foo"
# tag = "bar"
# You can specify Consul service and tag to filter the task propagation targets.
# It can be normal string or regexp; if you want to specify regexp, use the keys
# "service_regexp" or "tag_regexp".
# If you miss "service" or "service_regexp" filter, "tag" and "tag_regexp" won't
# be evaluated.
service = "foo"
tag = "v1"
# service_regexp = "^foo(:[a-z]+)?$"
# tag_regexp = "^v[0-9]$"

[task.apps.bar]
on_command_failure = "ignore"
Expand Down

0 comments on commit 125b8c2

Please sign in to comment.