more schedule fixes

This commit is contained in:
Kjeld Schouten
2024-04-29 10:34:18 +02:00
parent 01123cbade
commit 2dbc04c7b6
3 changed files with 31 additions and 19 deletions

View File

@@ -7,6 +7,10 @@ release:
tests:
- it: should generate correct name
set:
credentials:
test:
type: azure
connectionString: some-connection-string
cnpg:
my-pg:
enabled: true
@@ -17,10 +21,8 @@ tests:
enabled: true
target: primary
retentionPolicy: 10d
provider: azure
credentials: test
destinationPath: some-path
azure:
connectionString: some-connection-string
scheduledBackups:
- name: daily
schedule: "0 0 * * *"
@@ -34,7 +36,7 @@ tests:
enabled: true
target: primary
retentionPolicy: 10d
provider: azure
credentials: test
destinationPath: some-path
azure:
connectionString: some-connection-string

View File

@@ -7,6 +7,10 @@ release:
tests:
- it: should generate correct spec
set:
credentials:
test:
type: azure
connectionString: some-connection-string
cnpg:
my-pg:
enabled: true
@@ -17,10 +21,8 @@ tests:
enabled: true
target: primary
retentionPolicy: 10d
provider: azure
credentials: test
destinationPath: some-path
azure:
connectionString: some-connection-string
scheduledBackups:
- name: daily
schedule: "0 0 * * *"

View File

@@ -7,6 +7,10 @@ release:
tests:
- it: should pass with hibernate
set:
credentials:
test:
type: azure
connectionString: some-connection-string
cnpg:
my-pg:
enabled: true
@@ -18,10 +22,8 @@ tests:
enabled: true
target: primary
retentionPolicy: 10d
provider: azure
credentials: test
destinationPath: some-path
azure:
connectionString: some-connection-string
scheduledBackups:
- name: daily
schedule: "0 0 * * *"
@@ -41,6 +43,10 @@ tests:
- it: should set suspend on stopAll
set:
credentials:
test:
type: azure
connectionString: some-connection-string
global:
stopAll: true
cnpg:
@@ -54,10 +60,8 @@ tests:
enabled: true
target: primary
retentionPolicy: 10d
provider: azure
credentials: test
destinationPath: some-path
azure:
connectionString: some-connection-string
scheduledBackups:
- name: daily
schedule: "0 0 * * *"
@@ -77,6 +81,10 @@ tests:
- it: should set suspend on ixChartContext - isStopped (true)
set:
credentials:
test:
type: azure
connectionString: some-connection-string
global:
namespace: ix-something
ixChartContext:
@@ -93,10 +101,8 @@ tests:
enabled: true
target: primary
retentionPolicy: 10d
provider: azure
credentials: test
destinationPath: some-path
azure:
connectionString: some-connection-string
scheduledBackups:
- name: daily
schedule: "0 0 * * *"
@@ -116,6 +122,10 @@ tests:
- it: should not suspend on ixChartContext - isStopped (false)
set:
credentials:
test:
type: azure
connectionString: some-connection-string
global:
namespace: ix-something
ixChartContext:
@@ -132,10 +142,8 @@ tests:
enabled: true
target: primary
retentionPolicy: 10d
provider: azure
credentials: test
destinationPath: some-path
azure:
connectionString: some-connection-string
scheduledBackups:
- name: daily
schedule: "0 0 * * *"