Add $CI_ENVIRONMENT_REF_SLUG variable to the CI Environment variables
Problem to solve
In many scenarios a CI Job needs the information of which commit is deployed with the environment for the current job. This could be very useful for example in list commits to be deployed in a pipeline.
The proposal is to create another CI variable
$CI_ENVIRONMENT_REF_SLUG that knowing the current commit of the Environment for current job.
Links / references
List of current CI environment variables: https://docs.gitlab.com/ee/ci/variables/#predefined-variables-environment-variables