gitlab-org--gitlab-foss/app/models/project_services
Kamil Trzciński b1120fc3e7 Merge branch 'expose-deployment-variables' into 'master'
Pass variables from deployment project services to CI runner

## What does this MR do?

This commit introduces the concept of deployment variables - variables
that are collected from deployment services and passed to CI runner
during a deployment build.
Deployment services specify the variables by overriding
"predefined_variables" method.

This commit also configures variables for KubernetesService

## Why was this MR needed?

We need these values for https://gitlab.com/gitlab-org/gitlab-ce/issues/23580

## Does this MR meet the acceptance criteria?

- [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- ~~[ ] API support added~~
- Tests
  - [x] Added for this feature/bug
  - [ ] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if it does - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?

Refers to https://gitlab.com/gitlab-org/gitlab-ce/issues/23580

See merge request !8107
2016-12-16 18:01:28 +00:00
..
chat_message
asana_service.rb
assembla_service.rb
bamboo_service.rb
bugzilla_service.rb
buildkite_service.rb
builds_email_service.rb
campfire_service.rb
chat_notification_service.rb
chat_service.rb
ci_service.rb
custom_issue_tracker_service.rb
deployment_service.rb
drone_ci_service.rb
emails_on_push_service.rb
external_wiki_service.rb
flowdock_service.rb
gemnasium_service.rb
gitlab_ci_service.rb
gitlab_issue_tracker_service.rb
hipchat_service.rb
irker_service.rb
issue_tracker_service.rb
jira_service.rb
kubernetes_service.rb
mattermost_notification_service.rb
mattermost_slash_commands_service.rb
pipelines_email_service.rb
pivotaltracker_service.rb
pushover_service.rb
redmine_service.rb
slack_notification_service.rb
teamcity_service.rb