Re: buildfarm vs code

2018-07-12 Thread Andrew Dunstan
On 07/12/2018 05:54 AM, Heikki Linnakangas wrote: On 02/07/18 10:57, Peter Eisentraut wrote: On 05.06.18 18:09, Andrew Dunstan wrote: The first should be simple and non-controversial. It allows src/tools/msvc/build.pl to be called in such a way that it only creates the project files and then

Re: buildfarm vs code

2018-07-12 Thread Heikki Linnakangas
On 02/07/18 10:57, Peter Eisentraut wrote: On 05.06.18 18:09, Andrew Dunstan wrote: The first should be simple and non-controversial. It allows src/tools/msvc/build.pl to be called in such a way that it only creates the project files and then stops. This is a one line addition to the script and

Re: buildfarm vs code

2018-07-02 Thread Peter Eisentraut
On 05.06.18 18:09, Andrew Dunstan wrote: > The first should be simple and non-controversial. It allows > src/tools/msvc/build.pl to be called in such a way that it only creates > the project files and then stops. This is a one line addition to the > script and should affect nobody not using the

Re: buildfarm vs code

2018-06-06 Thread Andrew Dunstan
On 06/06/2018 01:52 PM, Tom Lane wrote: Andrew Dunstan writes: On 06/06/2018 10:24 AM, Tom Lane wrote: I'm curious to know what the failure looks like exactly? [00:07:37] 2018-06-06 17:25:41.662 UTC [1904:7] pg_regress/tablespace ERROR: could not set permissions on directory "C:/projects/

Re: buildfarm vs code

2018-06-06 Thread Tom Lane
Andrew Dunstan writes: > On 06/06/2018 10:24 AM, Tom Lane wrote: >> I'm curious to know what the failure looks like exactly? > [00:07:37] 2018-06-06 17:25:41.662 UTC [1904:7] pg_regress/tablespace > ERROR: could not set permissions on directory > "C:/projects/pg-devel/src/test/regress/testtabl

Re: buildfarm vs code

2018-06-06 Thread Andrew Dunstan
On 06/06/2018 10:24 AM, Tom Lane wrote: Andrew Dunstan writes: Yeah, what seems quite odd, though, is that when run as an unprivileged use the tablespace test runs just fine, but when run as a privileged user it fails. If that's fixable we should fix it :-) I'm curious to know what the fail

Re: buildfarm vs code

2018-06-06 Thread Tom Lane
Andrew Dunstan writes: > Yeah, what seems quite odd, though, is that when run as an unprivileged > use the tablespace test runs just fine, but when run as a privileged > user it fails. If that's fixable we should fix it :-) I'm curious to know what the failure looks like exactly?

Re: buildfarm vs code

2018-06-06 Thread Andrew Dunstan
On 06/06/2018 09:16 AM, Amit Kapila wrote: > The second change the recipe makes is to disable the tablespace tests. On > Windows, when running as the Administrator, the application gives up > privilege to such an extent that the tablespace tests fail. Ohh.  I was confused

Re: buildfarm vs code

2018-06-06 Thread Amit Kapila
On Wed, Jun 6, 2018 at 9:05 AM, Thomas Munro wrote: > On Wed, Jun 6, 2018 at 4:09 AM, Andrew Dunstan > wrote: > > At my talk at pgcon last Friday [1] I presented some ideas for how people > > could run a full buildfarm run against their code, including a 4 line > recipe > > using some Docker rec

Re: buildfarm vs code

2018-06-06 Thread Andrew Dunstan
On 06/05/2018 11:35 PM, Thomas Munro wrote: On Wed, Jun 6, 2018 at 4:09 AM, Andrew Dunstan wrote: At my talk at pgcon last Friday [1] I presented some ideas for how people could run a full buildfarm run against their code, including a 4 line recipe using some Docker recipes I had created. Th

Re: buildfarm vs code

2018-06-05 Thread Thomas Munro
On Wed, Jun 6, 2018 at 4:09 AM, Andrew Dunstan wrote: > At my talk at pgcon last Friday [1] I presented some ideas for how people > could run a full buildfarm run against their code, including a 4 line recipe > using some Docker recipes I had created. Thomas Munro suggested it would be > even nice

Re: buildfarm vs code

2018-06-05 Thread Andrew Dunstan
On 06/05/2018 12:09 PM, Andrew Dunstan wrote: notice at lines 36 and 34 or the Appveyor output, (from lines 16 and 19 of the recipe appveyor.yml) that this recipe does make a couple of adjustments. Of course that's lines 36 and 43. I seem to be getting more dyslectic as I get older ...

buildfarm vs code

2018-06-05 Thread Andrew Dunstan
At my talk at pgcon last Friday [1] I presented some ideas for how people could run a full buildfarm run against their code, including a 4 line recipe using some Docker recipes I had created. Thomas Munro suggested it would be even nicer if you could just point something like Appveypr at the co