This repository was archived by the owner on Jun 23, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-18
lines changed Expand file tree Collapse file tree 2 files changed +10
-18
lines changed Original file line number Diff line number Diff line change @@ -70,3 +70,7 @@ build-integration-tests:
70
70
-i \
71
71
-o ${BIN_DIR} /integration-tests \
72
72
./test/integration
73
+
74
+ .PHONY : version
75
+ version :
76
+ @echo ${VERSION}
Original file line number Diff line number Diff line change 5
5
- script :
6
6
name : write VERSION.txt
7
7
code : |
8
- git describe --always --dirty > ${WERCKER_OUTPUT_DIR}/ VERSION.txt
9
- cat ${WERCKER_OUTPUT_DIR}/ VERSION.txt
8
+ make version > VERSION.txt
9
+ cat VERSION.txt
10
10
11
11
- script :
12
12
name : check boilerplate
@@ -16,31 +16,19 @@ build:
16
16
name : go fmt
17
17
code : make gofmt
18
18
19
- - script :
20
- name : build
21
- code : |
22
- make build
23
- make build-integration-tests
24
-
25
19
- script :
26
20
name : go vet
27
21
code : make govet
28
22
29
23
- script :
30
24
name : unit tests
31
25
code : make test
32
-
33
- - script :
34
- name : copy build artifacts
35
- code : cp -R dist ${WERCKER_OUTPUT_DIR}/
36
-
26
+
37
27
- script :
38
- name : copy test artifacts
28
+ name : build
39
29
code : |
40
- mkdir -p ${WERCKER_OUTPUT_DIR}/test
41
- cp -R test/integration ${WERCKER_OUTPUT_DIR}/test/
42
- cp -R test/system ${WERCKER_OUTPUT_DIR}/test/
43
- cp -R ansible ${WERCKER_OUTPUT_DIR}/
30
+ make build
31
+ make build-integration-tests
44
32
45
33
integration-test :
46
34
box :
You can’t perform that action at this time.
0 commit comments