File tree Expand file tree Collapse file tree 3 files changed +5
-102
lines changed
Expand file tree Collapse file tree 3 files changed +5
-102
lines changed Original file line number Diff line number Diff line change 1- # Binaries for programs and plugins
2- * .exe
3- * .dll
4- * .so
5- * .dylib
6-
7- # Test binary, build with `go test -c`
8- * .test
9-
10- # Output of the go coverage tool, specifically when used with LiteIDE
11- * .out
12-
13- # Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
14- .glide /
15-
16- # OSX leaves these everywhere on SMB shares
17- ._ *
18-
19- # OSX trash
20- .DS_Store
21-
22- # Eclipse files
23- .classpath
24- .project
25- .settings /**
26-
27- # Files generated by JetBrains IDEs, e.g. IntelliJ IDEA
28- .idea /
29- * .iml
30-
31- # Vscode files
32- .vscode
33-
34- # Emacs save files
35- * ~
36- \# * \#
37- . \# *
38-
39- # Vim-related files
40- [._ ]* .s [a-w ][a-z ]
41- [._ ]s [a-w ][a-z ]
42- * .un~
43- Session.vim
44- .netrwhist
45-
46- # Ignore vi backup files
47- * ~
48- # Ignore patches.
49- * .patch
1+ /bin
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ release-tools/travis.yml
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- REGISTRY_NAME = quay.io/k8scsi
16- IMAGE_VERSION = canary
17- IMAGE_NAME =livenessprobe
18- IMAGE_TAG =$(REGISTRY_NAME ) /$(IMAGE_NAME ) :$(IMAGE_VERSION )
15+ CMDS =livenessprobe
16+ all : build
1917
20- .PHONY : all liveness clean test
21-
22- ifdef V
23- TESTARGS = -v -args -alsologtostderr -v 5
24- else
25- TESTARGS =
26- endif
27-
28- all : livenessprobe
29-
30- livenessprobe :
31- mkdir -p bin
32- CGO_ENABLED=0 GOOS=linux go build -a -ldflags ' -extldflags "-static"' -o ./bin/livenessprobe ./cmd/livenessprobe
33-
34- macos-livenessprobe :
35- mkdir -p bin
36- CGO_ENABLED=0 GOOS=darwin go build -a -ldflags ' -extldflags "-static"' -o ./bin/livenessprobe.osx ./cmd/livenessprobe
37-
38- livenessprobe-container : livenessprobe
39- docker build -t $(IMAGE_TAG ) -f ./Dockerfile .
40-
41- push : livenessprobe-container
42- docker push $(IMAGE_TAG )
43-
44- clean :
45- rm -rf bin
46-
47- test :
48- go test ` go list ./... | grep -v ' vendor' ` $(TESTARGS )
49- go vet ` go list ./... | grep -v vendor`
18+ include release-tools/build.make
You can’t perform that action at this time.
0 commit comments