6.0 KiB
title
| title |
|---|
| Upgrade |
Release channels
Stable
abra upgrade
Release candidate
abra upgrade --rc
Migration guides
0.6.x-beta -> 0.7.x-beta
This is currently only available via the release candidate channel, using
abra upgrade --rc. There has been a lot of churn and we're being cautious about releasing this one. Please help us test! We're currently on0.7.0-rc3-beta.
-
ALERTA, ALERTA, security related issue: all
$domain.envenv vars are now exposed to the deployment via theappservice container. EachFOO=BARis exported within the context of the container. If you have any privately committed secrets in your.envfiles, please migrate them to thesecrets: ...configuration in the recipe. This change was made to facilitate tooling which can support auto-upgrading of apps in a deployment. -
kadabra, the app auto-updater is available for general alpha testing! See these docs for how to get started. Binaries can be found here. Several changes regarding labelling deployments have been merged in this release. This will allowkadabrato understand a deployment without having the context of a~/.abra/...configuration. This paves the way for more server-side tooling, which can help operators with different kinds of maintenance tasks. -
abracan no longer install Docker, initialise swarm mode and the proxy network. It will check if a Docker install exists and is in swarm mode or not and error out accordingly. We leave the provisioning to tools that are designed for that and reduce the command-line surface that we have to maintain going forward. -
abra server add <host> <args>👉abra server add <host>. We have finally removed the custom SSH handling code and now solely rely on invoke/usr/bin/sshdirectly and reading from the~/.ssh/config. The<host>argument should correspond to aHost <host>entry in your~/.ssh/configor in anInclude <file>statement (hosts are retrieved viassh -G <host>). This means "how doesabrainteract with SSH is 1) do you have an~/.ssh/configentry for<host>2) can youssh <host>successfully? 3) there is no 3. It's an easier mental model and also the wayabra-bashworks, hence, less weird obscure errors.<host>being public a domain name is still required. -
abrano longer tries to do the TOFU host key verification prompt. We follow the praxis of the Docker CLI and just give up when host keys are not validated. We leave it to folks to SSH in and verify themselves. -
Welcome
abra recipe fetch, which helps retrieve a recipe repository to your local work-station. -
Also say hello to
abra app services <domain>, which lists the in-deployment service names and corresponding image, e.g.foo_example_com. -
Digests have been removed from the catalogue generation.
-
Backup files generated by
abrahave a much more human-friendly format. -
Linting for domains is disabled when no
DOMAIN=...is discovered in the$domain.envfile. -
You can now pass
--sincetoabra app logsto filter by time. -
abra app undeploy --pruneandabra server pruneare now available fordocker system prune-like behaviour when cleaning up state on the server. See--helpfor more information on each sub-command. -
abra server rmnow has server name auto-completion.
0.5.x-beta -> 0.6.x-beta
-
Using
{{ .Domain }}in recipe.envrc.samplefiles went away because it was portable enough. We revert to replacing e.ggitea.example.comwith the domain. See8fad34efor more. -
If your
abra.shscripts depend on/bin/shand/bin/bashis available in the container then/bin/bashwill be used from now on./bin/shis only now used if/bin/bashis not available. See7f745fffor more.
v0.4.x -> v0.5.x
- The only breaking change was making
abraunderstand that the JSON dump for the recipes listing lives on recipes.coopcloud.tech/recipes.json instead of recipes.coopcloud.tech.
v0.3.x -> v0.4.x
Make sure to back up your ~/.abra/servers configurations first for safety.
-
Please run
mv ~/.abra/apps ~/.abra/recipes. -
"app name" as a concept went away,
abranow uses the domain name of an app as the identifier. However, we don't expect to see breaking behaviour if you have.envfiles like~/.abra/servers/foo.com/mycoolapp.envand you still want to runabra app ps mycoolapp.abrastill reads the filename to figure out the identifier. When runningabra app new <recipe>,abrawill now take the domain name as the name of the.envfile. -
abrahas a new SSH implementation which enforces SSH host key checking. You may run into connection issues as a result of this code churn, please see this entry for help navigating a fix. -
CLI flag/args handling has been made more flexible. We're working within the constraints of an upstream library issue but have hopefully made it easier to mange passing flags to commands with
abra. See this troubleshooting entry for the full review. -
A number of short style flags have been re-mapped and/or added. This is again related to an issue with the upstream CLI library which sometimes understands short style flags as long style flags. E.g.
--chinstead of-chfor--chaos. As a concrete example,--chis now-Conabra app deploy. -
abra app backup&abra app restoreare ready for alpha-testing! See this entry and that entry for more. -
abra server add --traefikwent away, it was too unreliable & hard to maintain.