2021-01-29 06:29:31 -05:00
|
|
|
group "default" {
|
|
|
|
targets = ["build"]
|
|
|
|
}
|
|
|
|
|
|
|
|
group "pre-checkin" {
|
2021-03-30 14:00:40 -04:00
|
|
|
targets = ["vendor-update", "format", "build"]
|
2021-01-29 06:29:31 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
group "validate" {
|
2022-03-15 02:56:21 -04:00
|
|
|
targets = ["lint", "build-validate", "vendor-validate"]
|
2021-01-29 06:29:31 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
target "build" {
|
2022-03-15 02:56:21 -04:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-03-30 14:00:40 -04:00
|
|
|
target = "build-update"
|
2021-01-29 06:29:31 -05:00
|
|
|
output = ["."]
|
|
|
|
}
|
|
|
|
|
2021-03-30 14:00:40 -04:00
|
|
|
target "build-validate" {
|
2022-03-15 02:56:21 -04:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-03-30 14:00:40 -04:00
|
|
|
target = "build-validate"
|
2022-03-15 02:56:21 -04:00
|
|
|
output = ["type=cacheonly"]
|
2021-01-29 06:29:31 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
target "format" {
|
2022-03-15 02:56:21 -04:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-03-30 14:00:40 -04:00
|
|
|
target = "format-update"
|
2021-01-29 06:29:31 -05:00
|
|
|
output = ["."]
|
|
|
|
}
|
|
|
|
|
2022-03-15 02:56:21 -04:00
|
|
|
target "lint" {
|
|
|
|
dockerfile = "dev.Dockerfile"
|
|
|
|
target = "lint"
|
|
|
|
output = ["type=cacheonly"]
|
2021-01-29 06:29:31 -05:00
|
|
|
}
|
|
|
|
|
2021-03-30 14:00:40 -04:00
|
|
|
target "vendor-update" {
|
2022-03-15 02:56:21 -04:00
|
|
|
dockerfile = "dev.Dockerfile"
|
|
|
|
target = "vendor-update"
|
2021-03-30 14:00:40 -04:00
|
|
|
output = ["."]
|
2021-01-29 06:29:31 -05:00
|
|
|
}
|
|
|
|
|
2021-03-30 14:00:40 -04:00
|
|
|
target "vendor-validate" {
|
2022-03-15 02:56:21 -04:00
|
|
|
dockerfile = "dev.Dockerfile"
|
|
|
|
target = "vendor-validate"
|
|
|
|
output = ["type=cacheonly"]
|
2021-03-30 14:00:40 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
target "test" {
|
2022-03-15 02:56:21 -04:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-03-30 14:00:40 -04:00
|
|
|
target = "test-coverage"
|
|
|
|
output = ["./coverage"]
|
2021-01-29 06:29:31 -05:00
|
|
|
}
|