mirror of https://github.com/dapr/cli.git
Upgrade test for 1.4.4 and 1.5.1 releases (#846)
* Run tests against new hotfix releases * Update e2e test for latest runtime releases
This commit is contained in:
parent
6b134570ed
commit
785bc51080
|
@ -15,7 +15,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
currentRuntimeVersion = "1.5.0"
|
||||
currentRuntimeVersion = "1.5.1"
|
||||
currentDashboardVersion = "0.9.0"
|
||||
)
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
daprRuntimeVersion = "1.5.0"
|
||||
daprRuntimeVersion = "1.5.1"
|
||||
daprDashboardVersion = "0.9.0"
|
||||
)
|
||||
|
||||
|
|
|
@ -39,14 +39,14 @@ var supportedUpgradePaths = []upgradePath{
|
|||
},
|
||||
{
|
||||
previous: common.VersionDetails{
|
||||
RuntimeVersion: "1.4.3",
|
||||
RuntimeVersion: "1.4.4",
|
||||
DashboardVersion: "0.8.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.5.0",
|
||||
RuntimeVersion: "1.5.1",
|
||||
DashboardVersion: "0.9.0",
|
||||
ClusterRoles: []string{"dapr-operator-admin", "dashboard-reader"},
|
||||
ClusterRoleBindings: []string{"dapr-operator", "dapr-role-tokenreview-binding", "dashboard-reader-global"},
|
||||
|
@ -56,14 +56,14 @@ var supportedUpgradePaths = []upgradePath{
|
|||
// test downgrade
|
||||
{
|
||||
previous: common.VersionDetails{
|
||||
RuntimeVersion: "1.5.0",
|
||||
RuntimeVersion: "1.5.1",
|
||||
DashboardVersion: "0.9.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.4.3",
|
||||
RuntimeVersion: "1.4.4",
|
||||
DashboardVersion: "0.8.0",
|
||||
ClusterRoles: []string{"dapr-operator-admin", "dashboard-reader"},
|
||||
ClusterRoleBindings: []string{"dapr-operator", "dapr-role-tokenreview-binding", "dashboard-reader-global"},
|
||||
|
|
Loading…
Reference in New Issue