suite: Test config queue release: name: gitea-unittests namespace: testing tests: - it: "Configure the queue for valkey" template: templates/secret_inlineConfig.yaml set: valkey: enabled: true asserts: - documentIndex: 0 equal: path: data.queue decodeBase64: true value: |- CONN_STR=redis://:changeme@gitea-unittests-valkey.testing.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s& TYPE=redis - it: "Configure the queue for 'levelDB' when valkey is disabled" template: templates/secret_inlineConfig.yaml set: valkey: enabled: false asserts: - documentIndex: 0 equal: path: data.queue decodeBase64: true value: |- CONN_STR= TYPE=level - it: "Customize the queue when valkey is disabled" template: templates/secret_inlineConfig.yaml set: valkey: enabled: false gitea.config.queue.TYPE: custom-type gitea.config.queue.CONN_STR: custom-connection-string asserts: - documentIndex: 0 equal: path: data.queue decodeBase64: true value: |- CONN_STR=custom-connection-string TYPE=custom-type