Skip to content

Commit

Permalink
Merge pull request #5 from SuperDuperDB/remove/services
Browse files Browse the repository at this point in the history
Migrate services from superduperdb to private
  • Loading branch information
blythed authored Jul 9, 2024
2 parents f9581a0 + 3ff5635 commit b99856b
Show file tree
Hide file tree
Showing 88 changed files with 3 additions and 12,415 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ci_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ jobs:
run: |
make ext_testing
- name: Rest Testing
run: |
make rest_testing
# ---------------------------------
# Integration Testing
# ---------------------------------
Expand Down Expand Up @@ -113,12 +109,6 @@ jobs:
# Run the test-suite within the sandbox image from the test environment
docker exec testenv-sandbox-1 sh -c 'make databackend_testing'
- name: Smoke Testing
run: |
# This tests if the tests which run on
# Run the test-suite within the sandbox image from the test environment
docker exec testenv-sandbox-1 sh -c 'make smoke_testing'
- name: Shutdown Testing Environment
run: |
# Run the integrated testing environment
Expand Down
14 changes: 0 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ DIRECTORIES = superduperdb test
PYTEST_ARGUMENTS ?=
BACKENDS ?= mongodb_community sqlite duckdb pandas

# Default environment file for Pytest
export SUPERDUPERDB_PYTEST_ENV_FILE ?= './deploy/testenv/users.env'

# Export directories for data and artifacts
export SUPERDUPERDB_DATA_DIR ?= ~/.cache/superduperdb/test_data
export SUPERDUPERDB_ARTIFACTS_DIR ?= ~/.cache/superduperdb/artifacts
Expand Down Expand Up @@ -226,14 +223,3 @@ ext_testing: ## Execute integration testing
find ./test -type d -name __pycache__ -exec rm -r {} +
find ./test -type f -name "*.pyc" -delete
pytest $(PYTEST_ARGUMENTS) ./test/integration/ext

rest_testing: ## Execute smoke testing
echo "starting rest server"
SUPERDUPERDB_CONFIG=deploy/testenv/env/rest/rest_mock.yaml python -m superduperdb rest &
sleep 10
SUPERDUPERDB_CONFIG=deploy/testenv/env/rest/rest_mock.yaml pytest test/rest/test_rest.py
echo "stopping rest server"
lsof -ti:8002 | xargs kill -9

smoke_testing: ## Execute smoke testing
SUPERDUPERDB_CONFIG=deploy/testenv/env/smoke/config.yaml pytest $(PYTEST_ARGUMENTS) ./test/smoke
231 changes: 0 additions & 231 deletions deploy/rest/config.yaml

This file was deleted.

Loading

0 comments on commit b99856b

Please sign in to comment.