@@ -228,35 +228,17 @@ jobs:
228
228
type : string
229
229
machine :
230
230
image : << parameters.machine_image >>
231
- # TODO re-enable docker layer caching after file system problems are fixed
232
- # docker_layer_caching: true
233
231
resource_class : << parameters.resource_class >>
234
232
working_directory : /tmp/workspace/repo
235
233
steps :
236
234
- attach_workspace :
237
235
at : /tmp/workspace
238
- - run :
239
- name : Build full docker image
240
- command : make docker-build-full
241
236
- run :
242
237
name : Build community docker image
243
238
command : make docker-build
244
239
- run :
245
- name : Build light docker image
246
- command : make docker-build-light
247
- - run :
248
- name : Build pro docker image
249
- command : make docker-build-pro
250
- - run :
251
- name : Save docker images
252
- command : PLATFORM="<< parameters.platform >>" make docker-save-images
253
- - when :
254
- condition :
255
- equal : [ master, << pipeline.git.branch >> ]
256
- steps :
257
- - run :
258
- name : Run pre-release smoke tests
259
- command : echo "make ci-pro-smoke-tests"
240
+ name : Save docker image
241
+ command : PLATFORM="<< parameters.platform >>" make docker-save-image
260
242
- persist_to_workspace :
261
243
root :
262
244
/tmp/workspace
@@ -286,8 +268,8 @@ jobs:
286
268
- attach_workspace :
287
269
at : /tmp/workspace
288
270
- run :
289
- name : Load docker localstack-full image
290
- command : docker load -i target/localstack-docker-images -<< parameters.platform >>.tar
271
+ name : Load docker image
272
+ command : docker load -i target/localstack-docker-image -<< parameters.platform >>.tar
291
273
- run :
292
274
name : Run integration tests
293
275
# circleci split returns newline separated list, so `tr` is necessary to prevent problems in the Makefile
@@ -308,31 +290,25 @@ jobs:
308
290
- repo/target/metric_reports
309
291
310
292
capture-not-implemented :
311
- parameters :
312
- pro :
313
- description : " Run tests against Pro?"
314
- default : false
315
- type : boolean
316
293
executor : ubuntu-machine-amd64
317
294
working_directory : /tmp/workspace/repo
318
295
steps :
319
296
- attach_workspace :
320
297
at : /tmp/workspace
321
298
- run :
322
- name : Load docker localstack-full image
323
- command : docker load -i target/localstack-docker-images -amd64.tar
299
+ name : Load docker image
300
+ command : docker load -i target/localstack-docker-image -amd64.tar
324
301
- run :
325
302
name : Run localstack
326
303
command : |
327
- <<#parameters.pro>>LOCALSTACK_API_KEY=$TEST_LOCALSTACK_API_KEY<</parameters.pro>> DEBUG=1 DISABLE_EVENTS="1" IMAGE_NAME="localstack/localstack-full :latest" bin/localstack start -d
304
+ DEBUG=1 DISABLE_EVENTS="1" IMAGE_NAME="localstack/localstack:latest" bin/localstack start -d
328
305
bin/localstack wait -t 120 || (bin/localstack logs && false)
329
306
- run :
330
307
name : Run capture-not-implemented
331
308
command : |
332
309
source .venv/bin/activate
333
310
cd scripts
334
- <<#parameters.pro>>mkdir -p pro<</parameters.pro>>
335
- python -m capture_notimplemented_responses <<#parameters.pro>>./pro<</parameters.pro>>
311
+ python -m capture_notimplemented_responses
336
312
- run :
337
313
name : Print the logs
338
314
command : |
@@ -347,8 +323,8 @@ jobs:
347
323
root :
348
324
/tmp/workspace
349
325
paths :
350
- - repo/scripts/<<#parameters.pro>>pro/<</parameters.pro>> implementation_coverage_aggregated.csv
351
- - repo/scripts/<<#parameters.pro>>pro/<</parameters.pro>> implementation_coverage_full.csv
326
+ - repo/scripts/implementation_coverage_aggregated.csv
327
+ - repo/scripts/implementation_coverage_full.csv
352
328
353
329
report :
354
330
executor : ubuntu-machine-amd64
@@ -383,7 +359,6 @@ jobs:
383
359
METRIC_REPORT_FILE=$(find parity_metrics -type f -iname "metric-report-raw-data-all-*.csv")
384
360
METRIC_REPORT_PATH=$METRIC_REPORT_FILE \
385
361
COMMUNITY_IMPL_COV_PATH=scripts/implementation_coverage_full.csv \
386
- PRO_IMPL_COV_PATH=scripts/pro/implementation_coverage_full.csv \
387
362
python -m scripts.tinybird.upload_raw_test_metrics_and_coverage
388
363
- store_artifacts :
389
364
path : parity_metrics/
@@ -393,62 +368,56 @@ jobs:
393
368
- store_artifacts :
394
369
path : scripts/implementation_coverage_full.csv
395
370
destination : community/implementation_coverage_full.csv
396
- - store_artifacts :
397
- path : scripts/pro/implementation_coverage_aggregated.csv
398
- destination : pro/implementation_coverage_aggregated.csv
399
- - store_artifacts :
400
- path : scripts/pro/implementation_coverage_full.csv
401
- destination : pro/implementation_coverage_full.csv
402
371
403
- docker- push :
372
+ push :
404
373
executor : ubuntu-machine-amd64
405
374
working_directory : /tmp/workspace/repo
406
375
steps :
407
376
- attach_workspace :
408
377
at : /tmp/workspace
409
378
- run :
410
- name : Load docker images - amd64
379
+ name : Load docker image - amd64
411
380
command : |
412
- # Load all images for AMD64
413
- docker load -i target/localstack-docker-images -amd64.tar
381
+ # Load all image for AMD64
382
+ docker load -i target/localstack-docker-image -amd64.tar
414
383
- run :
415
384
name : Log in to ECR registry
416
385
command : aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
417
386
- run :
418
- name : Push docker images - amd64
387
+ name : Push docker image - amd64
419
388
command : |
420
389
# Push to Docker Hub
421
- PLATFORM="amd64" make docker-push-master-all
390
+ PLATFORM="amd64" make docker-push-master
422
391
# Push to Amazon Public ECR
423
392
PLATFORM="amd64" SOURCE_IMAGE_NAME="localstack/localstack" TARGET_IMAGE_NAME="public.ecr.aws/localstack/localstack" make docker-push-master
424
- PLATFORM="amd64" SOURCE_IMAGE_NAME="localstack/localstack-pro" TARGET_IMAGE_NAME="public.ecr.aws/localstack/localstack-pro" make docker-push-master
425
393
# Load and push per architecture (load overwrites the previous ones)
426
394
- run :
427
395
name : Load docker image - arm64
428
396
command : |
429
- # Load all images for AMD64
430
- docker load -i target/localstack-docker-images -arm64.tar
397
+ # Load all image for AMD64
398
+ docker load -i target/localstack-docker-image -arm64.tar
431
399
- run :
432
- name : Push docker images - arm64
400
+ name : Push docker image - arm64
433
401
command : |
434
402
# Push to Docker Hub
435
- PLATFORM="arm64" make docker-push-master-all
403
+ PLATFORM="arm64" make docker-push-master
436
404
# Push to Amazon Public ECR
437
405
PLATFORM="arm64" SOURCE_IMAGE_NAME="localstack/localstack" TARGET_IMAGE_NAME="public.ecr.aws/localstack/localstack" make docker-push-master
438
- PLATFORM="arm64" SOURCE_IMAGE_NAME="localstack/localstack-pro" TARGET_IMAGE_NAME="public.ecr.aws/localstack/localstack-pro" make docker-push-master
439
406
- run :
440
- name : Create multi-platform manifests - full
407
+ name : Create multi-platform manifests
441
408
command : |
442
409
# Push to Docker Hub
443
- MANIFEST_IMAGE_NAME="localstack/localstack-full" make docker-create-push-manifests
444
- - run :
445
- name : Create multi-platform manifests - light
446
- command : |
447
-
E377
span> # Push to Docker Hub
448
- make docker-create-push-manifests-light
410
+ make docker-create-push-manifests
449
411
# Push to Amazon Public ECR
450
412
MANIFEST_IMAGE_NAME="public.ecr.aws/localstack/localstack" make docker-create-push-manifests
451
- MANIFEST_IMAGE_NAME="public.ecr.aws/localstack/localstack-pro" make docker-create-push-manifests
413
+ - run :
414
+ name : Publish a dev release
415
+ command : |
416
+ source .venv/bin/activate
417
+ bin/release-helper.sh set-ver $(bin/release-helper.sh next-dev-ver)
418
+ make publish
419
+
420
+
452
421
453
422
workflows :
454
423
main :
@@ -503,12 +472,7 @@ workflows:
503
472
requires :
504
473
- docker-build-amd64
505
474
- capture-not-implemented :
506
- name : collect-not-implemented-community
507
- requires :
508
- - docker-build-amd64
509
- - capture-not-implemented :
510
- name : collect-not-implemented-pro
511
- pro : true
475
+ name : collect-not-implemented
512
476
requires :
513
477
- docker-build-amd64
514
478
- report :
@@ -519,10 +483,9 @@ workflows:
519
483
- itest-sfn-v2-provider
520
484
- docker-test-amd64
521
485
- docker-test-arm64
522
- - collect-not-implemented-community
523
- - collect-not-implemented-pro
486
+ - collect-not-implemented
524
487
- unit-tests
525
- - docker- push :
488
+ - push :
526
489
filters :
527
490
branches :
528
491
only : master
0 commit comments