Adds mysql to e2e test app.

This commit is contained in:
2026-06-20 06:39:26 +00:00
parent c223e2b5e0
commit dc54a10b51
3 changed files with 74 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
version: 2.0.0
version: 2.0.0-1
requires:
- name: postgres
- name: mysql
defaultConfig:
namespace: e2e-test-app
domain: e2e-test-app.{{ .cloud.domain }}
@@ -12,9 +13,16 @@ defaultConfig:
port: '{{ .apps.postgres.port }}'
name: e2e_test_app
user: e2e_test_app
mysql:
host: '{{ .apps.mysql.host }}'
port: '{{ .apps.mysql.port }}'
name: e2e_test_app
user: e2e_test_app
defaultSecrets:
- key: dbPassword
- key: dbUrl
default: "postgres://{{ .app.db.user }}:{{ .secrets.dbPassword }}@{{ .app.db.host }}:{{ .app.db.port }}/{{ .app.db.name }}?sslmode=disable"
- key: mysqlPassword
requiredSecrets:
- postgres.password
- mysql.rootPassword