Having some trouble on the Pharo Contributions CI
Hi, I seem to be having some trouble on the Pharo Contributions CI. I successfully created some projects before, but this time something strange is happening. It seems as if a win7 slave is doing the build instead of the linux slaves that I am used to. Has something changed ? I want to detect that I am running on the CI so that I can skip some tests that require resources not available there, but I fear the following won't work on Windows: runningOnInriaCI | platform ci | ^ [ platform := OSPlatform current. ci := platform environment at: #CI ifAbsent: [ '' ]. ci = 'ci.inria.fr' ] on: MessageNotUnderstood do: [ false ] What is the recommended way to use linux-only slaves ? Any other ideas ? Thanks, Sven
hi sevn christophe will certainly reply to you tomorrow morning. stef On 31/8/14 17:36, Sven Van Caekenberghe wrote:
Hi,
I seem to be having some trouble on the Pharo Contributions CI. I successfully created some projects before, but this time something strange is happening.
It seems as if a win7 slave is doing the build instead of the linux slaves that I am used to.
Has something changed ?
I want to detect that I am running on the CI so that I can skip some tests that require resources not available there, but I fear the following won't work on Windows:
runningOnInriaCI | platform ci | ^ [ platform := OSPlatform current. ci := platform environment at: #CI ifAbsent: [ '' ]. ci = 'ci.inria.fr' ] on: MessageNotUnderstood do: [ false ]
What is the recommended way to use linux-only slaves ?
Any other ideas ?
Thanks,
Sven
Hey Stef, In the mean time I got my CI job working, there were some errors on my part in there as well (as usual ;-) The question remains how to detect that you are running on CI, because I see this: + ./pharo Pharo.image eval OSPlatform current environment at: #CI ifAbsent: [#none] #none + export CI=ci.inria.fr + ./pharo Pharo.image eval OSPlatform current environment at: #CI ifAbsent: [#none] 'ci.inria.fr' So, $CI is not set by default ... Sven On 31 Aug 2014, at 21:22, stepharo <stepharo@free.fr> wrote:
hi sevn
christophe will certainly reply to you tomorrow morning.
stef On 31/8/14 17:36, Sven Van Caekenberghe wrote:
Hi,
I seem to be having some trouble on the Pharo Contributions CI. I successfully created some projects before, but this time something strange is happening.
It seems as if a win7 slave is doing the build instead of the linux slaves that I am used to.
Has something changed ?
I want to detect that I am running on the CI so that I can skip some tests that require resources not available there, but I fear the following won't work on Windows:
runningOnInriaCI | platform ci | ^ [ platform := OSPlatform current. ci := platform environment at: #CI ifAbsent: [ '' ]. ci = 'ci.inria.fr' ] on: MessageNotUnderstood do: [ false ]
What is the recommended way to use linux-only slaves ?
Any other ideas ?
Thanks,
Sven
participants (2)
-
stepharo -
Sven Van Caekenberghe