takeltau 0.41.9 → 0.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f12a1229e055bd977414effe0d9fcaec82f7a1ffe71d9a0ab0f6b88163d1891
4
- data.tar.gz: ba8f640ad83863d932ee46c5502bab5168b735b1eb4995312d355b34fde05a69
3
+ metadata.gz: fc7c5a587928a53ecc7e85e770be0f92f16576e37def84e879e2a51f9edad885
4
+ data.tar.gz: 04dad6e01bc67639cab9d7a1496e4fee38f3948bca6d6c62fed7256334566c06
5
5
  SHA512:
6
- metadata.gz: e466d18765e3efb27790da7feda18dd628d73f989b935ec86a47931f221aed6c3b073efe39e74993a4bccb177ab0a55abcb204d4a5fa4c558f56ae84ccec1315
7
- data.tar.gz: dfc40fbe5516f7593fafe61d6905037c7f892ea41d5aa539d3df97b3943c1ce8971a32aa156b5abf3dc7d50dbfd86122d3bf4c5f1235a26ffac323629c0e1f25
6
+ metadata.gz: 7a6900a1e531b8e4dd1a37c463a9aeb194b5831b89f88b84f6b00bf3c93e2bbd230b755a881de9f2ac8aea88edf0b589ce203806ebdb38ad64343a5183a84c53
7
+ data.tar.gz: fba4b10f0a3f41ea8bc2c3f70842ea65378360fa9a5369bd860c7d247db653e03bdc9028328943c8bf485531290eb89515b58990ceb270005e4cb66a5aebb182
data/README.md CHANGED
@@ -12,35 +12,29 @@ command line script using the
12
12
 
13
13
  ## Framework Versions
14
14
 
15
- | Project | Artifacts |
16
- |---------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
17
- | [![takelage-doc](https://img.shields.io/badge/github-takelage--doc-purple)](https://github.com/takelwerk/takelage-doc) | [![License](https://img.shields.io/badge/license-GNU_GPLv3-blue)](https://github.com/takelwerk/takelage-doc/blob/main/LICENSE) |
18
- | [![takelage-img-takelslim](https://img.shields.io/badge/github-takelage--img--takelslim-purple)](https://github.com/takelwerk/takelage-img-takelslim) | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelslim/latest?label=hub.docker.com&arch=amd64&color=teal)](https://hub.docker.com/r/takelwerk/takelslim) [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelslim/latest?label=hub.docker.com&arch=arm64&color=slateblue)](https://hub.docker.com/r/takelwerk/takelslim) |
19
- | [![takelage-img-takelbase](https://img.shields.io/badge/github-takelage--img--takelbase-purple)](https://github.com/takelwerk/takelage-img-takelbase) | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelbase/latest?label=hub.docker.com&arch=amd64&color=teal)](https://hub.docker.com/r/takelwerk/takelbase) [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelbase/latest?label=hub.docker.com&arch=arm64&color=slateblue)](https://hub.docker.com/r/takelwerk/takelbase) |
20
- | [![takelage-img-takelruby](https://img.shields.io/badge/github-takelage--img--takelruby-purple)](https://github.com/takelwerk/takelage-img-takelruby) | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelruby/latest?label=hub.docker.com&arch=amd64&color=teal)](https://hub.docker.com/r/takelwerk/takelruby) [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelruby/latest?label=hub.docker.com&arch=arm64&color=slateblue)](https://hub.docker.com/r/takelwerk/takelruby) |
21
- | [![takelage-vagrant-takelbase](https://img.shields.io/badge/github-takelage--vagrant--takelbase-purple)](https://github.com/takelwerk/takelage-vagrant-takelbase) | [![vagrantup.com](https://img.shields.io/badge/vagrantup.com-debian--bullseye-blue)](https://app.vagrantup.com/takelwerk/boxes/takelbase) |
22
- | [![takelage-var](https://img.shields.io/badge/github-takelage--var-purple)](https://github.com/takelwerk/takelage-var) | [![pypi,org](https://img.shields.io/pypi/v/pytest-takeltest?label=pypi.org&color=blue)](https://pypi.org/project/pytest-takeltest/) |
23
- | [![takelage-cli](https://img.shields.io/badge/github-takelage--cli-purple)](https://github.com/takelwerk/takelage-cli) | [![rubygems.org](https://img.shields.io/gem/v/takeltau?label=rubygems.org&color=blue)](https://rubygems.org/gems/takeltau) |
24
- | [![takelage-dev](https://img.shields.io/badge/github-takelage--dev-purple)](https://github.com/takelwerk/takelage-dev) | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelage/latest?label=hub.docker.com&arch=amd64&sort=semver&color=teal)](https://hub.docker.com/r/takelwerk/takelage) [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelage/latest?label=hub.docker.com&arch=arm64&sort=semver&color=slateblue)](https://hub.docker.com/r/takelwerk/takelage) |
25
- | [![takelage-pad](https://img.shields.io/badge/github-takelage--pad-purple)](https://github.com/takelwerk/takelage-pad) | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelpad/latest?label=hub.docker.com&sort=semver&color=blue)](https://hub.docker.com/r/takelwerk/takelpad) |
15
+ | Project | Artifacts |
16
+ |---------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
17
+ | [![takelage-doc](https://img.shields.io/badge/github-takelage--doc-purple)](https://github.com/takelwerk/takelage-doc) | [![License](https://img.shields.io/badge/license-GNU_GPLv3-blue)](https://github.com/takelwerk/takelage-doc/blob/main/LICENSE) |
18
+ | [![takelage-img-takelslim](https://img.shields.io/badge/github-takelage--img--takelslim-purple)](https://github.com/takelwerk/takelage-img-takelslim) | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelslim/latest-amd64?label=hub.docker.com&arch=amd64&color=teal)](https://hub.docker.com/r/takelwerk/takelslim) [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelslim/latest-arm64?label=hub.docker.com&arch=arm64&color=slateblue)](https://hub.docker.com/r/takelwerk/takelslim) |
19
+ | [![takelage-img-takelbase](https://img.shields.io/badge/github-takelage--img--takelbase-purple)](https://github.com/takelwerk/takelage-img-takelbase) | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelbase/latest-amd64?label=hub.docker.com&arch=amd64&color=teal)](https://hub.docker.com/r/takelwerk/takelbase) [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelbase/latest-arm64?label=hub.docker.com&arch=arm64&color=slateblue)](https://hub.docker.com/r/takelwerk/takelbase) |
20
+ | [![takelage-var](https://img.shields.io/badge/github-takelage--var-purple)](https://github.com/takelwerk/takelage-var) | [![pypi,org](https://img.shields.io/pypi/v/pytest-takeltest?label=pypi.org&color=blue)](https://pypi.org/project/pytest-takeltest/) |
21
+ | [![takelage-cli](https://img.shields.io/badge/github-takelage--cli-purple)](https://github.com/takelwerk/takelage-cli) | [![rubygems.org](https://img.shields.io/gem/v/takeltau?label=rubygems.org&color=blue)](https://rubygems.org/gems/takeltau) |
22
+ | [![takelage-dev](https://img.shields.io/badge/github-takelage--dev-purple)](https://github.com/takelwerk/takelage-dev) | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelage/latest-amd64?label=hub.docker.com&arch=amd64&sort=semver&color=teal)](https://hub.docker.com/r/takelwerk/takelage) [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelage/latest-arm64?label=hub.docker.com&arch=arm64&sort=semver&color=slateblue)](https://hub.docker.com/r/takelwerk/takelage) |
23
+ | [![takelage-pad](https://img.shields.io/badge/github-takelage--pad-purple)](https://github.com/takelwerk/takelage-pad) | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelpad/latest-amd64?label=hub.docker.com&arch=amd64&sort=semver&color=teal)](https://hub.docker.com/r/takelwerk/takelpad) [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelpad/latest-arm64?label=hub.docker.com&arch=arm64&sort=semver&color=slateblue)](https://hub.docker.com/r/takelwerk/takelpad) |
26
24
 
27
25
  ## Framework Status
28
26
 
29
- | Project | Pipelines |
30
- |---------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
31
- | [![takelage-img-takelslim](https://img.shields.io/badge/github-takelage--img--takelslim-purple)](https://github.com/takelwerk/takelage-img-takelslim) | [![takelslim amd64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-img-takelslim/takelslim_amd64.yml?label=takelslim%20amd64)](https://github.com/takelwerk/takelage-img-takelslim/actions/workflows/takelslim_amd64.yml) [![takelslim arm64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-img-takelslim/takelslim_arm64.yml?label=takelslim%20arm64)](https://github.com/takelwerk/takelage-img-takelslim/actions/workflows/takelslim_arm64.yml) |
32
- | [![takelage-img-takelbase](https://img.shields.io/badge/github-takelage--img--takelbase-purple)](https://github.com/takelwerk/takelage-img-takelbase) | [![takelbase amd64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-img-takelbase/takelbase_amd64.yml?label=takelbase%20amd64)](https://github.com/takelwerk/takelage-img-takelbase/actions/workflows/takelbase_amd64.yml) [![takelbase arm64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-img-takelbase/takelbase_arm64.yml?label=takelbase%20arm64)](https://github.com/takelwerk/takelage-img-takelbase/actions/workflows/takelbase_arm64.yml) |
33
- | [![takelage-img-takelruby](https://img.shields.io/badge/github-takelage--img--takelruby-purple)](https://github.com/takelwerk/takelage-img-takelruby) | [![takelruby amd64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-img-takelruby/takelruby_amd64.yml?label=takelruby%20amd64)](https://github.com/takelwerk/takelage-img-takelruby/actions/workflows/takelruby_amd64.yml) [![takelruby arm64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-img-takelruby/takelruby_arm64.yml?label=takelruby%20arm64)](https://github.com/takelwerk/takelage-img-takelruby/actions/workflows/takelruby_arm64.yml) |
34
- | [![takelage-vagrant-takelbase](https://img.shields.io/badge/github-takelage--vagrant--takelbase-purple)](https://github.com/takelwerk/takelage-vagrant-takelbase) | [![virtualbox](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-vagrant-takelbase/virtualbox.yml?label=virtualbox)](https://github.com/takelwerk/takelage-vagrant-takelbase/actions/workflows/virtualbox.yml) |
35
- | [![takelage-var](https://img.shields.io/badge/github-takelage--var-purple)](https://github.com/takelwerk/takelage-var) | [![takeltest](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-var/takeltest.yml?label=takeltest)](https://github.com/takelwerk/takelage-var/actions/workflows/takeltest.yml) [![test_takeltest](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-var/test_takeltest.yml?label=test%20takeltest)](https://github.com/takelwerk/takelage-var/actions/workflows/test_takeltest.yml) |
36
- | [![takelage-cli](https://img.shields.io/badge/github-takelage--cli-purple)](https://github.com/takelwerk/takelage-cli) | [![takeltau](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-cli/takeltau.yml?label=takeltau)](https://github.com/takelwerk/takelage-cli/actions/workflows/takeltau.yml) [![test_takeltau](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-cli/test_takeltau.yml?label=test%20takeltau)](https://github.com/takelwerk/takelage-cli/actions/workflows/test_takeltau.yml) |
37
- | [![takelage-dev](https://img.shields.io/badge/github-takelage--dev-purple)](https://github.com/takelwerk/takelage-dev) | [![takelage amd64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/takelage_amd64.yml?label=takelage%20amd64)](https://github.com/takelwerk/takelage-dev/actions/workflows/takelage_amd64.yml) [![takelage arm64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/takelage_arm64.yml?label=takelage%20arm64)](https://github.com/takelwerk/takelage-dev/actions/workflows/takelage_arm64.yml) |
38
- | | [![takelbeta amd64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/takelbeta_amd64.yml?label=takelbeta%20amd64)](https://github.com/takelwerk/takelage-dev/actions/workflows/takelbeta_amd64.yml) [![takelbeta arm64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/takelbeta_arm64.yml?label=takelbeta%20arm64)](https://github.com/takelwerk/takelage-dev/actions/workflows/takelbeta_arm64.yml) |
39
- | | [![takelbuild amd64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/takelbuild_amd64.yml?label=takelbuild%20amd64)](https://github.com/takelwerk/takelage-dev/actions/workflows/takelbuild_amd64.yml) [![takelbuild arm64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/takelbuild_arm64.yml?label=takelbuild%20arm64)](https://github.com/takelwerk/takelage-dev/actions/workflows/takelbuild_arm64.yml) |
40
- | | [![test_takelage](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/test_takelage.yml?label=test%20takelage)](https://github.com/takelwerk/takelage-dev/actions/workflows/test_takelage.yml) [![test_roles](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/test_roles.yml?label=test%20roles)](https://github.com/takelwerk/takelage-dev/actions/workflows/test_roles.yml) |
41
- | | [![test_takelbuild](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/test_takelbuild.yml?label=test%20takelbuild)](https://github.com/takelwerk/takelage-dev/actions/workflows/test_takelbuild.yml) |
42
- | [![takelage-pad](https://img.shields.io/badge/github-takelage--pad-purple)](https://github.com/takelwerk/takelage-pad) | [![takelpad_docker](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-pad/takelpad_docker.yml?label=takelpad_docker)](https://github.com/takelwerk/takelage-pad/actions/workflows/takelpad_docker.yml) [![takelpad_virtualbox](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-pad/takelpad_virtualbox.yml?label=takelpad_virtualbox)](https://github.com/takelwerk/takelage-pad/actions/workflows/takelpad_virtualbox.yml) |
43
- | | [![test_takelpad](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-pad/test_takelpad.yml?label=test_takelpad)](https://github.com/takelwerk/takelage-pad/actions/workflows/test_takelpad.yml) [![test_roles](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-pad/test_roles.yml?label=test_roles)](https://github.com/takelwerk/takelage-pad/actions/workflows/test_roles.yml) |
27
+ | Project | Pipelines |
28
+ |---------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
29
+ | [![takelage-img-takelslim](https://img.shields.io/badge/github-takelage--img--takelslim-purple)](https://github.com/takelwerk/takelage-img-takelslim) | [![takelslim amd64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-img-takelslim/takelslim_amd64.yml?label=takelslim%20amd64)](https://github.com/takelwerk/takelage-img-takelslim/actions/workflows/takelslim_amd64.yml) |
30
+ | [![takelage-img-takelbase](https://img.shields.io/badge/github-takelage--img--takelbase-purple)](https://github.com/takelwerk/takelage-img-takelbase) | [![takelbase amd64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-img-takelbase/takelbase_amd64.yml?label=takelbase%20amd64)](https://github.com/takelwerk/takelage-img-takelbase/actions/workflows/takelbase_amd64.yml) |
31
+ | [![takelage-var](https://img.shields.io/badge/github-takelage--var-purple)](https://github.com/takelwerk/takelage-var) | [![takeltest](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-var/takeltest.yml?label=takeltest)](https://github.com/takelwerk/takelage-var/actions/workflows/takeltest.yml) [![test_takeltest](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-var/test_takeltest.yml?label=test%20takeltest)](https://github.com/takelwerk/takelage-var/actions/workflows/test_takeltest.yml) |
32
+ | [![takelage-cli](https://img.shields.io/badge/github-takelage--cli-purple)](https://github.com/takelwerk/takelage-cli) | [![takeltau](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-cli/takeltau.yml?label=takeltau)](https://github.com/takelwerk/takelage-cli/actions/workflows/takeltau.yml) [![test_takeltau](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-cli/test_takeltau.yml?label=test%20takeltau)](https://github.com/takelwerk/takelage-cli/actions/workflows/test_takeltau.yml) |
33
+ | [![takelage-dev](https://img.shields.io/badge/github-takelage--dev-purple)](https://github.com/takelwerk/takelage-dev) | [![takelage amd64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/takelage_amd64.yml?label=takelage%20amd64)](https://github.com/takelwerk/takelage-dev/actions/workflows/takelage_amd64.yml) [![test_takelage](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/test_takelage.yml?label=test%20takelage)](https://github.com/takelwerk/takelage-dev/actions/workflows/test_takelage.yml)
34
+ | | [![takelbuild amd64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/takelbuild_amd64.yml?label=takelbuild%20amd64)](https://github.com/takelwerk/takelage-dev/actions/workflows/takelbuild_amd64.yml) [![test_takelbuild](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/test_takelbuild.yml?label=test%20takelbuild)](https://github.com/takelwerk/takelage-dev/actions/workflows/test_takelbuild.yml) |
35
+ | | [![takelbeta amd64](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/takelbeta_amd64.yml?label=takelbeta%20amd64)](https://github.com/takelwerk/takelage-dev/actions/workflows/takelbeta_amd64.yml) [![test_roles](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-dev/test_roles.yml?label=test%20roles)](https://github.com/takelwerk/takelage-dev/actions/workflows/test_roles.yml) |
36
+ | [![takelage-pad](https://img.shields.io/badge/github-takelage--pad-purple)](https://github.com/takelwerk/takelage-pad) | [![takelpad docker](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-pad/takelpad_docker.yml?label=takelpad%20docker)](https://github.com/takelwerk/takelage-pad/actions/workflows/takelpad_docker.yml) |
37
+ | | [![test takelpad](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-pad/test_takelpad.yml?label=test%20takelpad)](https://github.com/takelwerk/takelage-pad/actions/workflows/test_takelpad.yml) [![test roles](https://img.shields.io/github/actions/workflow/status/takelwerk/takelage-pad/test_roles.yml?label=test%20roles)](https://github.com/takelwerk/takelage-pad/actions/workflows/test_roles.yml) |
44
38
 
45
39
  ## Installation
46
40
 
@@ -54,11 +54,11 @@ cmd_mutagen_forward_socket_terminate: 'mutagen forward terminate %{socketname}'
54
54
  cmd_mutagen_forward_socket_remove: 'rm -f ~/.mutagen/daemon/*'
55
55
  cmd_mutagen_forward_socket_list: 'mutagen forward list --label-selector="%{takellabel}"'
56
56
  docker_debug: 'ansible/roles/takel_takelage/files/takelscripts'
57
- docker_entrypoint_extra: '.config/gcloud'
57
+ docker_entrypoint_extra: ''
58
58
  docker_entrypoint_options: ''
59
59
  docker_registry: 'https://registry.hub.docker.com'
60
60
  docker_repo: 'takelage'
61
- docker_run_options: '--env GOOGLE_APPLICATION_CREDENTIALS=/hostdir/.google/default.json'
61
+ docker_run_options: ''
62
62
  docker_shm_size: '512M'
63
63
  docker_tag: 'latest'
64
64
  docker_user: 'takelwerk'
@@ -13,6 +13,7 @@ module Takeltau
13
13
  include DockerContainerLib
14
14
  include DockerContainerCommand
15
15
  include DockerContainerDaemon
16
+ include DockerContainerList
16
17
  include DockerContainerLogin
17
18
  include DockerContainerClean
18
19
  include DockerContainerPrune
@@ -91,6 +92,19 @@ module Takeltau
91
92
  docker_container_daemon
92
93
  end
93
94
 
95
+ #
96
+ # docker container list
97
+ #
98
+ desc 'list', 'List docker containers'
99
+ long_desc <<-LONGDESC.gsub("\n", "\x5")
100
+ List docker containers
101
+ LONGDESC
102
+ # List docker containers.
103
+ def list
104
+ say docker_container_list
105
+ true
106
+ end
107
+
94
108
  #
95
109
  # docker container login
96
110
  #
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ # tau docker container list
4
+ module DockerContainerList
5
+ # Backend method for docker container prune.
6
+ def docker_container_list
7
+ log.debug 'List docker containers'
8
+
9
+ return false unless docker_check_daemon
10
+
11
+ _docker_container_list_list_docker_containers
12
+ end
13
+
14
+ private
15
+
16
+ # Kill orphaned docker containers and return list of networks.
17
+ def _docker_container_list_list_docker_containers
18
+ containers = []
19
+ _docker_container_lib_get_containers.each do |container|
20
+ name = _docker_container_lib_get_container_name_by_id container
21
+ containers << name
22
+ end
23
+ containers.join("\n")
24
+ end
25
+ end
@@ -8,9 +8,7 @@ module InfoStatusArch
8
8
  log.debug 'Get cpu architecture'
9
9
 
10
10
  architecture = _info_status_arch_get_architecture.to_sym
11
- # rubocop:disable Naming/VariableNumber
12
11
  architectures = { arm64: 'arm64', aarch64: 'arm64', x86_64: 'amd64' }
13
- # rubocop:enable Naming/VariableNumber
14
12
  unless architectures.key? architecture
15
13
  log.error 'cpu architecture unknown'
16
14
  return false
data/lib/takeltau/version CHANGED
@@ -1 +1 @@
1
- 0.41.9
1
+ 0.42.0
data/lib/takeltau.rb CHANGED
@@ -58,6 +58,7 @@ require_relative 'takeltau/docker/container/check/cli'
58
58
  require_relative 'takeltau/docker/container/lib'
59
59
  require_relative 'takeltau/docker/container/command'
60
60
  require_relative 'takeltau/docker/container/daemon'
61
+ require_relative 'takeltau/docker/container/list'
61
62
  require_relative 'takeltau/docker/container/login'
62
63
  require_relative 'takeltau/docker/container/clean'
63
64
  require_relative 'takeltau/docker/container/prune'
@@ -180,6 +181,12 @@ module Takeltau
180
181
  Takeltau::Self.new.commands
181
182
  end
182
183
 
184
+ desc 'list', 'Alias for tau docker container list'
185
+ # tau list: {Takeltau::DockerContainer#list}
186
+ def list
187
+ Takeltau::DockerContainer.new.list
188
+ end
189
+
183
190
  desc 'project', 'Alias for tau info project active'
184
191
  # tau project: {Takeltau::InfoProject#active}
185
192
  def project
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: takeltau
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.9
4
+ version: 0.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takelwerk
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2019-12-08 00:00:00.000000000 Z
@@ -219,6 +219,7 @@ files:
219
219
  - lib/takeltau/docker/container/command.rb
220
220
  - lib/takeltau/docker/container/daemon.rb
221
221
  - lib/takeltau/docker/container/lib.rb
222
+ - lib/takeltau/docker/container/list.rb
222
223
  - lib/takeltau/docker/container/login.rb
223
224
  - lib/takeltau/docker/container/prune.rb
224
225
  - lib/takeltau/docker/image/cli.rb
@@ -286,7 +287,7 @@ licenses:
286
287
  - GPL-3.0
287
288
  metadata:
288
289
  yard.run: yard
289
- post_install_message:
290
+ post_install_message:
290
291
  rdoc_options: []
291
292
  require_paths:
292
293
  - lib
@@ -294,15 +295,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
294
295
  requirements:
295
296
  - - ">="
296
297
  - !ruby/object:Gem::Version
297
- version: '2.6'
298
+ version: '2.7'
298
299
  required_rubygems_version: !ruby/object:Gem::Requirement
299
300
  requirements:
300
301
  - - ">="
301
302
  - !ruby/object:Gem::Version
302
303
  version: '0'
303
304
  requirements: []
304
- rubygems_version: 3.2.3
305
- signing_key:
305
+ rubygems_version: 3.3.15
306
+ signing_key:
306
307
  specification_version: 4
307
308
  summary: takelage devops workflow cli
308
309
  test_files: []