Grading Service for Instructors using Otter Grader
Project description
otter-service-standalone
Use: Instructions
Deployment
The cloud deployment is configured using a helm chart. The branch you are on(e.g. dev, staging, prod) determines what environment/k8 namespace you deploy into.
See the ./deploy.sh for details. The script will determine the branch and
deploy properly. If you are on the dev branch and pass "build" as an argument,
(e.g. ./deploy.sh build) then the docker image used on the container is built and pushed to the gcloud image repository (gcr.io). You need to be sure to bump
the version number in src/otter_service_stdalone/init.py before a new build.
To deploy to a different Kubernetes cluster, pass an explicit kube context instead of relying on your current default context. The script will first run kubectl config use-context and then use that same context for kubectl and helm:
./deploy.sh --context my-other-cluster-context
You can also override the namespace or Helm release name when needed:
./deploy.sh --context my-other-cluster-context --namespace otter-stdalone-prod --release otter-srv
You can layer a Helm override file on top of the normal branch values:
./deploy.sh --context my-other-cluster-context --values-file my-values-override.yaml
The same values can be provided via environment variables:
KUBE_CONTEXT=my-other-cluster-context KUBE_NAMESPACE=otter-stdalone-prod HELM_EXTRA_VALUES_FILE=my-values-override.yaml ./deploy.sh
Cluster Migration
Internal migration runbook content has moved to migration.md at the repository root.
Version
A git tag with the version is pushed to git whenever the version is bumped and
deployed in production. git tag will show you the format of the tag(e.g. 0.0.30)
Local Dev:
Execute: sh deployment/local/build.sh
- FireStore: http://127.0.0.1:4007/firestore/
- App: http://127.0.0.1/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file otter_service_stdalone-1.1.38.tar.gz.
File metadata
- Download URL: otter_service_stdalone-1.1.38.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13e7dcbac3be2487b1cd1455c58d3b980285b85dd0c5ccdd18abd1930a6d801f
|
|
| MD5 |
f577300ad6345ee45b7c2928d1331a0c
|
|
| BLAKE2b-256 |
850ae7e9d79519e220d1830c9419b6c17248ec51d7dbb85bdd787ae8f925b336
|
File details
Details for the file otter_service_stdalone-1.1.38-py3-none-any.whl.
File metadata
- Download URL: otter_service_stdalone-1.1.38-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b92ce9ee1fa176ca2563a3de88a78af991df70437f4b83f004ef42b72ea5011
|
|
| MD5 |
65123e3630990d88c927ec34ca944f86
|
|
| BLAKE2b-256 |
6c1b476c21073593d4acbbf615ea7689013668a171720167f467fef587a674f0
|