Skip to content

Releases: eunomie/docker-runx

v0.1.0

17 Oct 18:41
ceb18cb

Choose a tag to compare

What's Changed

Confirmation

If the generated command contains some specific flags (like --volume, --mount, --privileged, --publish, --publish-all, --network and --pid) the user will be asked to confirm before to run. That adds a guard to ensure for instance the user is not sharing files they don't want without to know.

A --yes can be used on the command line to skip the confirmation, or by adding accept-the-risk: true in the local .docker/runx.yaml configuration file.

Prompts

Default values are now supported for all types of user prompts and a new boolean prompt is now available.

This introduces a new type field for opts that can be one of input, select or confirm. Default value can be set using default field.

Some improvements have been made regarding the display of the prompt title and description.

Help

-h or --help are now the default way to print the readme or the help for an action instead of the previous -d or --docs. This makes it easier to discover.

Cache

When a docker runx manifest is read, the corresponding files are cached locally under ~/.docker/runx/cache directory. It comes with two new commands docker runx cache df to display the disk usage and docker runx cache prune to clean it.

In addition and in order to reduce the need of those commands, all cached items not accessed in the last 30 days will be automatically removed at each run. That way the cache stays clean without any user action.

Other improvements

  • To match between the user input and the different config files, the reference of the image is used instead of the input. So for instance namespace/image will match docker.io/namespace/image:latest

  • Improve yaml string reading to set the command with > and |


Full Changelog: v0.0.20...v0.1.0

v0.0.20

11 Oct 13:25
160fc2b

Choose a tag to compare

fix: spinner only if tty

Signed-off-by: Yves Brissaud <yves.brissaud@gmail.com>

v0.0.19

11 Oct 12:51
02f3efe

Choose a tag to compare

feat: merge all the .docker/runx.yaml files

Merge all the .docker/runx.yaml files we found from the current
directory up to the root.

Allow to define options for all the actions.

Signed-off-by: Yves Brissaud <yves.brissaud@gmail.com>

v0.0.18

11 Oct 07:02
6b979e7

Choose a tag to compare

feat: support no-prompt and ensure required are set

It's now possible to have a "no-prompt" option. Especially if not
required, that means the user can configure with a local
.docker/runx.yaml file for instance without to be prompt if not.

Signed-off-by: Yves Brissaud <yves.brissaud@gmail.com>

v0.0.17

10 Oct 18:58
e355977

Choose a tag to compare

🎉 dogfood docker runx as a way to build docker runx

docker runx --list
docker runx build
docker runx build:all

Signed-off-by: Yves Brissaud <yves.brissaud@gmail.com>

v0.0.16

10 Oct 17:48
e1b35a4

Choose a tag to compare

chore: read pkg name automatically

Signed-off-by: Yves Brissaud <yves.brissaud@gmail.com>

v0.0.15

10 Oct 17:28
5aee5e0

Choose a tag to compare

ci: generate checksums

Signed-off-by: Yves Brissaud <yves.brissaud@gmail.com>

v0.0.14

10 Oct 17:09
aeba122

Choose a tag to compare

ci: release archives of docker-runx

Signed-off-by: Yves Brissaud <yves.brissaud@gmail.com>

v0.0.13

10 Oct 10:13
ac23fea

Choose a tag to compare

fix: display of option description

Signed-off-by: Yves Brissaud <yves.brissaud@gmail.com>

v0.0.12

10 Oct 07:55
7a87a82

Choose a tag to compare

doc: use new .IsTTY for linter

Signed-off-by: Yves Brissaud <yves.brissaud@gmail.com>