-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathexitstatus.go
More file actions
36 lines (25 loc) · 883 Bytes
/
exitstatus.go
File metadata and controls
36 lines (25 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package captain // import "github.com/harbur/captain"
const (
// BuildFailed represents a build failure
BuildFailed = 1
// TagFailed represents a failure to tag a docker image
TagFailed = 2
// NonExistImage represents the existance of a docker image tag
NonExistImage = 3
// TestFailed represents test failure
TestFailed = 5
// NoGit represents lack of a git repository
NoGit = 6
// GitDirty represents existence of local git changes
GitDirty = 7
// InvalidCaptainYML represents an invalid captain.yml format
InvalidCaptainYML = 8
// NoDockerfiles represents lack of Dockerfile(s) on current and subdirectories.
NoDockerfiles = 9
// OldFormat represents old format of captain.yml
OldFormat = 10
// DeleteImageFailed represents failure during image deletion
DeleteImageFailed = 11
// ExecuteFailed represents an execution failure
ExecuteFailed = 12
)