gitlab-runner produces invalid environment vars for private services
Summary
gitlab-runner produces invalid environment vars for private services
Steps to reproduce
test:empty:
stage: test
image: registry.getnoc.com/noc/noc-docker:dev
variables:
NOC_PG_DB: noc
NOC_PG_USER: noc
NOC_PG_PASSWORD: noc
services:
- registry.getnoc.com/infrastructure/postgres:master
- registry.getnoc.com/infrastructure/mongo:master
shell:
....
Actual behavior
gitlab-runner produces vars like
REGISTRY.GETNOC.COM__INFRASTRUCTURE__POSTGRES_PORT_5432_TCP_PROTO=tcp
Expected behavior
according to http://stackoverflow.com/questions/2821043/allowed-characters-in-linux-environment-variable-names (yes i know that is not best source of truth) dot is not allowed char in var name
Environment description
i am using private gitlab version 8.16.3 https://github.com/sameersbn/docker-gitlab
Used GitLab Runner version
# gitlab-runner --version
Version: 1.10.0
Git revision: 4a71a97
Git branch: master
GO version: go1.7.4
Built: Sun, 22 Jan 2017 11:48:31 +0000
OS/Arch: linux/amd64