2023-11-27 18:36:47 +00:00
|
|
|
suite: Dependency update consistency
|
|
|
|
release:
|
|
|
|
name: gitea-unittests
|
|
|
|
namespace: testing
|
|
|
|
tests:
|
2023-12-06 13:32:09 +00:00
|
|
|
- it: '[postgresql-ha] ensures we detect major image version upgrades'
|
2023-11-27 18:36:47 +00:00
|
|
|
template: charts/postgresql-ha/templates/postgresql/statefulset.yaml
|
|
|
|
set:
|
|
|
|
postgresql:
|
|
|
|
enabled: false
|
|
|
|
postgresql-ha:
|
|
|
|
enabled: true
|
|
|
|
asserts:
|
|
|
|
- documentIndex: 0
|
|
|
|
matchRegex:
|
|
|
|
path: spec.template.spec.containers[0].image
|
|
|
|
# IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST
|
2025-01-15 13:55:16 +00:00
|
|
|
pattern: ^docker.io/bitnami/postgresql-repmgr:17.+$
|
2023-12-06 13:32:09 +00:00
|
|
|
- it: '[postgresql] ensures we detect major image version upgrades'
|
2023-11-27 18:36:47 +00:00
|
|
|
template: charts/postgresql/templates/primary/statefulset.yaml
|
|
|
|
set:
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
postgresql-ha:
|
|
|
|
enabled: false
|
|
|
|
asserts:
|
|
|
|
- documentIndex: 0
|
|
|
|
matchRegex:
|
|
|
|
path: spec.template.spec.containers[0].image
|
|
|
|
# IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST
|
2025-01-15 13:40:09 +00:00
|
|
|
pattern: ^docker.io/bitnami/postgresql:17.+$
|
2023-12-06 13:32:09 +00:00
|
|
|
- it: '[redis-cluster] ensures we detect major image version upgrades'
|
2023-11-27 18:36:47 +00:00
|
|
|
template: charts/redis-cluster/templates/redis-statefulset.yaml
|
|
|
|
set:
|
|
|
|
redis-cluster:
|
|
|
|
enabled: true
|
2024-07-31 11:02:10 +00:00
|
|
|
redis:
|
|
|
|
enabled: false
|
|
|
|
asserts:
|
|
|
|
- documentIndex: 0
|
|
|
|
matchRegex:
|
|
|
|
path: spec.template.spec.containers[0].image
|
|
|
|
# IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST
|
|
|
|
pattern: bitnami/redis-cluster:7.+$
|
|
|
|
- it: '[redis] ensures we detect major image version upgrades'
|
|
|
|
template: charts/redis/templates/master/application.yaml
|
|
|
|
set:
|
|
|
|
redis-cluster:
|
|
|
|
enabled: false
|
|
|
|
redis:
|
|
|
|
enabled: true
|
2023-11-27 18:36:47 +00:00
|
|
|
asserts:
|
|
|
|
- documentIndex: 0
|
|
|
|
matchRegex:
|
|
|
|
path: spec.template.spec.containers[0].image
|
|
|
|
# IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST
|
2024-07-31 11:02:10 +00:00
|
|
|
pattern: bitnami/redis:7.+$
|