smoser | harlowja, how do i stop this from happening | 02:28 |
---|---|---|
smoser | aka, please show me how to run your tox-runner thing. | 02:28 |
smoser | i can probably also manage a python2.6 tox runner... actually, powersj might be able to help with something | 02:28 |
=== shardy is now known as shardy_lunch | ||
Tim_ | hi | 11:41 |
Tim_ | could someone provide the steps to create a cloud-init ready windows image? | 11:42 |
cpaelzer | Tim_: do you mean a "windows image" like Windows Server 2012/2016 or "windows image" like in Ubuntu or such running on Azure (which isn't a windows image IMHO)? | 12:11 |
=== shardy_lunch is now known as shardy | ||
Tim_ | oh, sorry. :-) I'm using xenserver with xen-orchestra, and I'd like to create a cloud ready windows 2012r2 template | 12:15 |
cpaelzer | Tim_: this is kind of out of my scope, but AFAIK the cloud init this channel is for has no native windows function | 12:17 |
cpaelzer | smoser: is this correct or did I miss something ^^? | 12:17 |
Tim_ | I found win images on cloudbase, but I'm not sure if it's the same thing | 12:22 |
cpaelzer | Tim_: it is a different thing | 12:23 |
cpaelzer | Tim_: what you refer to is based on https://github.com/openstack/cloudbase-init I think | 12:23 |
powersj | smoser, I could investigate a 2.6 tox - how urgent? | 13:49 |
smoser | powersj, well... you woudlnt be able to run it in c-i until c-i supports git :) | 13:50 |
smoser | so, less urgent than that i think. | 13:50 |
powersj | ah true :) I could at least see what it takes to add it to tox.ini | 13:50 |
smoser | powersj, so, the tircky thing in ubuntu is *getting* py26 | 13:55 |
smoser | https://launchpad.net/ubuntu/+source/python2.6 | 13:56 |
smoser | no python2.6 in any supported ubuntu | 13:56 |
smoser | that is how old it is | 13:56 |
smoser | there is https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes?field.series_filter=vivid | 13:57 |
powersj | lol | 13:57 |
smoser | i've used the dead-snakes before | 13:57 |
cpaelzer | really - dead snakes | 13:59 |
cpaelzer | ... on a plane I guess | 13:59 |
cpaelzer | powersj: if you want to do the triaging session now please let me know | 14:01 |
powersj | cpaelzer, give me 5 to finish breakfast | 14:01 |
cpaelzer | powersj: so the world collides with breakfast vs dinner constraints :-) no hurry at all - just ping me when you are really ready | 14:02 |
powersj | haha ok :) | 14:02 |
powersj | cpaelzer, shall we :) | 14:08 |
cpaelzer | powersj: yep, powering up HO | 14:08 |
cpaelzer | powersj: somewhere a bell should ring :-) | 14:10 |
cpaelzer | powersj: but to easen this https://hangouts.google.com/hangouts/_/canonical.com/triagethepainuhbugs | 14:10 |
harlowja | smoser compile it in a jenkins job then test against that :-P | 17:17 |
harlowja | powersj smoser feel free to take https://gist.github.com/harlowja/6329b413a7572417148d9a292330f9bb :-P | 17:17 |
harlowja | its the jenkins pipeline groovy stuff that i'm using | 17:18 |
harlowja | +- some other functions u aren't seeing there, lol | 17:18 |
harlowja | but if u just using jenkins | 17:18 |
harlowja | then add in to that groovy there a step to "build-python26" | 17:18 |
harlowja | but sure smoser if u want to use the remote-tox stuff | 17:23 |
harlowja | i can show u :-P | 17:23 |
harlowja | few ways to skin this cat | 17:23 |
smoser | didnt you show me something that you had? a remote tox runner with py26 ? | 17:23 |
harlowja | ya, but u still need a machien somewhere with 26, ha | 17:32 |
harlowja | https://github.com/harlowja/remote_tox#remotetox | 17:32 |
harlowja | not super complicated stuff ^ | 17:32 |
smoser | harlowja, ah. i thought you were giving us said machine | 17:55 |
harlowja | lol | 17:56 |
smoser | aren't you running a free cloud platform ? | 17:56 |
harlowja | errrr | 17:56 |
smoser | doesnt it cost like $1 year for my own domain ? | 17:57 |
harlowja | something like that, ha | 17:57 |
smoser | just run me a domain with py26 and bill your employer. | 17:57 |
harlowja | hmmmm | 17:57 |
harlowja | tempted to try that, lol | 17:57 |
smoser | tox-for-dead-snakes.com is still open | 17:58 |
harlowja | neat, i think travis still does 26 also | 17:59 |
harlowja | so maybe travis can be plugged in | 17:59 |
harlowja | at least to run it and (report back here?) | 17:59 |
smoser | y | 18:00 |
harlowja | let me see about that | 18:02 |
harlowja | or if others have time, they are welcome to also :-P | 18:03 |
harlowja | may just involve either a .travis.yml file in cloud-init | 18:03 |
harlowja | or telling travis what to run | 18:03 |
harlowja | something like https://github.com/jd/tenacity/blob/00fe1f1cd026a3b2a8c641c12552bf5cfe945990/.travis.yml | 18:04 |
harlowja | (for example) | 18:04 |
smoser | harlowja, random python mock question | 18:05 |
smoser | class Foo(SuperClass): | 18:06 |
smoser | pass | 18:06 |
smoser | how can i replace Superclass with something else when testing Foo | 18:06 |
smoser | i used @mock.patch("path.of.import.SuperClass", new=something.else) | 18:07 |
smoser | that worked for testing SuperClass | 18:07 |
smoser | but then i tried to test Foo similarly, and its reference to its SuperClass is already made so i couldnt replace it | 18:07 |
smoser | (i think) | 18:07 |
harlowja | eck | 18:08 |
harlowja | not sure | 18:08 |
harlowja | never tried that | 18:08 |
harlowja | why u doing that, lol | 18:08 |
harlowja | don't do that, hahaha | 18:08 |
smoser | ok | 18:10 |
harlowja | annnnd smoser | 18:17 |
harlowja | https://github.com/kubernetes/kubernetes/pull/30757#issuecomment-242795731 | 18:17 |
harlowja | u may be interested in that | 18:18 |
harlowja | something about openstack + k8s and they are reading /var/lib/cloud | 18:18 |
harlowja | and https://github.com/kubernetes/kubernetes/pull/30757#issuecomment-242770372 | 18:18 |
smoser | what we want there is the cloud-inti query | 18:19 |
smoser | thats what i want to reply to that with | 18:19 |
harlowja | right | 18:19 |
harlowja | reply with that ;) | 18:19 |
smoser | or well formed json in that dir | 18:19 |
harlowja | right | 18:19 |
harlowja | but yes, u should reply, ha | 18:20 |
harlowja | @smoser any idea bout https://gist.github.com/harlowja/5c67d774a65c3f5c2b8f342ef78c58a0 ? | 21:22 |
harlowja | lol | 21:22 |
harlowja | hmmmm, looks like travis is to much connected into github to be useable outside very easily | 23:17 |
harlowja | so i mean i could sync into github i guess :-/ | 23:18 |
harlowja | and then use travis | 23:18 |
harlowja | puke | 23:18 |
harlowja | @smoser are u ever syncing https://github.com/cloud-init/cloud-init ? | 23:19 |
harlowja | perhaps can plug that into travis if so | 23:19 |
harlowja | i think a mirror from the offical to there would let travis then run | 23:19 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!