MonetDB / eanthony

Automatically runs asdfree R survey scripts
http://monetdb.cwi.nl/testweb/web/sisyphus/
1 stars 1 forks source link

once a run completes perfectly on a server, wait for a github change #53

Closed ajdamico closed 8 years ago

ajdamico commented 8 years ago

intention:

IF the run was perfect AND the github SHA-ID did not change THEN wait 60 seconds and check SHA-ID again

@hannesmuehleisen could you check if you like this idea? once sisyphus has a perfect run on one of the servers, it's a waste of hardware/electricity to run the exact same tests on the exact same computer with the exact same monetdblite commit, i think? but no problem if you reject.

if you like it, please also check if i did it properly? i don't know bash scripting very well.

trying to show our greek god some mercy

ajdamico commented 8 years ago

@hannesmuehleisen i am not sure if added lines 14-16 are in the correct place, or if they would belong inside the while : do loop..

hannes commented 8 years ago

what about third party package updates or brazilian ftp servers acting up? I think we should just run this forever.

ajdamico commented 8 years ago

you could have it sleep for max of one week? but no argument from me. pretty cool bash coding though, huh? ;)

On Sunday, May 29, 2016, Hannes Mühleisen notifications@github.com wrote:

what about third party package updates or brazilian ftp servers acting up? I think we should just run this forever.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MonetDB/eanthony/pull/53#issuecomment-222351958, or mute the thread https://github.com/notifications/unsubscribe/AANO53enoGq52lPbHaX7i79G6hq-Z54-ks5qGWCXgaJpZM4IpMpg .

hannes commented 8 years ago

cool coding yes :) its more of an academic issue though, and we can still hide subsequent perfect runs in ui (should those ever happen)