Skip to content

Commit

Permalink
Merge pull request #1617 from DimuthuMadushan/docker
Browse files Browse the repository at this point in the history
Update Docker Command to Docker Compose v2
  • Loading branch information
TharmiganK committed Aug 2, 2024
2 parents 7bb3966 + ad5a135 commit e10302d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ballerina-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ task stopLdapServer() {
if (stdOut.toString().contains("openldap-server")) {
println "Stopping LDAP server."
exec {
commandLine 'sh', '-c', "docker-compose -f tests/resources/openldap/docker-compose.yml rm -svf"
commandLine 'sh', '-c', "docker compose -f tests/resources/openldap/compose.yml rm -svf"
standardOutput = stdOut
}
println stdOut.toString()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.7'
services:
ldap_server:
image: osixia/openldap:1.3.0
Expand Down
8 changes: 4 additions & 4 deletions ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
org = "ballerina"
name = "grpc"
version = "1.11.1"
version = "1.11.2"
distribution = "2201.9.0"
authors = ["Ballerina"]
keywords = ["network", "grpc", "protobuf", "server-streaming", "client-streaming", "bidirectional-streaming"]
Expand All @@ -16,11 +16,11 @@ graalvmCompatible = true
[[platform.java17.dependency]]
groupId = "io.ballerina.stdlib"
artifactId = "grpc-native"
version = "1.11.1"
path = "../native/build/libs/grpc-native-1.11.1.jar"
version = "1.11.2"
path = "../native/build/libs/grpc-native-1.11.2-SNAPSHOT.jar"

[[platform.java17.dependency]]
path = "../test-utils/build/libs/grpc-test-utils-1.11.1.jar"
path = "../test-utils/build/libs/grpc-test-utils-1.11.2-SNAPSHOT.jar"
scope = "testOnly"

[[platform.java17.dependency]]
Expand Down
2 changes: 1 addition & 1 deletion ballerina/CompilerPlugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ id = "grpc-compiler-plugin"
class = "io.ballerina.stdlib.grpc.plugin.GrpcCompilerPlugin"

[[dependency]]
path = "../compiler-plugin/build/libs/grpc-compiler-plugin-1.11.1.jar"
path = "../compiler-plugin/build/libs/grpc-compiler-plugin-1.11.2-SNAPSHOT.jar"
2 changes: 1 addition & 1 deletion ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "grpc"
version = "1.11.1"
version = "1.11.2"
dependencies = [
{org = "ballerina", name = "auth"},
{org = "ballerina", name = "crypto"},
Expand Down
2 changes: 1 addition & 1 deletion ballerina/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ task startLdapServer() {
if (!stdOut.toString().contains("openldap-server")) {
println "Starting LDAP server."
exec {
commandLine 'sh', '-c', "docker-compose -f tests/resources/openldap/docker-compose.yml up -d"
commandLine 'sh', '-c', "docker compose -f tests/resources/openldap/compose.yml up -d"
standardOutput = stdOut
}
println stdOut.toString()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.7'
services:
ldap_server:
image: osixia/openldap:1.3.0
Expand Down

0 comments on commit e10302d

Please sign in to comment.