feat(installer): build worker source over SSH
Все проверки выполнены успешно
CI / test (push) Successful in 3m13s
Docker / Build and publish worker image (push) Successful in 10m35s
Все проверки выполнены успешно
CI / test (push) Successful in 3m13s
Docker / Build and publish worker image (push) Successful in 10m35s
Этот коммит содержится в:
@@ -18,6 +18,15 @@ func TestDispatchManagementCommand(t *testing.T) {
|
||||
if handled, code := dispatchManagementCommand([]string{"install", "--help"}); !handled || code != 0 {
|
||||
t.Fatalf("install help = handled %t code %d", handled, code)
|
||||
}
|
||||
if handled, code := dispatchManagementCommand([]string{"deploy", "--help"}); !handled || code != 0 {
|
||||
t.Fatalf("deploy help = handled %t code %d", handled, code)
|
||||
}
|
||||
if handled, code := dispatchManagementCommand([]string{"source-install", "--help"}); !handled || code != 0 {
|
||||
t.Fatalf("source-install help = handled %t code %d", handled, code)
|
||||
}
|
||||
if handled, code := dispatchManagementCommand([]string{"source-install", "--identity-file", t.TempDir() + "/missing"}); !handled || code == 0 {
|
||||
t.Fatalf("source-install without host/user = handled %t code %d", handled, code)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSecretValue(t *testing.T) {
|
||||
|
||||
Ссылка в новой задаче
Block a user