File tree Expand file tree Collapse file tree 4 files changed +126
-70
lines changed Expand file tree Collapse file tree 4 files changed +126
-70
lines changed Original file line number Diff line number Diff line change @@ -394,11 +394,12 @@ jobs:
394
394
docker build --tag <<parameters.image>>:<<parameters.tag>> -f ./scripts/reliability/Dockerfile ./scripts/reliability
395
395
- run :
396
396
name : Save cron docker image
397
+ # note: deploy always expects the image to be saved in /tmp/cache
397
398
command : |
398
- mkdir -p /tmp/cron_cache
399
- docker save -o /tmp/cron_cache /<<parameters.image>>.tag <<parameters.image>>
399
+ mkdir -p /tmp/cache
400
+ docker save -o /tmp/cache /<<parameters.image>>.tag <<parameters.image>>
400
401
- persist_to_workspace :
401
- root : /tmp/cron_cache
402
+ root : /tmp/cache
402
403
paths :
403
404
- <<parameters.image>>.tag
404
405
@@ -562,8 +563,8 @@ workflows:
562
563
filters :
563
564
tags :
564
565
only : /.*/
565
- # branches:
566
- # only: master
566
+ branches :
567
+ only : master
567
568
568
569
- build-test-container :
569
570
name : Build Load Test Image
@@ -617,6 +618,18 @@ workflows:
617
618
only : /.*/
618
619
branches :
619
620
only : master
621
+
622
+ - deploy :
623
+ name : deploy-reliability-cron
624
+ image : autopush-reliability-cron
625
+ requires :
626
+ - build-reliability-cron
627
+ filters :
628
+ tags :
629
+ only : /.*/
630
+ branches :
631
+ only : master
632
+
620
633
- deploy :
621
634
name : Push Load Test Image
622
635
image : autopush-load-tests
You can’t perform that action at this time.
0 commit comments