ci: Move to per-job naming for containers

Previously we only had two types of containers, "ci" for everything but
the CompilerWarnings job and ci_docs that had the tools necessary to
build the docs as part of CompilerWarnings. But that was unnecessarily
heavy for several of the jobs.  As the pull time is a noticeable
performance factor, that's not great.

Instead use containers that are named by their job. Today some of those
are the same, but after this change we can optimize the containers for
their jobs without a problem.

It probably would make sense to allow over-riding CONTAINER_REPO on a
per-repo/org basis, but that seems better done as a separate change.

This commit is backpatched to 19 to keep CI between master and 19 the
same. Soon we'll backpatch CI support to regain coverage with lost with
cirrus-ci's shutdown.

Author: Andres Freund <[email protected]>
Co-authored-by: Nazir Bilal Yavuz <[email protected]>
Discussion: 
https://postgr.es/m/a2ejn7lfqolutzz7kozalbhy3bixdrujb4buc3pgbtlk4am2ba@wbv6v7riia33
Discussion: 
https://postgr.es/m/can55fz1bcwbswgcck2gqkyn6tzdxcw2hvk2m3qeiwanxunj...@mail.gmail.com
Backpatch-through: 19

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/780630579a09e55fafe797f409e9a26a82dbae2e

Modified Files
--------------
.github/workflows/pg-ci.yml | 33 ++++++++++++++++++++++-----------
1 file changed, 22 insertions(+), 11 deletions(-)

Reply via email to