On 2013-02-16, at 14:25, "[email protected]" <[email protected]> wrote:
> I was looking in the image/ folder with the newImage.sh script as I
> wanted to understand what was happening in there.
>
> So, this requires something like $PHAROVM to exist and be set to
> something proper (added to my .profile)
> Then, there is still ci.lille... in there, to be removed.
>
> Next, I wanted to make sense of the script itself.
>
> I commented out the part where the pregenerated image got downloaded
> as I wanted to see things work from zero and not merely a prebuilt
> image.
>
> So, I commented out the prebuilt part.
>
> # ----------------------------------------------------------------------------
> # echo -e "${YELLOW}LOADING PREBUILT IMAGE" $NO_COLOR
> # echo " $PREBUILT_IMAGE_URL"
>
> # wget $WGET_CERTCHECK "$PREBUILT_IMAGE_URL" --output-document="image.zip" &&
> \
> # unzip image.zip && \
> # rm image.zip && \
> # openImage "$PWD/generator.image" "$PWD/ImageConfiguration.st" && exit 1
>
> And then, I got:
>
> [PhilMac:~/Documents/Smalltalk/2-MyWorkspaces/workspacePharoVMFebruary2013/buildarea/cog/image
> philippeback$] ./newImage.sh
> FETCHING FRESH IMAGE
>
> https://ci.inria.fr/pharo/job/Pharo%201.4/lastSuccessfulBuild/artifact/Pharo-1.4.zip
> --2013-02-16 14:10:11--
> https://ci.inria.fr/pharo/job/Pharo%201.4/lastSuccessfulBuild/artifact/Pharo-1.4.zip
>
> Which failed.
>
> The right URL is:
> URL="https://ci.inria.fr/pharo/view/Pharo-1.4/job/Pharo-1.4/lastSuccessfulBuild/artifact/"
>
> Also, it seems that the original contents of PharoVM do not contain
> the .sources, and this generates a UI message one has to click, which
> is annoying.
>
=> use the urls from our file server and the new build scripts
I didn't forgot to update the descriptions since we were out of builds for a
while:
#get a vm:
wget http://files.pharo.org/script/ciPharoVM.sh
bash ciPharoVM.sh
#get an image:
wget http://files.pharo.org/script/ciPharo14.sh
bash ciPharo14.sh
=> to see what the scripts do run
bash ciPharoVM.sh --help
bash ciPharo14 --help
=> to run an image headlessly do
./vm.sh Pharo.image
=> you'll find a complete lists of images under http://files.pharo.org/image/14
I hope that helps?