mirror of https://github.com/dapr/cli.git
Merge branch 'master' into typo
This commit is contained in:
commit
d00e0fec0e
|
@ -1,2 +1,2 @@
|
|||
# These owners are the maintainers and approvers of this repo
|
||||
* @maintainers-cli @approvers-cli
|
||||
* @dapr/maintainers-cli @dapr/approvers-cli
|
||||
|
|
|
@ -136,12 +136,12 @@ func getDaprCommand(appID string, daprHTTPPort int, daprGRPCPort int, appPort in
|
|||
|
||||
args = append(
|
||||
args,
|
||||
"--enable-profiling", "true",
|
||||
"--enable-profiling",
|
||||
"--profile-port", strconv.Itoa(profilePort))
|
||||
}
|
||||
|
||||
if appSSL {
|
||||
args = append(args, "--app-ssl", "true")
|
||||
args = append(args, "--app-ssl")
|
||||
}
|
||||
|
||||
cmd := exec.Command(daprCMD, args...)
|
||||
|
|
|
@ -106,7 +106,7 @@ func TestRun(t *testing.T) {
|
|||
assertArgumentEqual(t, "app-protocol", "http", output.DaprCMD.Args)
|
||||
assertArgumentEqual(t, "app-port", "3000", output.DaprCMD.Args)
|
||||
assertArgumentEqual(t, "components-path", DefaultComponentsDirPath(), output.DaprCMD.Args)
|
||||
assertArgumentEqual(t, "app-ssl", "true", output.DaprCMD.Args)
|
||||
assertArgumentEqual(t, "app-ssl", "", output.DaprCMD.Args)
|
||||
assertArgumentEqual(t, "metrics-port", "9001", output.DaprCMD.Args)
|
||||
if runtime.GOOS == "windows" {
|
||||
assertArgumentEqual(t, "placement-host-address", "localhost:6050", output.DaprCMD.Args)
|
||||
|
|
|
@ -14,8 +14,8 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
currentRuntimeVersion = "1.2.0"
|
||||
currentDashboardVersion = "0.6.0"
|
||||
currentRuntimeVersion = "1.3.0"
|
||||
currentDashboardVersion = "0.7.0"
|
||||
)
|
||||
|
||||
var currentVersionDetails = common.VersionDetails{
|
||||
|
|
|
@ -32,8 +32,8 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
daprRuntimeVersion = "1.2.0"
|
||||
daprDashboardVersion = "0.6.0"
|
||||
daprRuntimeVersion = "1.3.0"
|
||||
daprDashboardVersion = "0.7.0"
|
||||
)
|
||||
|
||||
func TestStandaloneInstall(t *testing.T) {
|
||||
|
|
|
@ -71,15 +71,15 @@ var (
|
|||
},
|
||||
{
|
||||
previous: common.VersionDetails{
|
||||
RuntimeVersion: "1.1.0",
|
||||
RuntimeVersion: "1.2.0",
|
||||
DashboardVersion: "0.6.0",
|
||||
ClusterRoles: []string{"dapr-operator-admin", "dashboard-reader"},
|
||||
ClusterRoleBindings: []string{"dapr-operator", "dapr-role-tokenreview-binding", "dashboard-reader-global"},
|
||||
CustomResourceDefs: []string{"components.dapr.io", "configurations.dapr.io", "subscriptions.dapr.io"},
|
||||
},
|
||||
next: common.VersionDetails{
|
||||
RuntimeVersion: "1.2.0",
|
||||
DashboardVersion: "0.6.0",
|
||||
RuntimeVersion: "1.3.0",
|
||||
DashboardVersion: "0.7.0",
|
||||
ClusterRoles: []string{"dapr-operator-admin", "dashboard-reader"},
|
||||
ClusterRoleBindings: []string{"dapr-operator", "dapr-role-tokenreview-binding", "dashboard-reader-global"},
|
||||
CustomResourceDefs: []string{"components.dapr.io", "configurations.dapr.io", "subscriptions.dapr.io"},
|
||||
|
@ -87,15 +87,15 @@ var (
|
|||
},
|
||||
{
|
||||
previous: common.VersionDetails{
|
||||
RuntimeVersion: "1.1.1",
|
||||
RuntimeVersion: "1.2.2",
|
||||
DashboardVersion: "0.6.0",
|
||||
ClusterRoles: []string{"dapr-operator-admin", "dashboard-reader"},
|
||||
ClusterRoleBindings: []string{"dapr-operator", "dapr-role-tokenreview-binding", "dashboard-reader-global"},
|
||||
CustomResourceDefs: []string{"components.dapr.io", "configurations.dapr.io", "subscriptions.dapr.io"},
|
||||
},
|
||||
next: common.VersionDetails{
|
||||
RuntimeVersion: "1.2.0",
|
||||
DashboardVersion: "0.6.0",
|
||||
RuntimeVersion: "1.3.0",
|
||||
DashboardVersion: "0.7.0",
|
||||
ClusterRoles: []string{"dapr-operator-admin", "dashboard-reader"},
|
||||
ClusterRoleBindings: []string{"dapr-operator", "dapr-role-tokenreview-binding", "dashboard-reader-global"},
|
||||
CustomResourceDefs: []string{"components.dapr.io", "configurations.dapr.io", "subscriptions.dapr.io"},
|
||||
|
|
Loading…
Reference in New Issue