Fix file variable expansion on downstream pipeline
This change is behind feature flag ci_prevent_file_var_expansion_downstream_pipeline. Previously, variables passed into downstream pipelines that contain reference on file variables have the file variable content expanded into a new environment variable. When this feature flag is turned on, the file variables are not expanded. Instead, the file variables that are needed for expansion are forwarded as file variables into the downstream pipelines. This allows the downstream pipeline jobs to access the file variables as files in the filesystem.
显示
- app/models/ci/bridge.rb 6 个添加, 0 个删除app/models/ci/bridge.rb
- config/feature_flags/development/ci_prevent_file_var_expansion_downstream_pipeline.yml 8 个添加, 0 个删除...ent/ci_prevent_file_var_expansion_downstream_pipeline.yml
- lib/gitlab/ci/variables/downstream/expandable_variable_generator.rb 33 个添加, 2 个删除.../ci/variables/downstream/expandable_variable_generator.rb
- lib/gitlab/ci/variables/downstream/generator.rb 2 个添加, 2 个删除lib/gitlab/ci/variables/downstream/generator.rb
- qa/qa/specs/features/api/4_verify/file_variable_downstream_pipeline_spec.rb 241 个添加, 0 个删除...es/api/4_verify/file_variable_downstream_pipeline_spec.rb
- spec/lib/gitlab/ci/variables/downstream/expandable_variable_generator_spec.rb 57 个添加, 2 个删除...ariables/downstream/expandable_variable_generator_spec.rb
- spec/lib/gitlab/ci/variables/downstream/generator_spec.rb 57 个添加, 0 个删除spec/lib/gitlab/ci/variables/downstream/generator_spec.rb
- spec/models/ci/bridge_spec.rb 166 个添加, 12 个删除spec/models/ci/bridge_spec.rb
加载中
想要评论请 注册 或 登录