Executors ar enot coherent or consistent
Summary
Deploying several GL Runner with different executors cause CI pipeline to intermittent failures. Each executor has different defaults causing a CI definition not to be valid in every executors.
Main 2 difference are:
- DOCKER_HOST default, this variable change from docker executor to k8s one
- Services behaviour: in docker executor services are accesible throught it's name, in k8s every service is in localhost
Steps to reproduce
Install a k8s executor and a docker executor, try to run same CI definition (using a DinD build step)
Actual behavior
CI will work in one executor and fail in other one
Expected behavior
Same CI file should be portable between executors
Environment description
Custom CE server with GL Runner 10.6
Used GitLab Runner version
Version: 10.6.0
Git revision: a3543a27
Git branch: 10-6-stable
GO version: go1.9.4
Built: 2018-03-22T08:34:11+00:00
OS/Arch: linux/amd64