# dev build
./hack/make.py
# Install/Update dependency (needs glide)
glide slow
# Build Docker image
./hack/docker/setup.sh
# Push Docker image (https://hub.docker.com/r/appscode/tillerc/)
./hack/docker/setup.sh push
# Create 3rd party objects Release & ReleaseVersion (one time setup operation)
kubectl create -f ./api/extensions/helm.yaml
# Deploy to Kubernetes (one time setup operation)
kubectl run tc --image=appscode/tillerc:<tag> --replicas=1
# Deploy new image
kubectl set image deployment/tc tc=appscode/tillerc:<tag>
What's done:
This implements install and delete release.
For api object we used the proto generated go structs. In a proper implementation, we will use just strings as ENUMs instead of protoc generated ints, etc.
We have taken code from Helm repo and adapted them to make sure everything compiles.