CI_PROJECT_NAME_SLUG contains underscores
Summary
according to #31061 (closed) and #26135 (closed) ,
$CI_PROJECT_NAME_SLUG =
$CI_PROJECT_NAME
lowercased, shortened to 63 bytes, and with everything except0-9
anda-z
replaced with-
. Use in URLs and domain names.
according to gitlab-ci variables:
on a build script :
script:
- env
I get CI_PROJECT_PATH_SLUG=video-test_live_streamer
with CI_PROJECT_PATH=video/test_live_streamer
Steps to reproduce
gitlab 9.3.3, gitlab-ci-multi-runner 9.2.0
Example Project
What is the current bug behavior?
got underscores in CI_PROJECT_PATH_SLUG
What is the expected correct behavior?
no underscores, soo SLUG can be used for domain names
Relevant logs and/or screenshots
CI_PROJECT_NAME=test_project_path_slug
Output of checks
Results of GitLab environment info
Results of GitLab application Check
Happens on Gitlab.com, test project: dgoo2308/test_project_path_slug
Possible fixes
Edited by Danny