Skip to content

Commit

Permalink
Merge pull request #1709 from rancher/update-rc
Browse files Browse the repository at this point in the history
Update versions for RC
  • Loading branch information
dbason authored Sep 13, 2023
2 parents 5fdd711 + 602fb5e commit 1471032
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ load('ext://namespace', 'namespace_create')

set_team('52cc75cc-c4ed-462f-8ea7-a543d398a381')

version = '0.11.2-rc1'
version = '0.11.2-rc2'
config.define_string_list('allowedContexts')
config.define_string_list('opniChartValues')
config.define_string('defaultRegistry')
Expand Down
2 changes: 1 addition & 1 deletion dagger/ci/defaults.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test = true
[images.opensearch.build]
dashboards-version = "2.8.0"
opensearch-version = "2.8.0"
plugin-version = "0.11.2-rc1"
plugin-version = "0.11.2-rc2"

[images.opensearch.dashboards]
repo = "docker.io/rancher/opensearch-dashboards"
Expand Down
2 changes: 1 addition & 1 deletion dagger/config/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func RunSetup() {
Build: OpensearchBuildConfig{
DashboardsVersion: "2.8.0",
OpensearchVersion: "2.8.0",
PluginVersion: "0.11.2-rc1",
PluginVersion: "0.11.2-rc2",
},
},
},
Expand Down
4 changes: 2 additions & 2 deletions packages/opni-agent/opni-agent/charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ annotations:
catalog.rancher.io/namespace: opni-system
catalog.rancher.io/release-name: opni-agent
apiVersion: v2
appVersion: 0.11.2-rc1
appVersion: 0.11.2-rc2
dependencies:
- condition: kube-prometheus-stack.enabled
name: kube-prometheus-stack
repository: file://./charts/kube-prometheus-stack
description: Opni Agent
name: opni-agent
type: application
version: 0.11.2-rc1
version: 0.11.2-rc2
2 changes: 1 addition & 1 deletion packages/opni-agent/opni-agent/package.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
url: local
version: 0.11.2-rc1
version: 0.11.2-rc2
workingDir: charts
4 changes: 2 additions & 2 deletions packages/opni/opni/charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ annotations:
catalog.rancher.io/namespace: opni-cluster-system
catalog.rancher.io/release-name: opni
apiVersion: v2
appVersion: 0.11.2-rc1
appVersion: 0.11.2-rc2
dependencies:
- condition: opni-agent.kube-prometheus-stack.enabled
name: kube-prometheus-stack
Expand All @@ -31,4 +31,4 @@ maintainers:
name: Dan Bason
name: opni
type: application
version: 0.11.2-rc1
version: 0.11.2-rc2
2 changes: 1 addition & 1 deletion packages/opni/opni/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
url: local
version: 0.11.2-rc1
version: 0.11.2-rc2
workingDir: charts
additionalCharts:
- workingDir: charts-crd
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/opniopensearch/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (r *Reconciler) buildOpensearchCluster(
// Set default image version
version := r.instance.Spec.Version
if version == "unversioned" {
version = "0.11.2-rc1"
version = "0.11.2-rc2"
}

image := calculateImage(r.instance.Spec.ImageRepo, version, r.instance.Spec.OpensearchVersion)
Expand Down
2 changes: 1 addition & 1 deletion plugins/aiops/pkg/gateway/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func NewPlugin(ctx context.Context, opts ...PluginOption) *AIOpsPlugin {
Name: "opni",
Namespace: os.Getenv("POD_NAMESPACE"),
},
version: "v0.11.2-rc1",
version: "v0.11.2-rc2",
}
options.apply(opts...)

Expand Down
2 changes: 1 addition & 1 deletion plugins/logging/pkg/gateway/admin_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
corev1 "k8s.io/api/core/v1"
)

const defaultOpniVersion = "0.11.2-rc1"
const defaultOpniVersion = "0.11.2-rc2"

type ClusterStatus int

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ var _ = Describe("Opensearch Admin V2", Ordered, Label("integration"), func() {

BeforeEach(func() {
namespace = "test-logging-v2"
version = "0.11.2-rc1"
version = "0.11.2-rc2"
opensearchVersion = "2.8.0"

security = &opsterv1.Security{
Expand All @@ -78,7 +78,7 @@ var _ = Describe("Opensearch Admin V2", Ordered, Label("integration"), func() {
}
dashboards = opsterv1.DashboardsConfig{
ImageSpec: &opsterv1.ImageSpec{
Image: lo.ToPtr("docker.io/rancher/opensearch-dashboards:v0.11.2-rc1-2.8.0"),
Image: lo.ToPtr("docker.io/rancher/opensearch-dashboards:v0.11.2-rc2-2.8.0"),
},
Replicas: 1,
Enable: true,
Expand Down Expand Up @@ -1150,7 +1150,7 @@ var _ = Describe("Opensearch Admin V2", Ordered, Label("integration"), func() {
})
}, timeout, interval).Should(BeTrue())
Expect(object.Spec.Security).To(Equal(security))
Expect(object.Spec.Version).To(Equal("0.11.2-rc1"))
Expect(object.Spec.Version).To(Equal("0.11.2-rc2"))
Expect(len(object.Spec.NodePools)).To(Equal(2))
})
When("upgrade is available", func() {
Expand All @@ -1161,7 +1161,7 @@ var _ = Describe("Opensearch Admin V2", Ordered, Label("integration"), func() {
}, object)
Expect(err).NotTo(HaveOccurred())
object.Status.OpensearchVersion = lo.ToPtr("2.8.0")
object.Status.Version = lo.ToPtr("0.11.2-rc1")
object.Status.Version = lo.ToPtr("0.11.2-rc2")
Expect(k8sClient.Status().Update(context.Background(), object)).To(Succeed())
})
Specify("check upgrade available should return true", func() {
Expand Down
4 changes: 2 additions & 2 deletions test/plugins/aiops/admin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ var _ = Describe("AI Admin", Ordered, Label("integration"), func() {
})
When("new version is available", func() {
BeforeEach(func() {
version = "v0.11.2-rc1"
version = "v0.11.2-rc2"
})
When("updating the opni cluster", func() {
BeforeEach(func() {
Expand Down Expand Up @@ -569,7 +569,7 @@ var _ = Describe("AI Admin", Ordered, Label("integration"), func() {
Name: OpniServicesName,
Namespace: namespace,
}, cluster)).Should(Succeed())
Expect(cluster.Spec.Version).To(Equal("v0.11.2-rc1"))
Expect(cluster.Spec.Version).To(Equal("v0.11.2-rc2"))
})
})
When("new version is older", func() {
Expand Down

0 comments on commit 1471032

Please sign in to comment.