The ci-src-setup script takes care of initializing the source code based on CI parameters (from ZUUL_ prefixed environment variables). Some image do it by default (notably the tox ones) but most do not requiring using to invoke releng/ci-src-setup to provision the source code. I think the reason was to make it easy to use an image locally against an existing code base.
With T274347 , the ci-src-setup script only acts when either CI and/or JENKINS_URL environment variables are set. We can thus have all our images to invoke the script in their entry point.
For local use it just add a very thing overhead.
For CI that would let us:
- skip invoking releng/ci-src-setup entirely
- make the jobs definition a little bit more consistent
Images would need to be rebuild (the new script is already in ci-stretch, ci-buster) and the jobs that invoke them would need to drop the docker-ci-src-setup macro.