@@ -5,7 +5,7 @@ on: [push, pull_request]
5
5
jobs :
6
6
unit :
7
7
runs-on : ubuntu-latest
8
- timeout-minutes : 30
8
+ timeout-minutes : 60
9
9
10
10
strategy :
11
11
matrix :
51
51
52
52
lint :
53
53
runs-on : ubuntu-latest
54
- timeout-minutes : 10
54
+ timeout-minutes : 60
55
55
56
56
steps :
57
57
- name : Checkout
90
90
91
91
build :
92
92
runs-on : ubuntu-latest
93
- timeout-minutes : 15
93
+ timeout-minutes : 60
94
94
95
95
steps :
96
96
- name : Checkout
@@ -132,7 +132,7 @@ jobs:
132
132
133
133
integration-wrk-1 :
134
134
runs-on : ubuntu-latest
135
- timeout-minutes : 15
135
+ timeout-minutes : 60
136
136
137
137
services :
138
138
redis :
@@ -145,7 +145,7 @@ jobs:
145
145
146
146
strategy :
147
147
matrix :
148
- node-version : [10 .x]
148
+ node-version : [12 .x]
149
149
fail-fast : false
150
150
151
151
steps :
@@ -183,36 +183,42 @@ jobs:
183
183
- name : Lerna tsc
184
184
run : yarn lerna run --concurrency 1 tsc
185
185
- name : Run Postgres Integration with 9.6
186
+ timeout-minutes : 10
186
187
run : |
187
188
docker pull postgres:${TEST_PGSQL_VERSION}
188
189
yarn lerna run --concurrency 1 --ignore @cubejs-backend/jdbc-driver integration:postgres
189
190
env :
190
191
TEST_PGSQL_VERSION : 9.6
191
192
- name : Run Postgres Integration with 10
193
+ timeout-minutes : 10
192
194
run : |
193
195
docker pull postgres:${TEST_PGSQL_VERSION}
194
196
yarn lerna run --concurrency 1 --ignore @cubejs-backend/jdbc-driver integration:postgres
195
197
env :
196
198
TEST_PGSQL_VERSION : 10
197
199
- name : Run Postgres Integration with 11
200
+ timeout-minutes : 10
198
201
run : |
199
202
docker pull postgres:${TEST_PGSQL_VERSION}
200
203
yarn lerna run --concurrency 1 --ignore @cubejs-backend/jdbc-driver integration:postgres
201
204
env :
202
205
TEST_PGSQL_VERSION : 11
203
206
- name : Run Postgres Integration with 12
207
+ timeout-minutes : 10
204
208
run : |
205
209
docker pull postgres:${TEST_PGSQL_VERSION}
206
210
yarn lerna run --concurrency 1 --ignore @cubejs-backend/jdbc-driver integration:postgres
207
211
env :
208
212
TEST_PGSQL_VERSION : 12
209
213
- name : Run MS SQL Integration with 2017-latest
214
+ timeout-minutes : 10
210
215
run : |
211
216
docker pull mcr.microsoft.com/mssql/server:${TEST_MSSQL_VERSION}
212
217
yarn lerna run --concurrency 1 --ignore @cubejs-backend/jdbc-driver integration:mssql
213
218
env :
214
219
TEST_MSSQL_VERSION : 2017-latest
215
220
- name : Run MS SQL Integration with 2019-latest
221
+ timeout-minutes : 10
216
222
run : |
217
223
docker pull mcr.microsoft.com/mssql/server:${TEST_MSSQL_VERSION}
218
224
yarn lerna run --concurrency 1 --ignore @cubejs-backend/jdbc-driver integration:mssql
@@ -221,7 +227,7 @@ jobs:
221
227
222
228
integration-wrk-2 :
223
229
runs-on : ubuntu-latest
224
- timeout-minutes : 15
230
+ timeout-minutes : 60
225
231
226
232
services :
227
233
redis :
@@ -234,7 +240,7 @@ jobs:
234
240
235
241
strategy :
236
242
matrix :
237
- node-version : [10 .x]
243
+ node-version : [12 .x]
238
244
fail-fast : false
239
245
240
246
steps :
@@ -272,30 +278,35 @@ jobs:
272
278
- name : Lerna tsc
273
279
run : yarn lerna run --concurrency 1 tsc
274
280
- name : Run MySQL Integration with 5.6
281
+ timeout-minutes : 10
275
282
run : |
276
283
docker pull mysql:${TEST_MYSQL_VERSION}
277
284
yarn lerna run --concurrency 1 --ignore @cubejs-backend/jdbc-driver integration:mysql
278
285
env :
279
286
TEST_MYSQL_VERSION : 5.6
280
287
- name : Run MySQL Integration with 5.7
288
+ timeout-minutes : 10
281
289
run : |
282
290
docker pull mysql:${TEST_MYSQL_VERSION}
283
291
yarn lerna run --concurrency 1 --ignore @cubejs-backend/jdbc-driver integration:mysql
284
292
env :
285
293
TEST_MYSQL_VERSION : 5.7
286
294
- name : Run Clickhouse Integration with 20.6
295
+ timeout-minutes : 10
287
296
run : |
288
297
docker pull yandex/clickhouse-server:${TEST_CLICKHOUSE_VERSION}
289
298
yarn lerna run --concurrency 1 --ignore @cubejs-backend/jdbc-driver integration:clickhouse
290
299
env :
291
300
TEST_CLICKHOUSE_VERSION : 20.6
292
301
- name : Run Clickhouse Integration with 20
302
+ timeout-minutes : 10
293
303
run : |
294
304
docker pull yandex/clickhouse-server:${TEST_CLICKHOUSE_VERSION}
295
305
yarn lerna run --concurrency 1 --ignore @cubejs-backend/jdbc-driver integration:clickhouse
296
306
env :
297
307
TEST_CLICKHOUSE_VERSION : 20
298
308
- name : Run Clickhouse Integration with 19
309
+ timeout-minutes : 10
299
310
run : |
300
311
docker pull yandex/clickhouse-server:${TEST_CLICKHOUSE_VERSION}
301
312
yarn lerna run --concurrency 1 --ignore @cubejs-backend/jdbc-driver integration:clickhouse
@@ -304,7 +315,7 @@ jobs:
304
315
305
316
integration-wrk-3 :
306
317
runs-on : ubuntu-latest
307
- timeout-minutes : 15
318
+ timeout-minutes : 60
308
319
309
320
services :
310
321
redis :
@@ -317,7 +328,7 @@ jobs:
317
328
318
329
strategy :
319
330
matrix :
320
- node-version : [10 .x]
331
+ node-version : [12 .x]
321
332
fail-fast : false
322
333
323
334
steps :
@@ -355,6 +366,7 @@ jobs:
355
366
- name : Lerna tsc
356
367
run : yarn lerna run --concurrency 1 tsc
357
368
- name : Run PrestoDB Integration with Postgres 12.4
369
+ timeout-minutes : 15
358
370
run : |
359
371
docker pull lewuathe/presto-coordinator:${TEST_PRESTO_VERSION}
360
372
docker pull lewuathe/presto-worker:${TEST_PRESTO_VERSION}
@@ -364,6 +376,7 @@ jobs:
364
376
TEST_PGSQL_VERSION : 12.4
365
377
TEST_PRESTO_VERSION : 341-SNAPSHOT
366
378
- name : Run Druid Integration with 0.0.19
379
+ timeout-minutes : 15
367
380
run : |
368
381
docker pull postgres:${TEST_POSTGRES_VERSION}
369
382
docker pull zookeeper:${TEST_ZOOKEEPER_VERSION}
@@ -373,3 +386,43 @@ jobs:
373
386
TEST_POSTGRES_VERSION : latest
374
387
TEST_ZOOKEEPER_VERSION : 3.5
375
388
TEST_DRUID_VERSION : 0.19.0
389
+
390
+ docker-image-latest :
391
+ runs-on : ubuntu-latest
392
+ timeout-minutes : 60
393
+
394
+ steps :
395
+ - name : Checkout
396
+ uses : actions/checkout@v2
397
+ - name : Set up QEMU
398
+ uses : docker/setup-qemu-action@v1
399
+ - name : Set up Docker Buildx
400
+ uses : docker/setup-buildx-action@v1
401
+ - name : Build only
402
+ uses : docker/build-push-action@v2
403
+ timeout-minutes : 15
404
+ with :
405
+ context : ./packages/cubejs-docker
406
+ file : ./packages/cubejs-docker/latest.Dockerfile
407
+ platforms : linux/amd64
408
+ push : false
409
+
410
+ docker-image-dev :
411
+ runs-on : ubuntu-latest
412
+ timeout-minutes : 60
413
+
414
+ steps :
415
+ - name : Checkout
416
+ uses : actions/checkout@v2
417
+ - name : Set up QEMU
418
+ uses : docker/setup-qemu-action@v1
419
+ - name : Set up Docker Buildx
420
+ uses : docker/setup-buildx-action@v1
421
+ - name : Build only
422
+ uses : docker/build-push-action@v2
423
+ timeout-minutes : 15
424
+ with :
425
+ context : .
426
+ file : ./packages/cubejs-docker/dev.Dockerfile
427
+ platforms : linux/amd64
428
+ push : false
0 commit comments