Re: OSX builds in Travis

2020-07-15 Thread Willy Tarreau
On Sat, Jul 11, 2020 at 10:03:29PM +0500, ??? wrote: > I decided to switch to the latest osx available (list: > https://docs.travis-ci.com/user/reference/osx/#macos-version ) > I attached updated patch OK applied now, thank you Ilya! We'll see how it performs :-) Willy

Re: OSX builds in Travis

2020-07-11 Thread Илья Шипицин
I decided to switch to the latest osx available (list: https://docs.travis-ci.com/user/reference/osx/#macos-version ) I attached updated patch сб, 11 июл. 2020 г. в 14:37, Vincent Bernat : > ❦ 11 juillet 2020 12:45 +05, Илья Шипицин: > > >> > he-he, brew bundle is deprecated (does not work) >

Re: OSX builds in Travis

2020-07-11 Thread Vincent Bernat
❦ 11 juillet 2020 12:45 +05, Илья Шипицин: >> > he-he, brew bundle is deprecated (does not work) >> > >> > >> https://apple.stackexchange.com/questions/148454/brew-bundle-reporting-error-unknown-command-bundle >> >> It's very old. It has been added back at some point. Here is upstream >>

Re: OSX builds in Travis

2020-07-11 Thread Илья Шипицин
сб, 11 июл. 2020 г. в 10:06, Vincent Bernat : > ❦ 11 juillet 2020 00:48 +05, Илья Шипицин: > > > he-he, brew bundle is deprecated (does not work) > > > > > https://apple.stackexchange.com/questions/148454/brew-bundle-reporting-error-unknown-command-bundle > > It's very old. It has been added

Re: OSX builds in Travis

2020-07-10 Thread Vincent Bernat
❦ 11 juillet 2020 00:48 +05, Илья Шипицин: > he-he, brew bundle is deprecated (does not work) > > https://apple.stackexchange.com/questions/148454/brew-bundle-reporting-error-unknown-command-bundle It's very old. It has been added back at some point. Here is upstream recommending its use:

Re: OSX builds in Travis

2020-07-10 Thread Илья Шипицин
I attached a patch which speeds up osx builds by 10 minutes, сб, 11 июл. 2020 г. в 00:48, Илья Шипицин : > he-he, brew bundle is deprecated (does not work) > > > https://apple.stackexchange.com/questions/148454/brew-bundle-reporting-error-unknown-command-bundle > > пт, 10 июл. 2020 г. в 14:55,

Re: OSX builds in Travis

2020-07-10 Thread Илья Шипицин
he-he, brew bundle is deprecated (does not work) https://apple.stackexchange.com/questions/148454/brew-bundle-reporting-error-unknown-command-bundle пт, 10 июл. 2020 г. в 14:55, Илья Шипицин : > > > пт, 10 июл. 2020 г. в 14:21, Vincent Bernat : > >> ❦ 9 juillet 2020 13:12 +05, Илья Шипицин:

Re: OSX builds in Travis

2020-07-10 Thread Илья Шипицин
пт, 10 июл. 2020 г. в 14:21, Vincent Bernat : > ❦ 9 juillet 2020 13:12 +05, Илья Шипицин: > > > do you think does it make sense to use scripted brew instead of travis > > plugin ? > > > > if so, we can try to "brew instal blah-blah-blah || ok, we failed, lets' > > update and install one more

Re: OSX builds in Travis

2020-07-10 Thread Vincent Bernat
❦ 9 juillet 2020 13:12 +05, Илья Шипицин: > do you think does it make sense to use scripted brew instead of travis > plugin ? > > if so, we can try to "brew instal blah-blah-blah || ok, we failed, lets' > update and install one more time" I have also hit the problem several time. Brew upstream

Re: OSX builds in Travis

2020-07-09 Thread Willy Tarreau
On Thu, Jul 09, 2020 at 01:35:57PM +0500, ??? wrote: > let it settle down a bit/ > > > I'll have a look in few days Great, thanks! Willy

Re: OSX builds in Travis

2020-07-09 Thread Илья Шипицин
let it settle down a bit/ I'll have a look in few days чт, 9 июл. 2020 г. в 13:29, Willy Tarreau : > On Thu, Jul 09, 2020 at 12:19:32PM +0500, ??? wrote: > > We install socat, because it is (or was?) needed for some tests. OSX > > requires to update whole brew for that. Otherwise it

Re: OSX builds in Travis

2020-07-09 Thread Willy Tarreau
On Thu, Jul 09, 2020 at 12:19:32PM +0500, ??? wrote: > We install socat, because it is (or was?) needed for some tests. OSX > requires to update whole brew for that. Otherwise it works unstable Wow, so the we'd rather build and install socat ourselves from sources, because quite frankly

Re: OSX builds in Travis

2020-07-09 Thread Dinko Korunic
Hi Илья, I think that Travis’ Homebrew plugin is just fine, but I would definitely avoid updating/upgrading Homebrew as that’s certainly going to make builds much slower. Do you have any sample logs of the situation where socat failed to install with non-updated Homebrew? It doesn’t make

Re: OSX builds in Travis

2020-07-09 Thread Илья Шипицин
Dinko, do you think does it make sense to use scripted brew instead of travis plugin ? if so, we can try to "brew instal blah-blah-blah || ok, we failed, lets' update and install one more time" чт, 9 июл. 2020 г. в 13:07, Илья Шипицин : > we have homebrew --> update --> true > >

Re: OSX builds in Travis

2020-07-09 Thread Илья Шипицин
we have homebrew --> update --> true https://github.com/haproxy/haproxy/blob/master/.travis.yml#L26 if we remove it, brew will not get updated. most of the time it is not an issue and we can install socat. but under some circumstances socat refuses to install without brew update чт, 9 июл.

Re: OSX builds in Travis

2020-07-09 Thread Dinko Korunic
I would suggest using HOMEBREW_NO_AUTO_UPDATE environment variable to avoid Brew auto-updating where it’s not really needed, for instance as in: HOMEBREW_NO_AUTO_UPDATE=1 brew install socat If that doesn’t work (but I think it should), pinning will cause none of dependancies to be installed

Re: OSX builds in Travis

2020-07-09 Thread Илья Шипицин
We install socat, because it is (or was?) needed for some tests. OSX requires to update whole brew for that. Otherwise it works unstable On Thu, Jul 9, 2020, 9:16 AM Willy Tarreau wrote: > Hi Ilya, > > is it normal that the OSX build procedure in travis pulls gigabytes of > ruby and python