[igt-dev] [PATCH v3 4/6] gitlab-ci: use images tagged with git ref instead of latest

Arkadiusz Hiler arkadiusz.hiler at intel.com
Mon Aug 26 13:44:22 UTC 2019


On Mon, Aug 26, 2019 at 04:12:46PM +0300, Oleg Vasilev wrote:
> Since different images can be present at the same time, it is better to
> always use the one built for this particular git reference.
> 
> Signed-off-by: Oleg Vasilev <oleg.vasilev at intel.com>
> ---
>  .gitlab-ci.yml | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 3433ca08..f994db77 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -1,4 +1,4 @@
> -image: $CI_REGISTRY/$CI_PROJECT_PATH/build-fedora:latest
> +image: $CI_REGISTRY/$CI_PROJECT_PATH/build-fedora:$CI_COMMIT_REF_NAME

We are not tagging with the $CI_COMMIT_REF_NAME name at this time, and I
think it would be better to use SHA1 at this time - more on that in the
review of the next patch.


More information about the igt-dev mailing list