Skip to content

Commit

Permalink
Bump operator to v1.2.0-rc.1 and DM to v2.0.3 (#3999)
Browse files Browse the repository at this point in the history
  • Loading branch information
csuzhangxc committed May 28, 2021
1 parent fa7985a commit 59bb931
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/tidb-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
type: ClusterIP

discovery:
image: pingcap/tidb-operator:v1.2.0-beta.2
image: pingcap/tidb-operator:v1.2.0-rc.1
imagePullPolicy: IfNotPresent
resources:
limits:
Expand Down
4 changes: 2 additions & 2 deletions charts/tidb-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ rbac:
timezone: UTC

# operatorImage is TiDB Operator image
operatorImage: pingcap/tidb-operator:v1.2.0-beta.2
operatorImage: pingcap/tidb-operator:v1.2.0-rc.1
imagePullPolicy: IfNotPresent
# imagePullSecrets: []

# tidbBackupManagerImage is tidb backup manager image
tidbBackupManagerImage: pingcap/tidb-backup-manager:v1.2.0-beta.2
tidbBackupManagerImage: pingcap/tidb-backup-manager:v1.2.0-rc.1

#
# Enable or disable tidb-operator features:
Expand Down
2 changes: 1 addition & 1 deletion deploy/aliyun/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ variable "bastion_cpu_core_count" {

variable "operator_version" {
type = string
default = "v1.2.0-beta.2"
default = "v1.2.0-rc.1"
}

variable "operator_helm_values" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/aws/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ variable "eks_version" {

variable "operator_version" {
description = "TiDB operator version"
default = "v1.2.0-beta.2"
default = "v1.2.0-rc.1"
}

variable "operator_values" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/gcp/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ variable "tidb_version" {
}

variable "tidb_operator_version" {
default = "v1.2.0-beta.2"
default = "v1.2.0-rc.1"
}

variable "tidb_operator_chart_version" {
Expand Down
2 changes: 1 addition & 1 deletion examples/dm/dm-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: DMCluster
metadata:
name: basic
spec:
version: v2.0.2
version: v2.0.3
pvReclaimPolicy: Retain
discovery: {}
master:
Expand Down
8 changes: 6 additions & 2 deletions hack/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
fi

# parameters
OPERATOR_OLD="v1\.2\.0-beta\.1"
OPERATOR_NEW="v1\.2\.0-beta\.2"
OPERATOR_OLD="v1\.2\.0-beta\.2"
OPERATOR_NEW="v1\.2\.0-rc\.1"
TIDB_OLD="v5\.0\.0"
TIDB_NEW="v5\.0\.1"
DM_OLD="v2.0.2"
DM_NEW="v2.0.3"

find ./deploy -name "*\.tf"| xargs $SED_BIN -i "s/$OPERATOR_OLD/$OPERATOR_NEW/g"
find ./charts -name "*\.yaml"| xargs $SED_BIN -i "s/$OPERATOR_OLD/$OPERATOR_NEW/g"
Expand All @@ -35,3 +37,5 @@ find ./examples -name "*\.yaml"| xargs $SED_BIN -i "s/$TIDB_OLD/$TIDB_NEW/g"
find ./deploy -name "*\.tf"| xargs $SED_BIN -i "s/$TIDB_OLD/$TIDB_NEW/g"
find ./charts -name "*\.yaml"| xargs $SED_BIN -i "s/$TIDB_OLD/$TIDB_NEW/g"
$SED_BIN -i "s/$TIDB_OLD/$TIDB_NEW/g" images/tidb-backup-manager/Dockerfile

find ./examples -name "*\.yaml"| xargs $SED_BIN -i "s/$DM_OLD/$DM_NEW/g"

0 comments on commit 59bb931

Please sign in to comment.