[postgis-devel] docker hub image is behind

Phillip Ross phillip.w.g.ross+postgis at gmail.com
Sat Jun 5 14:36:51 PDT 2021


Thanks for your work on this Imre.

I was thinking it might makes sense to put together a separate github
actions workflow that would run periodically, run the update script
for the main branches of the projects, attempt to build everything,
and simply report success or failure  It wouldn't necessarily push
container images to dockerhub or anything beyond just catching
problems closer to the times in which they are induced.

I'm not sure when I can get to it myself, but if you'd like to take a
stab at it, I'll have the bandwidth to at least review it.  It's not a
pressing matter, but more of a nice-to-have ;)

Thanks again!
- Phillip

On Sat, Jun 5, 2021 at 4:57 PM Imre Samu <pella.samu at gmail.com> wrote:
>
> status:
> The master update problem has been resolved. Thank you for solving the issue!
>
> The latest postgis master available:
> - postgis/postgis:12-master
> - postgis/postgis:13-master
> https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&ordering=last_updated&name=master
> https://github.com/postgis/docker-postgis/pull/238
>
> ENV SFCGAL_GIT_HASH 0beb9d6dde86467d412e70037dca0e00091e673e
> ENV PROJ_GIT_HASH dcc2a94eb1c5eda5ede6275b58ae5873e78bb9c0
> ENV GEOS_GIT_HASH 02f912883af916e2eb99a090255c9302a155e092
> ENV GDAL_GIT_HASH e635362bb1a3c517489cc4d09fe2a41f0869c199
> ENV POSTGIS_GIT_HASH 429bf56aa47e55a13555a15d20ef08a1c14d2aba
>
>
> The "update" part ( calling ./update.sh )  is still manual.
>
> We are waiting for the official  PG14 docker images.
> so there is no  "postgis/postgis:14-master" yet.
>
> Imre
>
>
> Imre Samu <pella.samu at gmail.com> ezt írta (időpont: 2021. máj. 19., Sze, 18:15):
>>
>> my guess:  probably it is a Geos 3.10 related problem.
>> And as I see: the similar - "latest" CI check has been removed on Apr 28, 2021 by Paul Ramsey
>> https://github.com/postgis/postgis/commit/982d725906c4ae69dab3d11e69432f8a7e51b90e
>>
>> the latest "~good???" Postgis version with the new geos:
>> 2851cd1908dc138d6a6ec389fdbedc8fc93f5e73   ( ~ Apr 27, 2021 )
>>
>> IMHO: options:
>> a.) wait for the "root cause" fix
>> b.) set Postgis to  ~Apr 27, 2021 ->  https://github.com/postgis/docker-postgis/pull/236/files
>>   ( from d5f7a2adc923869ebe17b5fd0a6fa299d5b9c20c   ~ Commits on Mar 30, 2021 )
>> c.) other alternatives
>>
>> Imre
>>
>>
>> Imre Samu <pella.samu at gmail.com> ezt írta (időpont: 2021. máj. 18., K, 18:43):
>>>
>>> Thank you, Giuseppe and  Phillip -  for the tips!
>>>
>>> I have tried - to build on my local machine, and has a similar result  :-(
>>>
>>> docker build -t postgis:13-master ./13-master
>>>
>>> Run tests: 150
>>> Failed: 23
>>> make: *** [runtest.mk:11: check-regress] Error 23
>>>
>>>
>>> I have refreshed to the latest proj,gdal .. And waiting for the new github test.
>>>     https://github.com/postgis/docker-postgis/pull/235
>>>
>>> For Geos 3.10 -  just only this issue reported:
>>>
>>> "ClipByBox2D against GEOS 3.10 head failing"
>>> https://trac.osgeo.org/postgis/ticket/4904
>>>
>>>
>>> > Before putting much work into bisecting commit logs and trying to find
>>> > the most recent working commit,
>>>
>>> probably, I just lock the  ~ one-month-old PROJ + GEOS  master version
>>> Or just manually updating the PostGIS hash
>>> ( without finding the real root cause )
>>>
>>> Imre
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Phillip Ross <phillip.w.g.ross+postgis at gmail.com> ezt írta (időpont: 2021. máj. 18., K, 17:49):
>>>>
>>>> Hi Imre,
>>>>
>>>> I took a look at the logs and the failures look a little peculiar.  It
>>>> might be a github actions issue, as Giuseppe mentioned.
>>>>
>>>> Before putting much work into bisecting commit logs and trying to find
>>>> the most recent working commit, you might want to try to just re-run
>>>> the jobs in the actions tab and see if the failures were an
>>>> intermittent issue.
>>>>
>>>> Thanks!
>>>> - Phillip
>>>>
>>>> On Tue, May 18, 2021 at 11:17 AM Imre Samu <pella.samu at gmail.com> wrote:
>>>> >
>>>> > Ouch;  Failed.
>>>> >
>>>> > 12-master:
>>>> >
>>>> > Run tests: 150
>>>> > Failed: 17
>>>> > make: *** [runtest.mk:11: check-regress] Error 17
>>>> > full log:    https://github.com/postgis/docker-postgis/pull/235/checks?check_run_id=2609659927
>>>> >
>>>> >
>>>> > 13-master:
>>>> >
>>>> > Run tests: 150
>>>> > Failed: 13
>>>> > make: *** [runtest.mk:11: check-regress] Error 13
>>>> > https://github.com/postgis/docker-postgis/pull/235/checks?check_run_id=2609659987
>>>> >
>>>> >
>>>> > ---  the current script:    ALL - master - based. - probably some breaking changes ..
>>>> > ENV SFCGAL_GIT_HASH 0beb9d6dde86467d412e70037dca0e00091e673e
>>>> > ENV PROJ_GIT_HASH abf680353d1e7088c8751eea5a429ca1ffd22303
>>>> > ENV GEOS_GIT_HASH 47f145efda619feb439cb5a69ab0886c4e872579
>>>> > ENV GDAL_GIT_HASH 561ba5c11fedfde81008dfed58ac61f0250d936b
>>>> > ENV POSTGIS_GIT_HASH 7a1eb0e60f84f8fd08c87623ee83d5e5e15562c2
>>>> >
>>>> > this is the 12-master Dockerfile
>>>> > https://github.com/postgis/docker-postgis/blob/8268956668355447d8e3bde81bca5cb47e3ee54e/12-master/Dockerfile
>>>> >
>>>> > in this case: I have to test with the last week HASH-es .. and try to find the latest working versions ..   :-(
>>>> >
>>>> > best,
>>>> >  Imre
>>>> >
>>>> >
>>>> >
>>>> > Imre Samu <pella.samu at gmail.com> ezt írta (időpont: 2021. máj. 18., K, 13:06):
>>>> >>
>>>> >> >  Where's the pipeline to push images there described ?
>>>> >>
>>>> >> As I know - the "update" part ( calling ./update.sh )  is still manual.
>>>> >> ( https://github.com/postgis/docker-postgis/blob/master/.github/workflows/main.yml  )
>>>> >>
>>>> >> I have created a manal update - https://github.com/postgis/docker-postgis/pull/235
>>>> >>
>>>> >> If it is urgent:  now the current workflow - for a local update + build
>>>> >>
>>>> >> git clone https://github.com/postgis/docker-postgis.git
>>>> >> cd docker-postgis
>>>> >> ./update.sh
>>>> >> docker build -t postgis:13-master ./13-master
>>>> >>
>>>> >>
>>>> >> Imre
>>>> >>
>>>> >> Sandro Santilli <strk at kbt.io> ezt írta (időpont: 2021. máj. 18., K, 12:21):
>>>> >>>
>>>> >>> According to docker hub
>>>> >>> the 12-master image was last pushed a day ago, but the
>>>> >>> version of PostGIS there is 67 commits behind the current
>>>> >>> master. Where's the pipeline to push images there described ?
>>>> >>>
>>>> >>> --strk;
>>>> >>> _______________________________________________
>>>> >>> postgis-devel mailing list
>>>> >>> postgis-devel at lists.osgeo.org
>>>> >>> https://lists.osgeo.org/mailman/listinfo/postgis-devel
>>>> >
>>>> > _______________________________________________
>>>> > postgis-devel mailing list
>>>> > postgis-devel at lists.osgeo.org
>>>> > https://lists.osgeo.org/mailman/listinfo/postgis-devel
>>>> _______________________________________________
>>>> postgis-devel mailing list
>>>> postgis-devel at lists.osgeo.org
>>>> https://lists.osgeo.org/mailman/listinfo/postgis-devel
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-devel


More information about the postgis-devel mailing list