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