OSDN Git Service

gitlab-ci: Re-use docker image from the main repo in forked repos
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 8 Feb 2019 09:14:58 +0000 (10:14 +0100)
committerMichel Dänzer <michel@daenzer.net>
Mon, 11 Feb 2019 11:24:31 +0000 (12:24 +0100)
commitd6c55f6c62d9907f13aa21b5b07ce25430b669ee
tree93f18e8ef8bfc08c79cd6f6b618141e674fdf4be
parentcc79a1483ffb7b91edc97c9870eadcab1e83b8f3
gitlab-ci: Re-use docker image from the main repo in forked repos

Instead of generating it from scratch in each forked repo. This should
save time, energy and storage. (The xserver & xf86-video-amdgpu CI
scripts do basically the same)

v2:
* Hardcode "mesa" instead of using $CI_PROJECT_NAME, to avoid breakage
  if the project name is changed after forking (Eric Engestrom)

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
.gitlab-ci.yml