-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathMakefile
28 lines (22 loc) · 1 KB
/
Makefile
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
gofmt:
find . -path ./vendor -prune -type f -o -name '*.go' -exec gofmt -d {} + | tee /dev/stderr
find . -path ./vendor -prune -type f -o -name '*.go' -exec gofmt -w {} + | tee /dev/stderr
test:
test -z '$(shell find . -path ./vendor -prune -type f -o -name '*.go' -exec gofmt -d {} + | tee /dev/stderr)'
go test $(shell glide novendor)
build: test
go build -a -tags netgo -installsuffix netgo -o bin/concourse-aws ./
print-version:
echo $$(cat version)
publish: build
ghr -u mumoshu -r concourse-aws -c master --prerelease v$$(cat version) bin/
publish-latest: build
ghr -u mumoshu -r concourse-aws -c master --replace --prerelease latest bin/
it-dcind:
fly -t test execute --config ci/tasks/compose.yml --privileged --input docker-image-resource=docker-image-resource/
it-pipeline-dcind:
fly -t test sync
fly -t test dp -p compose
fly -t test set-pipeline -c ci/compose.yml -p compose -l ./secrets.yml
fly -t test unpause-pipeline -p compose
fly -t test check-resource -r compose/docker-image-resource