Hi Tim,

It should be relatively straightforward to use smalltalkCI on Gitlab CI.
All you have to take care of is to ensure the Linux container has all Pharo
dependencies [1] installed correctly. If you append smalltalkCI's `bin`
directory to your $PATH, you can simply call `smalltalkci -s Pharo-6.0` in
your project's root directory to test against Pharo-6.0.

Hope this helps. And if you work out a simple and generic way of using
smalltalkCI on Gitlab, please feel free to open a PR against smalltalkCI
and contribute a template :)

Best,
Fabio

[1]
https://github.com/travis-ci/travis-build/blob/51ebd738f537a82874b03cb964ecabc042e83aac/lib/travis/build/script/smalltalk.rb#L15-L16

On Tue, May 15, 2018 at 12:40 AM Tim Mackinnon <tim@testit.works> wrote:

> Hi Sean - thanks for mentioning that - I tried it ages ago and didn’t get
> on well with it on Travs. But I don’t understand how it works on Gitlab -
> and the project readme.md seems to assume you understand how its
> approaching the problem (which possibly has changed over the years).
>
> Looking at your url - how is that running a project that you have in a
> different repo? Is there some web hook that causes it to then trigger a
> build cycle? I can see you edited a BaselineOfGitLabCI and added a
> BabyPhexample
> <https://gitlab.com/SeanDeNigris/gitlab-smalltalk-ci/commit/d59ba3788aa86bde3f87a17018472cdedf3be78b>
>  -
> which seems a bit inside out to me - but I’m hanging in there (so do you
> add other projects in this same file?).
>
> I also don’t understand the pipeline model - there seems to be just one
> pipeline (and gitlab has great pipeline support)?
>
> And then - when it all builds successfully - how does it deploy (hence my
> pipeline question).
>
> I’m lost - but curious, as maybe I can save time on what I’m doing
> (writing more apps vs pissing around with missing infrastructure).
>
> Tim
>
> On 14 May 2018, at 22:38, Sean P. DeNigris <s...@clipperadams.com> wrote:
>
> Tim Mackinnon wrote
>
> may take another look at SmalltalkCI - the trouble is, I really don’t like
> Travis… I quite like the model of Gitlab’s one stop shop
>
>
> I use SmalltalkCI on Gitlab
> (https://gitlab.com/SeanDeNigris/gitlab-smalltalk-ci)
>
>
>
> -----
> Cheers,
> Sean
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>
>

Reply via email to