2023-11-27 19:36:47 +01:00
|
|
|
suite: Dependency update consistency
|
|
|
|
release:
|
|
|
|
name: gitea-unittests
|
|
|
|
namespace: testing
|
|
|
|
tests:
|
|
|
|
- it: "[postgresql-ha] ensures we detect major image version upgrades"
|
|
|
|
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
|
2023-12-04 20:49:43 +01:00
|
|
|
pattern: ^docker.io/bitnami/postgresql-repmgr:16.+$
|
2023-11-27 19:36:47 +01:00
|
|
|
- it: "[postgresql] ensures we detect major image version upgrades"
|
|
|
|
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
|
2024-02-17 22:30:54 +01:00
|
|
|
pattern: ^registry-1.docker.io/bitnami/postgresql:16.+$
|
2023-11-27 19:36:47 +01:00
|
|
|
- it: "[redis-cluster] ensures we detect major image version upgrades"
|
|
|
|
template: charts/redis-cluster/templates/redis-statefulset.yaml
|
|
|
|
set:
|
|
|
|
redis-cluster:
|
|
|
|
enabled: true
|
|
|
|
asserts:
|
|
|
|
- documentIndex: 0
|
|
|
|
matchRegex:
|
|
|
|
path: spec.template.spec.containers[0].image
|
|
|
|
# IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST
|
2024-02-26 10:50:40 +01:00
|
|
|
pattern: ^docker.io/bitnami/redis-cluster:7.+$
|