Skip to content

Commit

Permalink
refactor: remove deployment configs, cleanup
Browse files Browse the repository at this point in the history
- Deployment related configs have been moved to CI repositories
- Removed deployment related content from this repository
- Removed submodules as they're not really needed here
  • Loading branch information
laurigates committed Jun 26, 2024
1 parent 224b365 commit d9b70b8
Show file tree
Hide file tree
Showing 70 changed files with 13 additions and 1,081 deletions.
60 changes: 0 additions & 60 deletions .github/workflows/build-deviceregistry.yml

This file was deleted.

62 changes: 0 additions & 62 deletions .github/workflows/build-endpoint.yml

This file was deleted.

62 changes: 0 additions & 62 deletions .github/workflows/build-parser.yml

This file was deleted.

62 changes: 0 additions & 62 deletions .github/workflows/build-persister.yml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/test-deviceregistry.yml

This file was deleted.

1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ curl http://127.0.0.1:8000/api/v1/devices/70B3D57050011422/ -H "Authorization:To
```shell
python mittaridatapumppu-endpoint/tests/test_api2.py
```
docker run --rm -e API_BASE_URL -e API_TOKEN ghcr.io/city-of-helsinki/mittaridatapumppu-endpoint python tests/test_api2.py

Check docker logs what happens.

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ WORKDIR /home/app
COPY --chown=app:app requirements.txt .
RUN pip install --no-cache-dir --no-compile --upgrade -r requirements.txt

COPY --chown=app:app mittaridatapumppu-deviceregistry/ .
COPY --chown=app:app . .

# Support Arbitrary User IDs
RUN chgrp -R 0 /home/app && \
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ The following repositories contain the services for the data pipeline shown in d
Go To [test set up](tests/README.md)

```
pip install pre-commit
pre-commit install
pip-compile
pip-compile --extra dev --output-file requirements-dev.txt
pip-sync
pre-commit run --all-files
```
23 changes: 0 additions & 23 deletions deploy/.helmignore

This file was deleted.

6 changes: 0 additions & 6 deletions deploy/Chart.lock

This file was deleted.

Loading

0 comments on commit d9b70b8

Please sign in to comment.