gitlab-org--gitlab-foss/app/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.rb Re-add the AccessRequestable concern 2016-09-22 11:12:17 +02:00
awardable.rb Start Frontend work, fix routing problem 2016-09-19 19:50:40 +03:00
cache_markdown_field.rb Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
case_sensitivity.rb
expirable.rb Differentiate the expire from leave event 2016-10-20 00:26:45 +00:00
faster_cache_keys.rb
has_status.rb Fix success status 2016-12-07 12:47:06 +01:00
importable.rb
internal_id.rb
issuable.rb Use :maximum instead of :within for length validators with a 0..N range 2016-12-06 10:23:17 +01:00
mentionable.rb Allow JIRA references for project snippets 2016-11-21 12:09:41 -02:00
milestoneish.rb Merge branch 'jej-23867-use-mr-finder-instead-of-access-check' into 'security' 2016-12-08 21:42:07 -03:00
note_on_diff.rb Move #to_discussion to NoteOnDiff 2016-08-30 16:30:42 +01:00
participable.rb
project_features_compatibility.rb Fix project features default values 2016-11-01 11:03:56 -02:00
protected_branch_access.rb CE-specific changes gitlab-org/gitlab-ee#1137 2016-11-29 17:38:45 +05:30
referable.rb Add shorthand support to gitlab markdown references 2016-12-02 19:18:17 -02:00
routable.rb Rename Routable.where_paths_in to Routable.where_full_path_in 2016-12-11 10:30:40 +02:00
select_for_project_authorization.rb Precalculate user's authorized projects in database 2016-11-18 20:25:45 +02:00
sortable.rb Fix and improve Sortable.highest_label_priority 2016-10-27 21:26:56 -03:00
spammable.rb
strip_attribute.rb
subscribable.rb Allow users to subscribe to a group label at group or project level 2016-11-17 15:10:13 -02:00
taskable.rb add "x of y tasks completed" on issuable 2016-10-28 14:01:36 -02:00
token_authenticatable.rb Allow users to seed the initial runner registration token using an environment variable 2016-12-01 17:21:21 -08:00