-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH gets latest image if more than one #472
ENH gets latest image if more than one #472
Conversation
…ame string contained in the name
not sure how to make tests for it though.... |
merge if you need to move on. We will know very quickly if it works :) |
Codecov Report
@@ Coverage Diff @@
## master #472 +/- ##
==========================================
+ Coverage 93.54% 93.56% +0.01%
==========================================
Files 99 99
Lines 8496 8496
==========================================
+ Hits 7948 7949 +1
+ Misses 548 547 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small nitpicks but otherwise, looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two nitpicks but good to go otherwise :)
… into launch_instance_update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks @tomMoral and @agramfort |
* enable getting the newest image if there are more than one with the same string contained in the name * cleanup * cleanup * clean up * typo * update the tests
* enable getting the newest image if there are more than one with the same string contained in the name * cleanup * cleanup * clean up * typo * update the tests
use case: when pipeline is used each next version of the image will have the name image_name_{date_time_of_creation}
this PR enables a worker to find all the images which include the name image_name in their name and to select the newest one.
This only works if the image_name is given in the config file. If the id of the image will be given the worker will always use the same image with that ID.