Backend: Existing users/groups on old pricing model/tier do not get the new dotenv variable limits
Summary
With !73855 (merged), we increased the dotenv variable limit from 20
to:
- 50 for FREE
- 100 for Premium
- 150 for Ultimate
However, this only applies to new users or groups that are on the new pricing model of free, premium or ultimate.
Existing users or groups that are on silver or gold plan still get a limit of 20
.
For example:
@sliaquat is on Gold plan and is unable to add more that 20 variables: https://gitlab.com/sliaquat/test-dot-env-var-limits-1/-/jobs/2098591896
@sanadhussain.backup is a newly created user on Free plan is able to add more than 20 variables: https://gitlab.com/sanadhussain.backup/test-dot-env-var-limits-new-user/-/jobs/2098603257
This also happens to old/existing groups that are on Ultimate such as the gitlab.com/gitlab-org/gitlab-qa
group:
https://gitlab.com/gitlab-org/gitlab-qa/-/jobs/2096216743
Steps to reproduce
- Use an existing user that is on an old pricing tier model other than Free, such as silver or gold.
- Try to create a pipeline that saves more than 20 variables in dotenv file such as this: https://gitlab.com/sliaquat/test-dot-env-var-limits-1/-/blob/main/.gitlab-ci.yml
- Run the pipeline
Example Project
- New user on Free plan: https://gitlab.com/sanadhussain.backup/test-dot-env-var-limits-new-user
- Existing user on Gold plan: https://gitlab.com/sliaquat/test-dot-env-var-limits-1
- Existing group on Ultimate: https://gitlab.com/gitlab-org/gitlab-qa
What is the current bug behavior?
Existing users on old pricing model/tier do not get the updated dotenv variable limit set in application limits
What is the expected correct behavior?
Existing users on old pricing model/tier should get the updated dotenv variable limit set in application limits
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com