Development
Overview
Oakestra is split into several docker compose files, each containing multiple containers. When developing, only a couple of components/containers are usually changed at a given time. We noticed that many developers were wasting precious time by restarting/rebuilding entire docker-compose suites or even the entire cluster to see their changes take effect.
To speed up this process, oak-cli
provides a set of commands to easily restart and rebuild individual containers.
To ensure every change is considered, use the rebuild command with the --cache-less
flag.
Did you know?
You can chain multiple oak-cli
commands together and run them ad-hoc in the terminal or via scripts to build your own custom automated workflows.
E.g. You are developing the system manager in the root orchestrator. You can use the following to see your changes take effect quicker.