These are chat archives for azukiapp/azk
"Automated installation and configuration of development environments" - for pt-BR support, please check out https://gitter.im/azukiapp/azk/pt
azk statusto see which port it is bound on and then I run
mysql -h dev.azk.io --port=49xxx.
awk/sed/...magic could be used to extract output of
azk status, but that seem too brittle. Is there a way to get say a JSON, or even just key=value pairs that would be easy to use in other scripts? Ideally all env variables available to dependent systems would be easy to get to from the host machine.
azk shell -c "env"and that would return all environment variables inside the containers. But it wouldn't return the port information for example
I believe @fearenales can help you with this, since he did some things like preparing the build
We have discussed about adding a --json option for
AZK stauts but this issue was not registered. He will be able registers it the he thinks it shouldnt be?
MYSQL_DATA_PORTso that's great
azk shellin whatever system would have the vars. I suppose that will solve my immediate issue.
azk. My only complaint is that I didn't find out about it until after I spent a weekend trying to mess with a giant
Are there any downsides to specifying systems that are not meant to be running?
Ex, I use
sqitch do manage database configuration changes, but I don't want to install it locally. Instead I just define a system that points to an image on docker registry, register some
depends on a database system, and then use it via
azk shell sqitch -c "sqitch deploy" --target=\$DATABASE_URI
Is this a supported thing, or it just happens to work and might cause some issues?
sqitchcommand in the Azkfile.js (
shellsection) so that run when the system started? Does it would make things easier for you, @slobo ?
azk restartto migrate the database anyways so other devs don't forget
shellsection in Azkfile.js only takes full path, and we can't specify arguments to the shell?