Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Not sure what these terms mean? The [glossary](docs/introduction/glossary.md) de
**Host machine** (where you run `topo`):

- [Docker](#install-a-container-engine)
- [Git](https://git-scm.com/downloads)
- OpenSSH Client

**Target machine** (the remote Arm system):
Expand Down
1 change: 1 addition & 0 deletions e2e/health_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func TestHealthCheck(t *testing.T) {
require.NoError(t, err)

assert.Contains(t, out, " ✓ OpenSSH (ssh)")
assert.Contains(t, out, " ✓ Git (git)")
assert.Contains(t, out, " ✓ Container Engine (docker)")
})

Expand Down
5 changes: 5 additions & 0 deletions e2e/testdata/TestHealthCheckJson.golden
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"status": "ok",
"value": "ssh"
},
{
"name": "Git",
"status": "ok",
"value": "git"
},
{
"name": "Container Engine",
"status": "ok",
Expand Down
10 changes: 10 additions & 0 deletions internal/health/dependencies.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,16 @@ var HostRequiredDependencies = []Dependency{
Label: "OpenSSH",
Checks: []Check{BinaryExists{}, OpenSSHAvailable{}},
},
{
Binary: "git",
Label: "Git",
Checks: []Check{BinaryExists{
Severity: SeverityWarning,
Fix: &Fix{
Description: "Install Git and ensure its git executable is on PATH. See https://git-scm.com/downloads",
},
}},
},
{
Binary: "docker",
Label: "Container Engine",
Expand Down