Sean Gillies 315324273c
Build and test GDAL release candidates using the tags feed (#2968)
* Convert test with latest GDAL into a reusable workflow

* Fix "uses" usage

* Remove secrets

* Add an on-demand workflow

* New names for workflows and jobs

* Rework the dispatch workflow, it only runs in the default branch.

Adds a new input for the reusable workflow.

* A feed based approach to testing against recent GDAL tags

* Set github output, remove rasterio matrix dimension

* Fix output

* Correct job output

* Add missing checkout action

* Remove steps from second job

* More yaml shuffling

* Add feed parsing and time delta logic to python script

* Use Python 3.11

* Ensure python3

* Do update environment

* Grab only tags from the last 12 hours

* Remove unused import

* Change test to != '[]'

* Save a list of failures and retry in the next run

* Attach run to name

* Fix yaml

* Rename failure file

* Consolidate a step

* Fix indentation

* Debug listing

* Add a test case

* Add token env var for gh CLI

* Continue on error

* Test for file

* Fix syntax

* Quote GDAL tags, which may include a space

* Quote branch in script

* New logic to get tag from feed

* More debuggin

* Upload failure files

* Remove default tags

* Get the right artifact from the last not-cancelled branch run

---------

Co-authored-by: Sean Gillies <seangillies@Seans-MacBook-Air.local>
2023-11-27 10:20:51 -07:00
..