Skip to content

Commit

Permalink
Update release for OCP application to 4.9 from 4.7 (#1181)
Browse files Browse the repository at this point in the history
* Update release for OCP application to 4.9 from 4.7

* Re-trigger CI

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
viveksinghggits and mergify[bot] committed Jan 11, 2022
1 parent f49ecf0 commit f889396
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions pkg/app/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

const (
dbTemplateURI = "https://raw.githubusercontent.com/openshift/origin/%s/examples/db-templates/%s-%s-template.json"
// PersistentStorage can be used if we want to deploy database with Persistent
// PersistentStorage can be used if we want to deploy database with Persistent Volumes
PersistentStorage storage = "persistent" // nolint:varcheck

// EphemeralStorage can be used if we don't want to deploy database with Persistent
Expand All @@ -31,10 +31,10 @@ const (
TemplateVersionOCP3_11 DBTemplate = "release-3.11"
// TemplateVersionOCP4_4 stores version of db template 4.4
TemplateVersionOCP4_4 DBTemplate = "release-4.4"
// TemplateVersionOCP4_5 stored version of db template 4.5
// TemplateVersionOCP4_5 stores version of db template 4.5
TemplateVersionOCP4_5 DBTemplate = "release-4.5"
// TemplateVersionOCP4_7 stoted version of db template 4.7
TemplateVersionOCP4_7 DBTemplate = "release-4.7"
// TemplateVersionOCP4_9 stores version of db template 4.9
TemplateVersionOCP4_9 DBTemplate = "release-4.9"
)

type storage string
Expand Down
6 changes: 3 additions & 3 deletions pkg/testing/integration_register.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ var _ = Suite(&MysqlDBDepConfig4_7{
IntegrationSuite{
name: "mysqldc",
namespace: "mysqldc4-7-test",
app: app.NewMysqlDepConfig("mysqldeploymentconfig", app.TemplateVersionOCP4_7, app.EphemeralStorage, "8.0"),
app: app.NewMysqlDepConfig("mysqldeploymentconfig", app.TemplateVersionOCP4_9, app.EphemeralStorage, "8.0"),
bp: app.NewBlueprint("mysql-dep-config", "", true),
profile: newSecretProfile(),
},
Expand All @@ -395,7 +395,7 @@ var _ = Suite(&MongoDBDepConfig4_7{
IntegrationSuite{
name: "mongodb",
namespace: "mongodb4-7-test",
app: app.NewMongoDBDepConfig("mongodeploymentconfig", app.TemplateVersionOCP4_7, app.EphemeralStorage),
app: app.NewMongoDBDepConfig("mongodeploymentconfig", app.TemplateVersionOCP4_9, app.EphemeralStorage),
bp: app.NewBlueprint("mongo-dep-config", "", true),
profile: newSecretProfile(),
},
Expand All @@ -410,7 +410,7 @@ var _ = Suite(&PostgreSQLDepConfig4_7{
IntegrationSuite{
name: "postgresdepconf",
namespace: "postgresdepconf4-5-test",
app: app.NewPostgreSQLDepConfig("postgresdepconf", app.TemplateVersionOCP4_7, app.EphemeralStorage),
app: app.NewPostgreSQLDepConfig("postgresdepconf", app.TemplateVersionOCP4_9, app.EphemeralStorage),
bp: app.NewBlueprint("postgres-dep-config", "", true),
profile: newSecretProfile(),
},
Expand Down

0 comments on commit f889396

Please sign in to comment.