7
7
CIRCLE_ARTIFACTS : /tmp/circleci-artifacts
8
8
CIRCLE_TEST_REPORTS : /tmp/circleci-test-results
9
9
docker :
10
- - image : circleci/python:2.7
10
+ - image : circleci/python:2.7
11
11
steps :
12
- - checkout
13
- - run : mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
14
- - run : sudo pip install tox
15
- - run : make test27
16
- - store_test_results :
17
- path : /tmp/circleci-test-results
18
- - store_artifacts :
19
- path : /tmp/circleci-artifacts
20
- - store_artifacts :
21
- path : /tmp/circleci-test-results
12
+ - checkout
13
+ - run : mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
14
+ - run : sudo pip install tox
15
+ - run : make test27
16
+ - store_test_results :
17
+ path : /tmp/circleci-test-results
18
+ - store_artifacts :
19
+ path : /tmp/circleci-artifacts
20
+ - store_artifacts :
21
+ path : /tmp/circleci-test-results
22
22
23
23
test-python3.4 :
24
24
working_directory : ~/lightstep/lightstep-tracer-python
@@ -27,18 +27,18 @@ jobs:
27
27
CIRCLE_ARTIFACTS : /tmp/circleci-artifacts
28
28
CIRCLE_TEST_REPORTS : /tmp/circleci-test-results
29
29
docker :
30
- - image : circleci/python:3.4
30
+ - image : circleci/python:3.4
31
31
steps :
32
- - checkout
33
- - run : mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
34
- - run : sudo pip install tox
35
- - run : make test34
36
- - store_test_results :
37
- path : /tmp/circleci-test-results
38
- - store_artifacts :
39
- path : /tmp/circleci-artifacts
40
- - store_artifacts :
41
- path : /tmp/circleci-test-results
32
+ - checkout
33
+ - run : mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
34
+ - run : sudo pip install tox
35
+ - run : make test34
36
+ - store_test_results :
37
+ path : /tmp/circleci-test-results
38
+ - store_artifacts :
39
+ path : /tmp/circleci-artifacts
40
+ - store_artifacts :
41
+ path : /tmp/circleci-test-results
42
42
43
43
test-python3.5 :
44
44
working_directory : ~/lightstep/lightstep-tracer-python
@@ -47,18 +47,18 @@ jobs:
47
47
CIRCLE_ARTIFACTS : /tmp/circleci-artifacts
48
48
CIRCLE_TEST_REPORTS : /tmp/circleci-test-results
49
49
docker :
50
- - image : circleci/python:3.5
50
+ - image : circleci/python:3.5
51
51
steps :
52
- - checkout
53
- - run : mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
54
- - run : sudo pip install tox
55
- - run : make test35
56
- - store_test_results :
57
- path : /tmp/circleci-test-results
58
- - store_artifacts :
59
- path : /tmp/circleci-artifacts
60
- - store_artifacts :
61
- path : /tmp/circleci-test-results
52
+ - checkout
53
+ - run : mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
54
+ - run : sudo pip install tox
55
+ - run : make test35
56
+ - store_test_results :
57
+ path : /tmp/circleci-test-results
58
+ - store_artifacts :
59
+ path : /tmp/circleci-artifacts
60
+ - store_artifacts :
61
+ path : /tmp/circleci-test-results
62
62
63
63
test-python3.6 :
64
64
working_directory : ~/lightstep/lightstep-tracer-python
@@ -67,18 +67,18 @@ jobs:
67
67
CIRCLE_ARTIFACTS : /tmp/circleci-artifacts
68
68
CIRCLE_TEST_REPORTS : /tmp/circleci-test-results
69
69
docker :
70
- - image : circleci/python:3.6
70
+ - image : circleci/python:3.6
71
71
steps :
72
- - checkout
73
- - run : mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
74
- - run : sudo pip install tox
75
- - run : make test36
76
- - store_test_results :
77
- path : /tmp/circleci-test-results
78
- - store_artifacts :
79
- path : /tmp/circleci-artifacts
80
- - store_artifacts :
81
- path : /tmp/circleci-test-results
72
+ - checkout
73
+ - run : mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
74
+ - run : sudo pip install tox
75
+ - run : make test36
76
+ - store_test_results :
77
+ path : /tmp/circleci-test-results
78
+ - store_artifacts :
79
+ path : /tmp/circleci-artifacts
80
+ - store_artifacts :
81
+ path : /tmp/circleci-test-results
82
82
83
83
test-python3.7 :
84
84
working_directory : ~/lightstep/lightstep-tracer-python
@@ -87,18 +87,107 @@ jobs:
87
87
CIRCLE_ARTIFACTS : /tmp/circleci-artifacts
88
88
CIRCLE_TEST_REPORTS : /tmp/circleci-test-results
89
89
docker :
90
- - image : circleci/python:3.7
90
+ - image : circleci/python:3.7
91
91
steps :
92
- - checkout
93
- - run : mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
94
- - run : sudo pip install tox
95
- - run : make test37
96
- - store_test_results :
97
- path : /tmp/circleci-test-results
98
- - store_artifacts :
99
- path : /tmp/circleci-artifacts
100
- - store_artifacts :
101
- path : /tmp/circleci-test-results
92
+ - checkout
93
+ - run : mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
94
+ - run : sudo pip install tox
95
+ - run : make test37
96
+ - store_test_results :
97
+ path : /tmp/circleci-test-results
98
+ - store_artifacts :
99
+ path : /tmp/circleci-artifacts
100
+ - store_artifacts :
101
+ path : /tmp/circleci-test-results
102
+
103
+ regression_test :
104
+ resource_class : xlarge
105
+ docker :
106
+ - image : circleci/python:3.7.4
107
+ working_directory : ~/repo
108
+ steps :
109
+ - checkout
110
+ - run : cd ~; ~/repo/ci/clone_lightstep_benchmarks.sh
111
+ - run : ~/lightstep-benchmarks/scripts/ci_setup.sh
112
+ - run : sudo pip install -e ~/repo
113
+ - run : |
114
+ cd ~/lightstep-benchmarks/
115
+ pytest -s --client_name python regression_tests.py
116
+ - store_artifacts :
117
+ path : ~/lightstep-benchmarks/logs
118
+ destination : logs
119
+
120
+ make_cpu_graphs :
121
+ resource_class : xlarge
122
+ docker :
123
+ - image : circleci/python:3.7.4
124
+ working_directory : ~/repo
125
+ steps :
126
+ - checkout
127
+ - run : cd ~; ~/repo/ci/clone_lightstep_benchmarks.sh
128
+ - run : ~/lightstep-benchmarks/scripts/ci_setup.sh
129
+ - run : sudo pip install -e ~/repo
130
+ - run : python ~/lightstep-benchmarks/cpu_graphs.py python --runtime 10 --trials 20
131
+ - store_artifacts :
132
+ path : ~/lightstep-benchmarks/graphs
133
+ destination : graphs
134
+ - store_artifacts :
135
+ path : ~/lightstep-benchmarks/logs
136
+ destination : logs
137
+
138
+ make_dropped_graphs :
139
+ resource_class : xlarge
140
+ docker :
141
+ - image : circleci/python:3.7.4
142
+ working_directory : ~/repo
143
+ steps :
144
+ - checkout
145
+ - run : cd ~; ~/repo/ci/clone_lightstep_benchmarks.sh
146
+ - run : ~/lightstep-benchmarks/scripts/ci_setup.sh
147
+ - run : sudo pip install -e ~/repo
148
+ - run : python ~/lightstep-benchmarks/dropped_graphs.py python
149
+ - store_artifacts :
150
+ path : ~/lightstep-benchmarks/graphs
151
+ destination : graphs
152
+ - store_artifacts :
153
+ path : ~/lightstep-benchmarks/logs
154
+ destination : logs
155
+
156
+ make_memory_graphs :
157
+ resource_class : xlarge
158
+ docker :
159
+ - image : circleci/python:3.7.4
160
+ working_directory : ~/repo
161
+ steps :
162
+ - checkout
163
+ - run : cd ~; ~/repo/ci/clone_lightstep_benchmarks.sh
164
+ - run : ~/lightstep-benchmarks/scripts/ci_setup.sh
165
+ - run : sudo pip install -e ~/repo
166
+ - run : python ~/lightstep-benchmarks/memory_graphs.py python
167
+ - store_artifacts :
168
+ path : ~/lightstep-benchmarks/graphs
169
+ destination : graphs
170
+ - store_artifacts :
171
+ path : ~/lightstep-benchmarks/logs
172
+ destination : logs
173
+
174
+ make_disconnect_graphs :
175
+ resource_class : xlarge
176
+ docker :
177
+ - image : circleci/python:3.7.4
178
+ working_directory : ~/repo
179
+ steps :
180
+ - checkout
181
+ - run : cd ~; ~/repo/ci/clone_lightstep_benchmarks.sh
182
+ - run : ~/lightstep-benchmarks/scripts/ci_setup.sh
183
+ - run : sudo pip install -e ~/repo
184
+ - run : python ~/lightstep-benchmarks/disconnect_graphs.py python
185
+ - store_artifacts :
186
+ path : ~/lightstep-benchmarks/graphs
187
+ destination : graphs
188
+ - store_artifacts :
189
+ path : ~/lightstep-benchmarks/logs
190
+ destination : logs
102
191
103
192
workflows :
104
193
version : 2
@@ -109,3 +198,18 @@ workflows:
109
198
- test-python3.5
110
199
- test-python3.6
111
200
- test-python3.7
201
+ - regression_test
202
+ - approve_make_graphs :
203
+ type : approval
204
+ - make_dropped_graphs :
205
+ requires :
206
+ - approve_make_graphs
207
+ - make_memory_graphs :
208
+ requires :
209
+ - approve_make_graphs
210
+ - make_disconnect_graphs :
211
+ requires :
212
+ - approve_make_graphs
213
+ - make_cpu_graphs :
214
+ requires :
215
+ - approve_make_graphs
0 commit comments