ttl.sh is an anonymous, expiring Docker container registry using the official Docker Registry image. This is a set of tools and configurations that can be used to deploy the registry without authentication, but with self-expiring images.
Development for the services in this project is done through Okteto.
- Install the Okteto CLI (
brew install okteto
) - Setup Okteto CLI (
okteto context use https://replicated.okteto.dev
) - Setup Okteto context in kubectl (
okteto context update-kubeconfig
) - Deploy your current branch. (from the ttl.sh root directory:
okteto pipeline deploy
)
Okteto is utilized for debugging. New build targets have been added to allow building and running each service in debug mode.
- Replace the default container in your Okteto environment with a development container.
- From the root directory:
okteto up
orokteto up <service name>
- From the root directory:
- Run the build targets for the desired service:
- ttl-hooks:
make deps build hooks
- ttl-reaper:
make deps build reap
- ttl-hooks:
- Stop development and go back to the default container.
- From the root directory:
okteto down
orokteto down <service name>
- From the root directory:
git checkout my-new-branch
okteto pipeline deploy
- (make code changes)
okteto up
- (test changes, find they don't work, make more changes)...
okteto down
- (commit code, and be happy)