-
- Downloads
Implement support for CI variables of type file
Add env_var and file as supported types for CI variables. Variables of type file expose to users existing gitlab-runner behaviour - save variable value into a temp file and set the path to this file in an ENV var named after the variable key. Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/46806.
Showing
- app/assets/javascripts/ci_variable_list/ci_variable_list.js 4 additions, 0 deletionsapp/assets/javascripts/ci_variable_list/ci_variable_list.js
- app/assets/javascripts/ci_variable_list/native_form_variable_list.js 1 addition, 0 deletions...javascripts/ci_variable_list/native_form_variable_list.js
- app/controllers/groups/variables_controller.rb 1 addition, 1 deletionapp/controllers/groups/variables_controller.rb
- app/controllers/projects/pipeline_schedules_controller.rb 1 addition, 1 deletionapp/controllers/projects/pipeline_schedules_controller.rb
- app/controllers/projects/pipelines_controller.rb 1 addition, 1 deletionapp/controllers/projects/pipelines_controller.rb
- app/controllers/projects/variables_controller.rb 1 addition, 1 deletionapp/controllers/projects/variables_controller.rb
- app/helpers/ci_variables_helper.rb 7 additions, 0 deletionsapp/helpers/ci_variables_helper.rb
- app/models/concerns/has_variable.rb 6 additions, 1 deletionapp/models/concerns/has_variable.rb
- app/views/ci/variables/_variable_row.html.haml 4 additions, 0 deletionsapp/views/ci/variables/_variable_row.html.haml
- changelogs/unreleased/46806-typed-ci-variables.yml 5 additions, 0 deletionschangelogs/unreleased/46806-typed-ci-variables.yml
- db/migrate/20190415030217_add_variable_type_to_ci_variables.rb 17 additions, 0 deletions...grate/20190415030217_add_variable_type_to_ci_variables.rb
- db/migrate/20190416213556_add_variable_type_to_ci_group_variables.rb 17 additions, 0 deletions...20190416213556_add_variable_type_to_ci_group_variables.rb
- db/migrate/20190416213615_add_variable_type_to_ci_pipeline_variables.rb 17 additions, 0 deletions...90416213615_add_variable_type_to_ci_pipeline_variables.rb
- db/migrate/20190416213631_add_variable_type_to_ci_pipeline_schedule_variables.rb 17 additions, 0 deletions...31_add_variable_type_to_ci_pipeline_schedule_variables.rb
- db/schema.rb 4 additions, 0 deletionsdb/schema.rb
- doc/api/group_level_variables.md 19 additions, 12 deletionsdoc/api/group_level_variables.md
- doc/api/pipeline_schedules.md 5 additions, 0 deletionsdoc/api/pipeline_schedules.md
- doc/api/pipelines.md 2 additions, 1 deletiondoc/api/pipelines.md
- doc/api/project_level_variables.md 19 additions, 12 deletionsdoc/api/project_level_variables.md
- lib/api/entities.rb 1 addition, 1 deletionlib/api/entities.rb
Please register or sign in to comment