mirror of
https://github.com/dbt-labs/dbt-core
synced 2025-12-17 19:31:34 +00:00
* initial hatch implmentation
* cleanup docs
* replacing makefile
* cleanup hatch commands to match adapters
reorganize more to match adapters setup
script comment
dont pip install
fix test commands
* changelog
improve changelog
* CI fix
* fix for env
* use a standard version file
* remove odd license logic
* fix bumpversion
* remove sha input
* more cleanup
* fix legacy build path
* define version for pyproject.toml
* use hatch hook for license
* remove tox
* ensure tests are split
* remove temp file for testing
* explicitly match old verion in pyproject.toml
* fix up testing
* get rid of bumpversion
* put dev_dependencies.txtin hatch
* setup.py is now dead
* set python version for local dev
* local dev fixes
* temp script to compare wheels
* parity with existing wheel builds
* Revert "temp script to compare wheels"
This reverts commit c31417a092.
* fix docker test file
34 lines
766 B
YAML
34 lines
766 B
YAML
##
|
|
# This compose file is used for local development and adapter testing only.
|
|
# See `/docker` for a generic and production-ready docker file
|
|
##
|
|
|
|
version: "3.5"
|
|
services:
|
|
database:
|
|
image: postgres
|
|
shm_size: 1gb
|
|
environment:
|
|
POSTGRES_USER: "root"
|
|
POSTGRES_PASSWORD: "password"
|
|
POSTGRES_DB: "dbt"
|
|
ports:
|
|
- "5432:5432"
|
|
|
|
test:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.test
|
|
args:
|
|
# Run `make .env` to set $USER_ID and $GROUP_ID
|
|
USER_ID: ${USER_ID:-}
|
|
GROUP_ID: ${GROUP_ID:-}
|
|
command: "bash -c 'cd core && hatch run ci:unit-tests'"
|
|
environment:
|
|
POSTGRES_TEST_HOST: "database"
|
|
volumes:
|
|
- .:/usr/app
|
|
working_dir: /usr/app
|
|
depends_on:
|
|
- database
|