Skip to content

Augment current Deployment count (which counts environments) with additional counters

Problem

Currently, we count deployments as someone who is using the environments: keyword is their .gitlab-ci.yml file.

This means that for people that are deploying, without using the Environment feature, they won't be captured in the usage ping.

Proposal

Create 1 new counter for jobs specifically related to deployment.

The counter is called ci_user_executing_deployment_job and is defined by the number of unique users that run jobs whose names have partial matches deployment, deploy, rollout, release.

Further notes

  • jobs that have the environment are included
  • manual jobs are "counted" only if the job succeeds

Previous proposal

Create two new counters for jobs and stages specifically related to deployment.

1 counter for stages with the name of deployment or deploy or release 1 counter for jobs with the name of deployment or deploy or rollout or release

Edited by Chris Balane