CLI: Exec subcommand host
This commit is contained in:
parent
11d5121954
commit
dd9da9452b
@ -21,7 +21,7 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
execCmd.AddCommand(hostExecCommand)
|
execCmd.AddCommand(hostExecCommand, hostsExecCommand)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ commands:
|
|||||||
outputToLog: true
|
outputToLog: true
|
||||||
Args:
|
Args:
|
||||||
- "-v"
|
- "-v"
|
||||||
host: email-svr
|
|
||||||
|
|
||||||
cmdLists:
|
cmdLists:
|
||||||
TestHooks:
|
TestHooks:
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
cd ~/Projects/backy/tests/docker
|
||||||
docker container rm -f ssh_server_container
|
docker container rm -f ssh_server_container
|
||||||
docker build -t ssh_server_image .
|
docker build -t ssh_server_image .
|
||||||
docker run -d -p 2222:22 --name ssh_server_container ssh_server_image
|
docker run -d -p 2222:22 --name ssh_server_container ssh_server_image
|
@ -2,5 +2,5 @@ hosts:
|
|||||||
docker:
|
docker:
|
||||||
port: 2222
|
port: 2222
|
||||||
Hostname: localhost
|
Hostname: localhost
|
||||||
user: backy
|
user: root
|
||||||
IdentityFile: ./docker/backytest
|
IdentityFile: ./docker/backytest
|
@ -38,6 +38,14 @@ commands:
|
|||||||
packageManager: apt
|
packageManager: apt
|
||||||
packageOperation: checkVersion
|
packageOperation: checkVersion
|
||||||
|
|
||||||
|
installJq:
|
||||||
|
type: package
|
||||||
|
shell: bash
|
||||||
|
packages:
|
||||||
|
- name: "jq"
|
||||||
|
packageManager: apt
|
||||||
|
packageOperation: install
|
||||||
|
|
||||||
checkDockerVersionWithInvalidRegex:
|
checkDockerVersionWithInvalidRegex:
|
||||||
type: package
|
type: package
|
||||||
shell: zsh
|
shell: zsh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user