No lint for multiple environment urls
Summary
When running a job that includes the environment:url directive with multiple urls, that job stalls, appearing to be unable to select a runner to run on.
Steps to reproduce
Run any job in which the environment url is given multuple values like so:
failing_job:
script:
- echo "this fails"
environment:
name: this-fails
url:
- http://www.domain1.com/
- http://www.domain2.com/
- http://www.domain3.com/
Actual behavior
Job and pipeline are stalled, with the offending job showing as running but without any output in the job's console log besides the loading animation. Job will run continuously until it is cancelled manually.
Expected behavior
It should error with a lint showing the configuration value is invalid.
Relevant logs and/or screenshots
Environment description
We are using the docker executor on our own runners running on CoreOS instances on Digital Ocean. There are two runners, and both use the docker image for the gitlab-multi-runner image.
Used GitLab Runner version
core@gitlabrunner2 ~ $ docker run --rm gitlab/gitlab-runner:latest -v
Version: 10.0.0
Git revision: 2055cfdc
Git branch:
GO version: go1.8.3
Built: Fri, 22 Sep 2017 12:41:00 +0000
OS/Arch: linux/amd64
core@gitlabrunner3 ~ $ docker run --rm gitlab/gitlab-runner:latest -v
Version: 9.5.0
Git revision: 413da38
Git branch: 9-5-stable
GO version: go1.8.3
Built: Tue, 22 Aug 2017 13:35:13 +0000
OS/Arch: linux/amd64