Issue 7234 in pharo: One-Click Build missing on new CI Setup

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 7234 in pharo: One-Click Build missing on new CI Setup

pharo
Status: CIFixeNeeded
Owner: [hidden email]
Labels: Type-Bug Target-Jenkins Milestone-2.0

New issue 7234 by [hidden email]: One-Click Build missing on new CI  
Setup
http://code.google.com/p/pharo/issues/detail?id=7234

https://ci.inria.fr/pharo/view/Pharo-2.0/job/Pharo-2.0/

One-Click build is missing. Needs to be added




_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7234 in pharo: One-Click Build missing on new CI Setup

pharo

Comment #2 on issue 7234 by [hidden email]: One-Click Build missing  
on new CI Setup
http://code.google.com/p/pharo/issues/detail?id=7234

https://ci.inria.fr/pharo/view/Pharo-2.0/job/Pharo-2.0/lastSuccessfulBuild/artifact/Pharo2.0-one-click.zip 
is  
now present, but the file it points to is broken (at least on Mac). I  
took a quick look and one of the problems is that theres no  
Contents/MacOs/[whatever vm executable is called]


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7234 in pharo: One-Click Build missing on new CI Setup

pharo
In reply to this post by pharo
Issue 7234: One-Click Build missing on new CI Setup
http://code.google.com/p/pharo/issues/detail?id=7234

This issue is now blocking issue pharo:7315.
See http://code.google.com/p/pharo/issues/detail?id=7315

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7234 in pharo: One-Click Build missing on new CI Setup

pharo
In reply to this post by pharo

Comment #4 on issue 7234 by [hidden email]: One-Click Build missing  
on new CI Setup
http://code.google.com/p/pharo/issues/detail?id=7234

Yes, I already check out the needed script and files, download the vm and  
run the script...
But it copies things wrong.

(I am too dumb to copy files using a bash script. true)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7234 in pharo: One-Click Build missing on new CI Setup

pharo

Comment #5 on issue 7234 by [hidden email]: One-Click Build missing  
on new CI Setup
http://code.google.com/p/pharo/issues/detail?id=7234

That's we we're not inventing the future in Bash ;)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7234 in pharo: One-Click Build missing on new CI Setup

pharo
Updates:
        Status: FixToInclude

Comment #6 on issue 7234 by [hidden email]: One-Click Build missing  
on new CI Setup
http://code.google.com/p/pharo/issues/detail?id=7234

For linux the path to the vm and the name has changed, the following script  
works:

#!/bin/bash

# path
DIR=`readlink -f $0` #resolve symlink
ROOT=`dirname $DIR` #obtain dir of the resolved path
LINUX="$ROOT/Contents/Linux/nbcog-linux-latest"
RESOURCES="$ROOT/Contents/Resources"

# icon (note: gvfs-set-attribute is found in gvfs-bin on Ubuntu
# systems and it seems to require an absolute filename)
gvfs-set-attribute \
        "$0" \
        "metadata::custom-icon" \
        "file://$RESOURCES/Pharo.png" \
                2> /dev/null

# zenity is part of GNOME
image_count=`ls "$RESOURCES"/*.image 2>/dev/null |wc -l`
if which zenity &>/dev/null && [ "$image_count"  -ne 1 ]; then
        image=`zenity --title 'Select an image' --file-selection  
--filename "$RESOURCES/" --file-filter '*.image' --file-filter '*'`
else
        image="$RESOURCES/Pharo2.0-one-click.image"
fi

# execute
exec "$LINUX/NBCog" \
        -plugins "$LINUX" \
        -encoding utf8 \
        -vm-display-X11 \
        "$image"

Attachments:
        Pharo2.0-one-click.sh  848 bytes


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7234 in pharo: One-Click Build missing on new CI Setup

pharo

Comment #7 on issue 7234 by [hidden email]: One-Click Build missing  
on new CI Setup
http://code.google.com/p/pharo/issues/detail?id=7234

this new one is for the builder from  
https://gitorious.org/pharo-build/pharo-build/trees/master, without the  
need to change the runner script above.

Checked for Linux, please wait while I check on mac and win.

Attachments:
        build-oneclick.sh  6.3 KB


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7234 in pharo: One-Click Build missing on new CI Setup

pharo

Comment #8 on issue 7234 by [hidden email]: One-Click Build missing  
on new CI Setup
http://code.google.com/p/pharo/issues/detail?id=7234

Works on mac and win also.

So I don't know how this is run by the integration server but this what I  
did.
(writting down for next time), the problem was that we moved from cogvm to  
nbcog and the zips that are downloaded have different paths and names  
inside them.

a) downloaded the scripts from:  
https://gitorious.org/pharo-build/pharo-build/trees/master

b) created an image directory and put the image I wanted to create the  
one-click with the sources and the changes inside

c) changed the build-oneclick.sh to reflect the new zip hierarchy: this is  
from line 174 and onward

d) run the script like this: /build-oneclick.sh -i Pharo2.0-one-click -o  
pharo2.0 -n pharo -t Pharo -v 2.0 -c Pharo -w Feb082013

where Pharo2.0-one-click is the name of the image in the images directory

e) tested on linux, mac and windows

Attachments:
        build-oneclick.sh  6.3 KB


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7234 in pharo: One-Click Build missing on new CI Setup

pharo
Updates:
        Status: Closed

Comment #9 on issue 7234 by [hidden email]: One-Click Build missing  
on new CI Setup
http://code.google.com/p/pharo/issues/detail?id=7234

So we now get a one-click that works on mac, it has more garbage but that  
is another issue.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker