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:
394394 docker build --tag <<parameters.image>>:<<parameters.tag>> -f ./scripts/reliability/Dockerfile ./scripts/reliability
395395 - run :
396396 name : Save cron docker image
397+ # note: deploy always expects the image to be saved in /tmp/cache
397398 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>>
400401 - persist_to_workspace :
401- root : /tmp/cron_cache
402+ root : /tmp/cache
402403 paths :
403404 - <<parameters.image>>.tag
404405
@@ -562,8 +563,8 @@ workflows:
562563 filters :
563564 tags :
564565 only : /.*/
565- # branches:
566- # only: master
566+ branches :
567+ only : master
567568
568569 - build-test-container :
569570 name : Build Load Test Image
@@ -617,6 +618,18 @@ workflows:
617618 only : /.*/
618619 branches :
619620 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+
620633 - deploy :
621634 name : Push Load Test Image
622635 image : autopush-load-tests
You can’t perform that action at this time.
0 commit comments