Skip to content

Commit

Permalink
Merge branch 'main' into feature/snapshot-failover
Browse files Browse the repository at this point in the history
  • Loading branch information
donatwork authored Oct 7, 2024
2 parents a724cd6 + 64be612 commit e310fb5
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/go-version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0

# Reusable workflow to perform go version update on Golang based projects
name: Go Version Update

on:
workflow_dispatch:
repository_dispatch:
types: [go-update-workflow]

jobs:
# go version update
go-version-update:
uses: dell/common-github-actions/.github/workflows/go-version-workflow.yaml@main
name: Go Version Update
secrets: inherit
1 change: 1 addition & 0 deletions repctl/examples/powerstore_example_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ parameters:
source: "RT-A0001"
target: "RT-A0002"
rpo: "Five_Minutes"
mode : "ASYNC" # For SYNC, rpo will be set to zero by default and not required to specify.
ignoreNamespaces: "false"
volumeGroupPrefix: "csi"
1 change: 1 addition & 0 deletions repctl/pkg/cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ type GlobalParameters struct {
Rpo string
IgnoreNamespaces bool
VolumeGroupPrefix string
Mode string

// PowerMax
Srp Mirrored
Expand Down
3 changes: 2 additions & 1 deletion repctl/pkg/cmd/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ func (suite *CreateTestSuite) TestCreateSCs() {
Source: "WX-0001",
Target: "WX-0002",
},
Rpo: "Five_Minutes",
Rpo: "Five_Minutes",
Mode: "ASYNC",
},
}

Expand Down
1 change: 1 addition & 0 deletions repctl/pkg/cmd/templates/powerstore_source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ parameters:
{{- end }}
{{ .ReplicationPrefix }}/remoteSystem: {{ .Parameters.RemoteSystem.Source }}
{{ .ReplicationPrefix }}/rpo: {{ .Parameters.Rpo }}
{{ .ReplicationPrefix }}/mode: {{ .Parameters.Mode }}
{{ .ReplicationPrefix }}/ignoreNamespaces: "{{ .Parameters.IgnoreNamespaces }}"
{{ .ReplicationPrefix }}/volumeGroupPrefix: {{ .Parameters.VolumeGroupPrefix }}
{{ .ReplicationPrefix }}/remoteRGRetentionPolicy: {{ .RemoteRetentionPolicy.RG }}
Expand Down
1 change: 1 addition & 0 deletions repctl/pkg/cmd/templates/powerstore_target.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ parameters:
{{- end }}
{{ .ReplicationPrefix }}/remoteSystem: {{ .Parameters.RemoteSystem.Target }}
{{ .ReplicationPrefix }}/rpo: {{ .Parameters.Rpo }}
{{ .ReplicationPrefix }}/mode: {{ .Parameters.Mode }}
{{ .ReplicationPrefix }}/ignoreNamespaces: "{{ .Parameters.IgnoreNamespaces }}"
{{ .ReplicationPrefix }}/volumeGroupPrefix: {{ .Parameters.VolumeGroupPrefix }}
{{ .ReplicationPrefix }}/remoteRGRetentionPolicy: {{ .RemoteRetentionPolicy.RG }}
Expand Down

0 comments on commit e310fb5

Please sign in to comment.