-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(*): services, skip flag, and UX improvements (#43)
- Loading branch information
1 parent
c53f523
commit 0373fea
Showing
7,226 changed files
with
14,765 additions
and
2,525,813 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
docs/** | ||
vendor/** | ||
website/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ policies: | |
- "policy" | ||
- "readme" | ||
- "renderer" | ||
- "service" | ||
- "*" | ||
|
||
script: | ||
|
@@ -45,13 +46,13 @@ stages: | |
tasks: | ||
binary: | ||
template: | | ||
FROM autonomy/golang:1.8.3 as binary | ||
FROM autonomy/golang:1.9 as {{ .Docker.CurrentStage }} | ||
WORKDIR $GOPATH/src/github.com/{{ .Repository }} | ||
COPY ./ ./ | ||
{{ if and .Git.IsClean .Git.IsTag }} | ||
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o /conform -ldflags "-X \"github.com/{{ .Repository }}/pkg/version.Tag={{ trimAll "v" .Git.Tag }}\" -X \"github.com/{{ .Repository }}/pkg/version.SHA={{ .Git.SHA }}\" -X \"github.com/{{ .Repository }}/pkg/version.Built={{ .Built }}\"" | ||
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o /conform -ldflags "-X \"github.com/{{ .Repository }}/cmd.Tag={{ trimAll "v" .Git.Tag }}\" -X \"github.com/{{ .Repository }}/cmd.SHA={{ .Git.SHA }}\" -X \"github.com/{{ .Repository }}/cmd.Built={{ .Built }}\"" | ||
{{ else if .Git.IsClean }} | ||
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o /conform -ldflags "-X \"github.com/{{ .Repository }}/pkg/version.SHA={{ .Git.SHA }}\" -X \"github.com/{{ .Repository }}/pkg/version.Built={{ .Built }}\"" | ||
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o /conform -ldflags "-X \"github.com/{{ .Repository }}/cmd.SHA={{ .Git.SHA }}\" -X \"github.com/{{ .Repository }}/cmd.Built={{ .Built }}\"" | ||
{{ else }} | ||
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o /conform | ||
{{ end }} | ||
|
@@ -60,8 +61,8 @@ tasks: | |
{{ fromURL "https://raw.githubusercontent.com/autonomy/conform-templates/master/golang/Dockerfile.test" }} | ||
image: | ||
template: | | ||
FROM alpine:3.6 as image | ||
MAINTAINER Andrew Rynhard <[email protected]> | ||
FROM alpine:3.6 as {{ .Docker.CurrentStage }} | ||
LABEL maintainer="Andrew Rynhard <[email protected]>" | ||
RUN apk --update add bash \ | ||
&& rm -rf /var/cache/apk/* | ||
COPY --from=binary /conform /bin | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.