gitlab-ci: Prepare for using the new job generator
This is part of the work in https://phabricator.apertis.org/T7900.
This makes the Gitlab CI use the new job generator to run the tests on built images.
Depends on tests/apertis-test-cases!407 (merged).
Edited by Detlev Casanova