Closed (fixed)
Project:
DrupalCI: Test Runner
Component:
DrupalCI console script
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Sep 2015 at 19:14 UTC
Updated:
16 Nov 2015 at 18:34 UTC
Jump to comment: Most recent
drupalci does not seem to support the usage of tags.
I want to create container profiles so that
Image: "drupalci/web-5.5:dev"
works.
I think the way the image name is parsed it doesn't know what to do with the extra information.
Comments
Comment #4
isntall commentedThis does pretty much nothing without #2569715: Add option for dev containers, but it should lay the ground work.
For now these changes should not affect anything.
Comment #5
MixologicWe'll have to make sure to specify the production tag when this goes up to production, otherwise it will default to 'latest', and if we have 'latest' 'production' and 'dev' then we'll have some confusion about what 'latest' is for.. so.. if there is going to be problems with not having a latest, we should probably just find that out now. Im pretty sure that 'latest' is only a convention, and not baked into any other tools.
Also, anytime we have a bunch of nutzo string manipulations, like
$host_part = str_replace(':', '-', str_replace('.', '-', $source_value));We ought to put a comment in there as to why we're doing that. Although this particular example looks like it would be simplified with a preg_replace instead of str_replace.
Otherwise, if this tests out on dev with dev containers, it LGTM.
Comment #6
isntall commentedAt the moment, I setup the build triggers to have 'production' and 'latest' be built from the same branch. Once we're more confident we can change that.
preg_replace was the function i was forgetting last night. I'll get that implemented.
Comment #7
isntall commentedScratch preg_replace, I found what i was really trying to remember, which was str_replace allows for an array for the search string.
$host_part = str_replace([':', '.'], '-', $source_value);Comment #9
Mixologicyup.
Comment #10
isntall commentedThis has been merged into the dev branch.
Comment #11
jthorson commentedComment #12
isntall commenteddev has been merged into production, and pushed into production.