pip install divio-cli
See Divio developer handbook: How to use the Divio command-line interface
The CLI supports version 1 (docker-compose
) and version 2 (docker compose
) of the command invocation. At the time of this writing, the CLI will use v1 command invocation by default because v2 is still in beta. This will likely change in the future.
You can opt-in to use the new command by updating your CLI global settings in ~/.aldryn
and add a new setting called docker-compose
with the value ["docker", "compose"]
.
We have two kinds of tests. Small and quick unit tests and the more complex and involved integration tests.
These do not require external communication and can be run with the following command:
tox -- -m "not integration"
These do require a more involved setup and will trigger actions on a real project. You have to provide the project name and your user must be logged in into divio cloud.
You might get asked to provide authentication information during the test, depending on your setup.
tox -- -m "integration" --test_project_name <NAME_OF_A_PROJECT_FOR_TESTING>
- Checkout a new branch for the new version -
release-X.X.X
- Update the changelog.
- Merge the branch (after approval).
- Tag master with the release number
X.X.X
andgit push origin <tagname>
The pipeline will then take care of the release.