-
- Downloads
Implement nested expanding environment name and url for deployments
We support variables for YAML attributes of environment:name and environment:url. However, we expand those variables only 1-level. In this commit, we start supporting infinite level expansion. These changes are behind a FF ci_expand_environment_name_and_url
Showing
- app/models/ci/build.rb 5 additions, 1 deletionapp/models/ci/build.rb
- app/services/deployments/update_environment_service.rb 7 additions, 1 deletionapp/services/deployments/update_environment_service.rb
- config/feature_flags/development/ci_expand_environment_name_and_url.yml 8 additions, 0 deletions..._flags/development/ci_expand_environment_name_and_url.yml
- spec/models/ci/build_spec.rb 25 additions, 0 deletionsspec/models/ci/build_spec.rb
- spec/services/deployments/update_environment_service_spec.rb 31 additions, 0 deletionsspec/services/deployments/update_environment_service_spec.rb
Please register or sign in to comment