ci-detector icon indicating copy to clipboard operation
ci-detector copied to clipboard

Replace deprecated CI_BUILD_* predefined variables

Open GlennM opened this issue 3 years ago • 2 comments

The predefined CI/CD variables that start with CI_BUILD_* were deprecated in GitLab 9.0, and will be removed in GitLab 16.0 The replacement predefined variables are functionally identical.

Source

GlennM avatar Mar 29 '22 13:03 GlennM

Hi, thanks for the pull request. But - correct me if I'm wrong - the new Gitlab >9 variables are already supported, so this is just removal of the deprecated variables?

If so, I don't think they necessarily needs to be removed right now - keeping them is no cost. We can at least wait until GitLab 16 (which will be released probably next year)...

OndraM avatar Apr 12 '22 09:04 OndraM

Indeed, the variables have been deprecated since 2017 and will be removed completely in 2023. I was preparing my projects for the new GitLab 15 which will be released next month and found some hits in this package so I prepared this package. I'm fine with keeping the deprecated variables until GitLab 16 has been released.

GlennM avatar Apr 12 '22 15:04 GlennM