a70e7fb1f4d61f4e2ed17d27b47af88176cd623b
f0c9d2581afd03b41dfc304365890e5484843beb
This commits add the total time of a compose and the time for each phases of a compose in the ticket created.
This is committed on top of #28 since it introduced the unit test framework
LGTM :thumbsup:
It looks like this test will start failing if we remove skipping of IoT from the configuration file. It feels like we should inject that value here like {"consumer_config": {"composes_to_skip": ["IoT"]}}, instead of relying on that setting in the config file
IoT
{"consumer_config": {"composes_to_skip": ["IoT"]}},
took FAILED is awkward. reword?
took FAILED
how about we say Compose phase {p} time: instead of "took"
Compose phase {p} time:
why don't we move this back to the top and just add another variable.. so at the top we have:
linedate = lines[x-1][:19] line = lines[x-1][20:] # trim date off log lines nextline = lines[x][20:] # trim date off log lines
and then you can use dt.datetime.fromisoformat(linedate) in the two calls above
dt.datetime.fromisoformat(linedate)
@cverna - a few comments from me above ^^
nice work - and thanks for doing this.
Changed :thumbsup:
Yes, I used at during development to make sure that the config file was valid and that I could access the value in it. But I agree it would be better to just mock it so I have changed it :-).
:thumbsup: updated
2 new commits added
Add the time it takes to make a compose to the tickets.
Skip tickets for specific composes.
@dustymabe I have addressed your comments. Thanks for the review :smile:
@cverna - this LGTM
Since we are moving to Fedora 31 we need to "redeploy" the app to get a new imagestream.
What do you think about trying your hand at deploying this app to stage and then to prod openshift? https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org/message/DR53T4YLQ57DHWWY64EU3BOALIXALBFE/
can you merge this?
@cverna - this LGTM Since we are moving to Fedora 31 we need to "redeploy" the app to get a new imagestream. What do you think about trying your hand at deploying this app to stage and then to prod openshift? https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org/message/DR53T4YLQ57DHWWY64EU3BOALIXALBFE/
Works for me :thumbsup:
Nope I don't have the correct permissions.
Pull-Request has been merged by dustymabe
gave you write access to the repo too!
This commits add the total time of a compose and the time for each phases of a compose in the ticket created.
This is committed on top of #28 since it introduced the unit test framework