You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cartodb/config/database.yml.sample

55 lines
1.0 KiB

production:
adapter: postgresql
encoding: unicode
host: localhost
port: 5432
direct_port: 5432
database: carto_db_production
username: postgres
password:
conn_validator_timeout: 900
connect_timeout: 3
prepared_statements: false
staging:
adapter: postgresql
encoding: unicode
host: localhost
port: 5432
direct_port: 5432
database: carto_db_staging
username: postgres
password:
conn_validator_timeout: 900
connect_timeout: 3
prepared_statements: false
development:
adapter: postgresql
encoding: unicode
host: localhost
port: 5432
direct_port: 5432
database: carto_db_development
username: postgres
password:
conn_validator_timeout: 900
connect_timeout: 3
pool: 50
prepared_statements: false
test:
adapter: postgresql
encoding: unicode
database: carto_db_test
host: localhost
port: 5432
direct_port: 5432
username: postgres
password:
conn_validator_timeout: -1
connect_timeout: -1
prepared_statements: false
ci tests (#15378) * add google cloud build files for ci * add github workflow for NEWS.md check * update gitignore to ignore docker files and related files * adapt tests for the new ci environment on GCB * update config and ci script to run on the new ci environment * changing python requirements to work with pg11 * Commenting federated tables local commands * split big tests into smaller parts * remove disabled tests * adjust cloud build timeouts * Divide user tests by common concept(ish) * remove useless redis test code * add slack notification on master build failure * add cloudbuild file for postgres 12 tests * add new tests to makefile * split user migration tests * extract common logic to a module * refactor user specs * fix user migration tests * remove some silent errors and warnings in specs * update invalidation parameters for tests and development * reduce noise in logs * deleted spec that has been pending for ages * moar trash messages * avoid some race conditions * reorder tests * extract refactored behavior to a different spec file * remove likes specs * regroup tests * reorder tests * reset order from last run in CI * avoid repeat ports for file server * avoid race condition * avoid tests to fail due to dependent users * Remove .git from cartodb before starting compose * we don't need to start builder for the tests * reorganize test * no need to destroy account types * increase statement timeout for carto_db_test * Fix redirection and define TRASH_MESSAGES once * improve test tear down * avoid global tear down in CI * update cloudbuild for pg12 Co-authored-by: Alberto Hernández <albertoh@cartodb.com> Co-authored-by: Esther Lozano <esloho@gmail.com> Co-authored-by: Alberto Romeu <alrocar@users.noreply.github.com>
5 years ago
variables:
statement_timeout: 10000