Skip to content

Commit

Permalink
Update docker command to docker compose v2
Browse files Browse the repository at this point in the history
  • Loading branch information
aashikam committed Aug 6, 2024
1 parent 1ea76ee commit 23cad9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ballerina/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ task startDatabaseServer() {
if (!stdOut.toString().contains("server-redshift-1")) {
println "Starting Redshift server."
exec {
commandLine 'sh', '-c', "docker-compose -f tests/server/docker-compose.yaml up -d"
commandLine 'sh', '-c', "docker compose -f tests/server/compose.yaml up -d"
standardOutput = stdOut
}
println stdOut.toString()
Expand All @@ -120,7 +120,7 @@ task stopDatabaseServer() {
if (stdOut.toString().contains("server-redshift-1")) {
println "Stopping RabbitMQ server."
exec {
commandLine 'sh', '-c', "docker-compose -f tests/server/docker-compose.yaml rm -svf"
commandLine 'sh', '-c', "docker compose -f tests/server/compose.yaml rm -svf"
standardOutput = stdOut
}
println stdOut.toString()
Expand Down
File renamed without changes.

0 comments on commit 23cad9e

Please sign in to comment.