File tree 8 files changed +36
-176
lines changed
8 files changed +36
-176
lines changed Original file line number Diff line number Diff line change 49
49
mkdir circle ; cp dist/amd64/installer/*.squash circle
50
50
- store_artifacts :
51
51
path : circle
52
- yetus :
53
- docker :
54
- - image : apache/yetus:0.12.0
55
- steps :
56
- - checkout
57
- # create a fake artifact so that Apache Yetus knows the URL
58
- - run :
59
- name : make artifact dir
60
- command : mkdir -p /tmp/yetus-out
61
- - run :
62
- name : bootstrap artifacts
63
- command : echo "bootstrap" > /tmp/yetus-out/bootstrap
64
- - store_artifacts :
65
- path : /tmp/yetus-out
66
- # now actually run Apache Yetus precommit
67
- - run :
68
- name : yetus
69
- command : make yetus
70
- - store_test_results :
71
- path : /tmp/yetus-out
72
- - store_artifacts :
73
- path : /tmp/yetus-out
74
52
workflows :
75
53
version : 2.1
76
54
build-stuff :
77
55
jobs :
78
- - yetus
79
56
- test
80
57
- build
Original file line number Diff line number Diff line change 22
22
fetch-depth : 0
23
23
24
24
- name : Yetus
25
- uses : apache/yetus-test-patch-action@main
25
+ uses : apache/yetus-test-patch-action@0.13.0
26
26
with :
27
27
basedir : ./src
28
28
bufbasedir : api/proto
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # shellcheck disable=SC2034
4
+ personality_globals () {
5
+
6
+ # at some point, we should wire up make but
7
+ # for now this is fine
8
+ BUILDTOOL=nobuild
9
+
10
+ # configure buf
11
+ BUF_BASEDIR=api/proto
12
+
13
+ # we want this on so master does not break
14
+ CONTINUOUS_IMPROVEMENT=true
15
+
16
+ # set the project name for reports, etc
17
+ PROJECT=" eve"
18
+
19
+ # configure revive
20
+ REVIVE_CONFIG=.revive.toml
21
+
22
+ delete_test_type asflicense
23
+ delete_test_type author
24
+ delete_test_type findbugs
25
+ delete_test_type gitlab
26
+ delete_test_type jira
27
+ delete_test_type shelldocs
28
+ delete_test_type spotbugs
29
+
30
+ }
Original file line number Diff line number Diff line change @@ -243,7 +243,11 @@ clean:
243
243
244
244
yetus :
245
245
@echo Running yetus
246
- build-tools/src/yetus/test-patch.sh
246
+ docker run -it --rm -v $(CURDIR ) :/src:delegated -v /tmp:/tmp apache/yetus:0.13.0 \
247
+ --basedir=/src \
248
+ --dirty-workspace \
249
+ --empty-patch \
250
+ --plugins=all
247
251
248
252
build-tools : $(LINUXKIT )
249
253
@echo Done building $<
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments