-
- Downloads
Treat environments matching `production/*` as Production
For Cycle Analytics, the environment `production` is treated as a special case, and used to update the `first_deployed_to_production_at` metric. With the Review Apps changes, slash syntax is used to group related environments in the list. This is mostly used for `review/<branch>` environments, but it's possible for people to have multiple production environments, and someone might then want to group them like `production/eu`, `production/us`, or even just make it look prettier with `production/www.example.com`. In any of these cases, the first deploy to one of these `production/*` environments now is treated as a Production deploy.
Showing
- app/models/environment.rb 1 addition, 1 deletionapp/models/environment.rb
- changelogs/unreleased/24139-production-wildcard-for-cycle-analytics.yml 4 additions, 0 deletions...eleased/24139-production-wildcard-for-cycle-analytics.yml
- doc/user/project/cycle_analytics.md 9 additions, 6 deletionsdoc/user/project/cycle_analytics.md
- spec/models/environment_spec.rb 17 additions, 0 deletionsspec/models/environment_spec.rb
Please register or sign in to comment