add env prefixes

This commit is contained in:
Andrew Dolgov 2023-12-02 11:38:25 +03:00
parent 7005d6d5f3
commit 93bd96e356
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A
1 changed files with 4 additions and 4 deletions

View File

@ -70,10 +70,10 @@ phpunit-integration:
script:
- export K8S_NAMESPACE=$(kubectl get pods -o=custom-columns=NS:.metadata.namespace | tail -1)
- export API_URL="http://tt-rss-${CI_COMMIT_SHORT_SHA}-app.$K8S_NAMESPACE.svc.cluster.local/tt-rss/api/"
- export DB_HOST=tt-rss-${CI_COMMIT_SHORT_SHA}-app.$K8S_NAMESPACE.svc.cluster.local
- export DB_USER=postgres
- export DB_NAME=postgres
- export DB_PASS=password
- export TTRSS_DB_HOST=tt-rss-${CI_COMMIT_SHORT_SHA}-app.$K8S_NAMESPACE.svc.cluster.local
- export TTRSS_DB_USER=postgres
- export TTRSS_DB_NAME=postgres
- export TTRSS_DB_PASS=password
- php82 vendor/bin/phpunit --group integration --do-not-cache-result --log-junit phpunit-report.xml --coverage-cobertura phpunit-coverage.xml --coverage-text --colors=never
selenium: