Add description field for Ci::InstanceVariable and InheritedCiVariable
- Allows users to add a description to instance-level CI variables. - Include description in query results for inherited CI variables. - Exposes the `description` field so that the frontend can pass the values. Changelog: added
显示
- app/controllers/admin/ci/variables_controller.rb 1 个添加, 1 个删除app/controllers/admin/ci/variables_controller.rb
- app/controllers/groups/variables_controller.rb 1 个添加, 1 个删除app/controllers/groups/variables_controller.rb
- app/controllers/projects/variables_controller.rb 1 个添加, 1 个删除app/controllers/projects/variables_controller.rb
- app/graphql/types/ci/inherited_ci_variable_type.rb 4 个添加, 0 个删除app/graphql/types/ci/inherited_ci_variable_type.rb
- app/graphql/types/ci/instance_variable_type.rb 4 个添加, 0 个删除app/graphql/types/ci/instance_variable_type.rb
- app/models/ci/instance_variable.rb 1 个添加, 0 个删除app/models/ci/instance_variable.rb
- app/serializers/ci/basic_variable_entity.rb 1 个添加, 0 个删除app/serializers/ci/basic_variable_entity.rb
- db/migrate/20231222071942_add_description_to_ci_instance_variables.rb 12 个添加, 0 个删除...0231222071942_add_description_to_ci_instance_variables.rb
- db/post_migrate/20231222072237_add_text_limit_to_ci_instance_variables_description.rb 18 个添加, 0 个删除...37_add_text_limit_to_ci_instance_variables_description.rb
- db/schema_migrations/20231222071942 1 个添加, 0 个删除db/schema_migrations/20231222071942
- db/schema_migrations/20231222072237 1 个添加, 0 个删除db/schema_migrations/20231222072237
- db/structure.sql 3 个添加, 1 个删除db/structure.sql
- doc/api/graphql/reference/index.md 2 个添加, 0 个删除doc/api/graphql/reference/index.md
- doc/api/instance_level_ci_variables.md 5 个添加, 0 个删除doc/api/instance_level_ci_variables.md
- lib/api/admin/ci/variables.rb 8 个添加, 0 个删除lib/api/admin/ci/variables.rb
- spec/fixtures/api/schemas/variable.json 7 个添加, 1 个删除spec/fixtures/api/schemas/variable.json
- spec/graphql/types/ci/inherited_ci_variable_type_spec.rb 5 个添加, 4 个删除spec/graphql/types/ci/inherited_ci_variable_type_spec.rb
- spec/graphql/types/ci/instance_variable_type_spec.rb 3 个添加, 1 个删除spec/graphql/types/ci/instance_variable_type_spec.rb
- spec/models/ci/instance_variable_spec.rb 6 个添加, 0 个删除spec/models/ci/instance_variable_spec.rb
- spec/requests/api/graphql/ci/instance_variables_spec.rb 2 个添加, 0 个删除spec/requests/api/graphql/ci/instance_variables_spec.rb
加载中
想要评论请 注册 或 登录