Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task/WG-161-Geoapi-Remove-Kube #183

Merged
merged 9 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,14 @@ APP_ENV=testing pytest
docker exec -it geoapiworkers bash
APP_ENV=testing pytest -m "worker"
```
Note that images need to be rebuilt before running tests if they have been updated (e.g. packages):
```
make build
```
## Production/Staging
sophia-massie marked this conversation as resolved.
Show resolved Hide resolved

## Kubernetes (Production/Staging)

Information on Kubernetes configuration for production and staging environments can be found in the [kube/README.md](kube/README.md) including information
on kube commands and Jenkins deployment workflows.
Information on configuration for production and staging environments can be found in the [devops/README.md](devops/README.md) including information
on Jenkins deployment workflows.


## Python client
Expand Down
29 changes: 29 additions & 0 deletions devops/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Deployment
sophia-massie marked this conversation as resolved.
Show resolved Hide resolved

## Images building + Jenkins

The deployment of images, updating of services and applications, and backup procedures are performed by multiple Jenkins
workflows found [here](https://jenkins01.tacc.utexas.edu/view/Hazmapper+Geoapi/.)

The images used in deployment are built automatically and
pushed to Docker Hub.

sophia-massie marked this conversation as resolved.
Show resolved Hide resolved
See:
* https://hub.docker.com/r/taccaci/hazmapper
* https://hub.docker.com/r/taccaci/geoapi
* https://hub.docker.com/r/taccaci/geoapi-workers)

Deployment configuration including the tag of which image is deployed is maintained at https://github.com/TACC-Cloud/wma-geospatial-deployments

## Configuration

The configurations for each of the following are in their associated directories:
* [geoapi-services](geoapi-services/) - Main backend services
* [geoapi-workers](geoapi-workers/) - Workers
* [database](database/) - geoapi-database
* [hazmapper](hazmapper/) - hazmapper.tacc.utexas.edu
* nfs-geoapi - TODO: See https://tacc-main.atlassian.net/browse/WG-226

Specific hosts for these services are listed at https://tacc-main.atlassian.net/wiki/spaces/UP/pages/6654513/WMA+Projects+and+Portals+Directory.


4 changes: 4 additions & 0 deletions geoapi/celerybeat-schedule.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
'entries', (2048, 520)
sophia-massie marked this conversation as resolved.
Show resolved Hide resolved
'__version__', (512, 15)
'tz', (1024, 4)
'utc_enabled', (1536, 4)
Binary file added geoapi/celerybeat-schedule.dat
Binary file not shown.
4 changes: 4 additions & 0 deletions geoapi/celerybeat-schedule.dir
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
'entries', (2048, 520)
'__version__', (512, 15)
'tz', (1024, 4)
'utc_enabled', (1536, 4)
59 changes: 0 additions & 59 deletions kube/Makefile

This file was deleted.

37 changes: 0 additions & 37 deletions kube/README.md

This file was deleted.

Loading
Loading