Skip to content

Commit

Permalink
fix: remove decommissioned services (#833)
Browse files Browse the repository at this point in the history
  • Loading branch information
cakeinsauce authored May 1, 2024
1 parent b6790b5 commit 2d7b98b
Show file tree
Hide file tree
Showing 258 changed files with 6 additions and 25,531 deletions.
18 changes: 0 additions & 18 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,6 @@ KEYCLOAK_PASSWORD=admin
# Gottenberg dev configuration
GOTENBERG_HOST=gotenberg

# pipelines

HEARTBEAT_TIMEOUT=15
HEARTBEAT_THRESHOLD_MUL=10
RUNNER_TIMEOUT=5
MAX_WORKERS=20
DEBUG_MERGE=True

# Services

ASSETS_SERVICE_SCHEME=http
Expand All @@ -79,16 +71,6 @@ PROCESSING_SERVICE_SCHEME=http
PROCESSING_SERVICE_HOST=badgerdoc-processing
PROCESSING_SERVICE_PORT=8080

MODELS_SERVICE_SCHEME=http
MODELS_SERVICE_HOST=badgerdoc-models
MODELS_SERVICE_PORT=8080
MODELS_DEPLOYMENT_ENDPOINT=/deployed_models/search
MODELS_SEARCH_ENDPOINT=/models/search

PIPELINES_SERVICE_SCHEME=http
PIPELINES_SERVICE_HOST=badgerdoc-pipelines
PIPELINES_SERVICE_PORT=8080

CONVERT_SERVICE_SCHEME=http
CONVERT_SERVICE_HOST=badgerdoc-convert
CONVERT_SERVICE_PORT=8080
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: update docker-compose
run: pip install --upgrade docker-compose
- name: update docker compose
run: pip install --upgrade docker compose
- name: create base image
run: cd infra/docker/python_base && make build image_name=818863528939.dkr.ecr.eu-central-1.amazonaws.com/badgerdoc/python_base:0.1.7
- name: run docker-compose up
run: cd jobs && docker-compose up -d --build
- name: run docker compose up
run: cd jobs && docker compose up -d --build
- name: run tests
run: docker exec jobs_web_app bash -c "poetry run pytest"
- name: check with flake8
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/models.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/pipelines.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/scheduler.yml

This file was deleted.

8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_DOCKER_ ?= docker

build_all: build_base build_base_3.12 build_annotation build_users build_convert build_jobs build_keycloak build_assets build_web build_processing build_pipelines build_models build_taxonomy clean
build_all: build_base build_base_3.12 build_annotation build_users build_convert build_jobs build_keycloak build_assets build_web build_processing build_taxonomy clean

build_base:
mkdir -p build_dir
Expand Down Expand Up @@ -41,12 +41,6 @@ build_assets:
build_web:
${_DOCKER_} build --target build web/ -t badgerdoc_web

build_pipelines:
${_DOCKER_} build --target build pipelines/ -t badgerdoc_pipelines

build_models:
${_DOCKER_} build --target build models/ -t badgerdoc_models

build_taxonomy:
${_DOCKER_} build --target build taxonomy/ -t badgerdoc_taxonomy

Expand Down
41 changes: 0 additions & 41 deletions annotation/docker-compose.yml

This file was deleted.

14 changes: 0 additions & 14 deletions annotation/sonar-project.properties

This file was deleted.

14 changes: 0 additions & 14 deletions assets/sonar-project.properties

This file was deleted.

72 changes: 0 additions & 72 deletions common/Dockerfile

This file was deleted.

20 changes: 0 additions & 20 deletions common/Makefile

This file was deleted.

24 changes: 0 additions & 24 deletions common/docker-compose.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions common/minio_service/Readme.md

This file was deleted.

Empty file removed common/minio_service/__init__.py
Empty file.
Loading

0 comments on commit 2d7b98b

Please sign in to comment.