Skip to content

Commit

Permalink
feat(cat-gateway): Removed unused event-db queries and integration …
Browse files Browse the repository at this point in the history
…tests run (#1475)

* remove unused event-db queries and not needed integration test

* cleanup blueprint.cue
  • Loading branch information
Mr-Leshiy authored Jan 8, 2025
1 parent b1e249d commit e275a81
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 580 deletions.
18 changes: 0 additions & 18 deletions catalyst-gateway/event-db/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
VERSION 0.8

IMPORT github.com/input-output-hk/catalyst-ci/earthly/postgresql:v3.2.27 AS postgresql-ci
IMPORT github.com/input-output-hk/catalyst-ci/earthly/python:v3.2.27 AS python-ci

# cspell: words

Expand Down Expand Up @@ -41,20 +40,3 @@ local:
IF [ "$local_registry" != "" ]
SAVE IMAGE --push --insecure $local_registry/event-db:latest
END

# Run the queries_tests.py
test:
FROM python-ci+python-base

DO python-ci+BUILDER
COPY --dir tests .
COPY --dir queries .

WITH DOCKER \
--compose "./tests/docker-compose.yml" \
--load event-db:latest=+build \
--pull alpine:3.20.3 \
--service event-db-is-running \
--allow-privileged
RUN poetry run pytest -s -m ci
END
5 changes: 0 additions & 5 deletions catalyst-gateway/event-db/blueprint.cue
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
version: "1.0.0"
project: {
name: "gateway-event-db"
ci: {
targets: {
test: privileged: true
}
}
}
311 changes: 0 additions & 311 deletions catalyst-gateway/event-db/poetry.lock

This file was deleted.

23 changes: 0 additions & 23 deletions catalyst-gateway/event-db/pyproject.toml

This file was deleted.

22 changes: 0 additions & 22 deletions catalyst-gateway/event-db/queries/insert_signed_documents.sql

This file was deleted.

This file was deleted.

This file was deleted.

30 changes: 0 additions & 30 deletions catalyst-gateway/event-db/tests/docker-compose.yml

This file was deleted.

147 changes: 0 additions & 147 deletions catalyst-gateway/event-db/tests/test_signed_docs_queries.py

This file was deleted.

0 comments on commit e275a81

Please sign in to comment.