This is an example project for Keptn for Tempberry.
You need to have a Kubernetes cluster with a working Keptn 0.8.x installation (see https://keptn.sh/docs/quickstart/ steps 1 to 4)
- Create chart for postgres
- Create chart for tempberry backend
- Create chart for tempberry frontend
- Create superuser on installation
- Automatically run migrations (and roll them back if anything fails)
- Create JMeter tests for tempberry backend
- Run automated tests for installation in Keptn
- Specify for project name in a variable
PROJECT=tempberry
- Create the project using Keptn Cli
keptn create project $PROJECT --shipyard=./shipyard.yaml
- Onboard postgres and tempberry-backend
keptn onboard service postgres --project=$PROJECT --chart=./postgres
keptn onboard service tempberry-backend --project=$PROJECT --chart=./tempberry-backend
- Add SLO for hardening and tempberry-backend
keptn add-resource --project=$PROJECT --stage=hardening --service=tempberry-backend --resource=slo.yaml --resourceUri=slo.yaml
- And finally, send new artifacts for postgres and tempberry-backend
keptn trigger delivery --project=$PROJECT --service=postgres --image=postgres:10.4 --sequence=delivery-direct
keptn trigger delivery --project=$PROJECT --service=tempberry-backend --image=ckreuzberger/tempberry-backend:0.1
Make sure you have set the environment variable $PROJECT
as specified in the Setup instructions above.
keptn delete project $PROJECT
kubectl delete namespace $PROJECT-dev $PROJECT-hardening $PROJECT-production
See LICENSE.