Skip to content

Commit

Permalink
exitCodeFromService settings removed - it cannot be applied Fixes #135
Browse files Browse the repository at this point in the history
  • Loading branch information
augi committed Jan 9, 2018
1 parent 686deee commit 4578a28
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ dockerCompose.isRequiredBy(test) // hooks 'dependsOn composeUp' and 'finalizedBy
dockerCompose {
// useComposeFiles = ['docker-compose.yml', 'docker-compose.prod.yml'] // like 'docker-compose -f <file>'; default is empty
// startedServices = ['web'] // list of services to execute when calling 'docker-compose up' or 'docker-compose pull' (when not specified, all services are executed)
// exitCodeFromService = 'web'
// scale = [${serviceName1}: 5, ${serviceName2}: 2] // Pass docker compose --scale option like 'docker-compose up --scale serviceName1=5 --scale serviceName2=2'
// forceRecreate = false // pass '--force-recreate' when calling 'docker-compose up' when set to 'true`
// ignorePullFailure = false // when set to true, pass '--ignore-pull-failure' to 'docker-compose pull'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class ComposeSettings {
List<String> useComposeFiles = []

List<String> startedServices = []
String exitCodeFromService = ''
Map<String, Integer> scale = [:]
boolean removeOrphans = false
boolean forceRecreate = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ class ComposeUp extends DefaultTask {
['--scale', "$service=$value"]
}.flatten()
}
if (settings.exitCodeFromService) {
args += ['--exit-code-from', settings.exitCodeFromService]
}
if (settings.upAdditionalArgs) {
args += settings.upAdditionalArgs
}
Expand Down

0 comments on commit 4578a28

Please sign in to comment.