forked from harbur/captain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
exitstatus.go
33 lines (23 loc) · 812 Bytes
/
exitstatus.go
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
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
)