gitlab-org--gitlab-foss/spec/models/concerns
Kamil Trzciński 677e7e837e Merge branch 'seed-runner-token' into 'master'
Allow users to seed the initial runner registration token using an environment variable

## What does this MR do?
Allow users to seed the initial runner registration token using an environment variable

## Are there points in the code the reviewer needs to double check?

- Naming, do we want to make sure we are clear it's the 'registration' token. Like GITLAB_RUNNER_REGISTRATION_TOKEN vs what I have now, GITLAB_RUNNER_TOKEN
- Not sure we've tested a seed fixture before, I just made up a directory structure for the test

## Why was this MR needed?

At the moment I want to use this in our idea to production demo:  https://gitlab.com/gitlab-org/gitlab-ce/issues/22190

This is useful for when runner is bundled with gitlab, like in a kubernetes stack, and we want the runner to be able to register with gitlab as soon as they both come up.

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry 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
  - [x] All builds are passing
- [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [ ] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !6642
2016-12-15 11:12:29 +00:00
..
access_requestable_spec.rb Make access request specs explicitly enable or disable access requests as required 2016-11-11 15:45:47 +00:00
awardable_spec.rb Order award tooltips by their created_at date 2016-09-01 08:40:10 +10:00
cache_markdown_field_spec.rb Add RTL support to markdown renderer 2016-10-16 17:47:48 +03:30
case_sensitivity_spec.rb
expirable_spec.rb Differentiate the expire from leave event 2016-10-20 00:26:45 +00:00
faster_cache_keys_spec.rb
has_status_spec.rb Fix handling of allowed to failure jobs 2016-12-06 14:13:21 +01:00
issuable_spec.rb Use :maximum instead of :within for length validators with a 0..N range 2016-12-06 10:23:17 +01:00
mentionable_spec.rb Simplify Mentionable concern instance methods 2016-10-04 10:45:48 +02:00
milestoneish_spec.rb Add a starting date to milestones 2016-11-23 13:41:04 +02:00
participable_spec.rb
project_features_compatibility_spec.rb Fix project features default values 2016-11-01 11:03:56 -02:00
routable_spec.rb Rename Routable.where_paths_in to Routable.where_full_path_in 2016-12-11 10:30:40 +02:00
spammable_spec.rb
strip_attribute_spec.rb
subscribable_spec.rb Allow subscriptions to be created without a project 2016-11-17 15:10:13 -02:00
token_authenticatable_spec.rb Allow users to seed the initial runner registration token using an environment variable 2016-12-01 17:21:21 -08:00