summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/application_setting/term.rb2
-rw-r--r--app/models/badges/group_badge.rb2
-rw-r--r--app/models/badges/project_badge.rb2
-rw-r--r--app/models/blob_viewer/auxiliary.rb2
-rw-r--r--app/models/blob_viewer/balsamiq.rb2
-rw-r--r--app/models/blob_viewer/base.rb2
-rw-r--r--app/models/blob_viewer/binary_stl.rb2
-rw-r--r--app/models/blob_viewer/cartfile.rb2
-rw-r--r--app/models/blob_viewer/changelog.rb2
-rw-r--r--app/models/blob_viewer/client_side.rb2
-rw-r--r--app/models/blob_viewer/composer_json.rb2
-rw-r--r--app/models/blob_viewer/contributing.rb2
-rw-r--r--app/models/blob_viewer/dependency_manager.rb2
-rw-r--r--app/models/blob_viewer/download.rb2
-rw-r--r--app/models/blob_viewer/empty.rb2
-rw-r--r--app/models/blob_viewer/gemfile.rb2
-rw-r--r--app/models/blob_viewer/gemspec.rb2
-rw-r--r--app/models/blob_viewer/gitlab_ci_yml.rb2
-rw-r--r--app/models/blob_viewer/godeps_json.rb2
-rw-r--r--app/models/blob_viewer/image.rb2
-rw-r--r--app/models/blob_viewer/license.rb2
-rw-r--r--app/models/blob_viewer/markup.rb2
-rw-r--r--app/models/blob_viewer/notebook.rb2
-rw-r--r--app/models/blob_viewer/package_json.rb2
-rw-r--r--app/models/blob_viewer/pdf.rb2
-rw-r--r--app/models/blob_viewer/podfile.rb2
-rw-r--r--app/models/blob_viewer/podspec.rb2
-rw-r--r--app/models/blob_viewer/podspec_json.rb2
-rw-r--r--app/models/blob_viewer/readme.rb2
-rw-r--r--app/models/blob_viewer/requirements_txt.rb2
-rw-r--r--app/models/blob_viewer/rich.rb2
-rw-r--r--app/models/blob_viewer/route_map.rb2
-rw-r--r--app/models/blob_viewer/server_side.rb2
-rw-r--r--app/models/blob_viewer/simple.rb2
-rw-r--r--app/models/blob_viewer/sketch.rb2
-rw-r--r--app/models/blob_viewer/static.rb2
-rw-r--r--app/models/blob_viewer/svg.rb2
-rw-r--r--app/models/blob_viewer/text.rb2
-rw-r--r--app/models/blob_viewer/text_stl.rb2
-rw-r--r--app/models/blob_viewer/video.rb2
-rw-r--r--app/models/blob_viewer/yarn_lock.rb2
-rw-r--r--app/models/ci/artifact_blob.rb2
-rw-r--r--app/models/ci/build.rb2
-rw-r--r--app/models/ci/build_metadata.rb2
-rw-r--r--app/models/ci/build_runner_session.rb2
-rw-r--r--app/models/ci/build_trace_chunk.rb2
-rw-r--r--app/models/ci/build_trace_chunks/database.rb2
-rw-r--r--app/models/ci/build_trace_chunks/fog.rb2
-rw-r--r--app/models/ci/build_trace_chunks/redis.rb2
-rw-r--r--app/models/ci/build_trace_section.rb2
-rw-r--r--app/models/ci/build_trace_section_name.rb2
-rw-r--r--app/models/ci/group.rb2
-rw-r--r--app/models/ci/group_variable.rb2
-rw-r--r--app/models/ci/job_artifact.rb2
-rw-r--r--app/models/ci/legacy_stage.rb2
-rw-r--r--app/models/ci/pipeline.rb2
-rw-r--r--app/models/ci/pipeline_schedule.rb2
-rw-r--r--app/models/ci/pipeline_schedule_variable.rb2
-rw-r--r--app/models/ci/pipeline_variable.rb2
-rw-r--r--app/models/ci/runner.rb2
-rw-r--r--app/models/ci/runner_namespace.rb2
-rw-r--r--app/models/ci/runner_project.rb2
-rw-r--r--app/models/ci/stage.rb2
-rw-r--r--app/models/ci/trigger.rb2
-rw-r--r--app/models/ci/trigger_request.rb2
-rw-r--r--app/models/ci/variable.rb2
-rw-r--r--app/models/clusters/applications/helm.rb2
-rw-r--r--app/models/clusters/applications/ingress.rb2
-rw-r--r--app/models/clusters/applications/jupyter.rb2
-rw-r--r--app/models/clusters/applications/prometheus.rb2
-rw-r--r--app/models/clusters/applications/runner.rb2
-rw-r--r--app/models/clusters/cluster.rb2
-rw-r--r--app/models/clusters/concerns/application_core.rb2
-rw-r--r--app/models/clusters/concerns/application_data.rb2
-rw-r--r--app/models/clusters/concerns/application_status.rb2
-rw-r--r--app/models/clusters/platforms/kubernetes.rb2
-rw-r--r--app/models/clusters/project.rb2
-rw-r--r--app/models/clusters/providers/gcp.rb2
78 files changed, 156 insertions, 0 deletions
diff --git a/app/models/application_setting/term.rb b/app/models/application_setting/term.rb
index 3b1dfe7e4ef..498701ba22b 100644
--- a/app/models/application_setting/term.rb
+++ b/app/models/application_setting/term.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class ApplicationSetting
class Term < ActiveRecord::Base
include CacheMarkdownField
diff --git a/app/models/badges/group_badge.rb b/app/models/badges/group_badge.rb
index f4b2bdecdcc..c0712f452df 100644
--- a/app/models/badges/group_badge.rb
+++ b/app/models/badges/group_badge.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class GroupBadge < Badge
belongs_to :group
diff --git a/app/models/badges/project_badge.rb b/app/models/badges/project_badge.rb
index 3945b376052..59638df6fad 100644
--- a/app/models/badges/project_badge.rb
+++ b/app/models/badges/project_badge.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class ProjectBadge < Badge
belongs_to :project
diff --git a/app/models/blob_viewer/auxiliary.rb b/app/models/blob_viewer/auxiliary.rb
index 1bea225f17c..263d51b4e36 100644
--- a/app/models/blob_viewer/auxiliary.rb
+++ b/app/models/blob_viewer/auxiliary.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
module Auxiliary
extend ActiveSupport::Concern
diff --git a/app/models/blob_viewer/balsamiq.rb b/app/models/blob_viewer/balsamiq.rb
index f982521db99..1af6c5474d7 100644
--- a/app/models/blob_viewer/balsamiq.rb
+++ b/app/models/blob_viewer/balsamiq.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Balsamiq < Base
include Rich
diff --git a/app/models/blob_viewer/base.rb b/app/models/blob_viewer/base.rb
index bf3453b3063..eaaf9af1330 100644
--- a/app/models/blob_viewer/base.rb
+++ b/app/models/blob_viewer/base.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Base
PARTIAL_PATH_PREFIX = 'projects/blob/viewers'.freeze
diff --git a/app/models/blob_viewer/binary_stl.rb b/app/models/blob_viewer/binary_stl.rb
index 80393471ef2..425f72decae 100644
--- a/app/models/blob_viewer/binary_stl.rb
+++ b/app/models/blob_viewer/binary_stl.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class BinarySTL < Base
include Rich
diff --git a/app/models/blob_viewer/cartfile.rb b/app/models/blob_viewer/cartfile.rb
index d8471bc33c0..ea0494033bf 100644
--- a/app/models/blob_viewer/cartfile.rb
+++ b/app/models/blob_viewer/cartfile.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Cartfile < DependencyManager
include Static
diff --git a/app/models/blob_viewer/changelog.rb b/app/models/blob_viewer/changelog.rb
index 0464ae27f71..8810bd25809 100644
--- a/app/models/blob_viewer/changelog.rb
+++ b/app/models/blob_viewer/changelog.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Changelog < Base
include Auxiliary
diff --git a/app/models/blob_viewer/client_side.rb b/app/models/blob_viewer/client_side.rb
index 079cfbe3616..f7efd4b8e50 100644
--- a/app/models/blob_viewer/client_side.rb
+++ b/app/models/blob_viewer/client_side.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
module ClientSide
extend ActiveSupport::Concern
diff --git a/app/models/blob_viewer/composer_json.rb b/app/models/blob_viewer/composer_json.rb
index def4879fbb5..9d1376de0cb 100644
--- a/app/models/blob_viewer/composer_json.rb
+++ b/app/models/blob_viewer/composer_json.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class ComposerJson < DependencyManager
include ServerSide
diff --git a/app/models/blob_viewer/contributing.rb b/app/models/blob_viewer/contributing.rb
index fbd1dd48697..fa224309e31 100644
--- a/app/models/blob_viewer/contributing.rb
+++ b/app/models/blob_viewer/contributing.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Contributing < Base
include Auxiliary
diff --git a/app/models/blob_viewer/dependency_manager.rb b/app/models/blob_viewer/dependency_manager.rb
index cc4950240af..711465c7c79 100644
--- a/app/models/blob_viewer/dependency_manager.rb
+++ b/app/models/blob_viewer/dependency_manager.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class DependencyManager < Base
include Auxiliary
diff --git a/app/models/blob_viewer/download.rb b/app/models/blob_viewer/download.rb
index 074e7204814..8228a83c2b1 100644
--- a/app/models/blob_viewer/download.rb
+++ b/app/models/blob_viewer/download.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Download < Base
include Simple
diff --git a/app/models/blob_viewer/empty.rb b/app/models/blob_viewer/empty.rb
index 2380578ed72..766be349d83 100644
--- a/app/models/blob_viewer/empty.rb
+++ b/app/models/blob_viewer/empty.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Empty < Base
include Simple
diff --git a/app/models/blob_viewer/gemfile.rb b/app/models/blob_viewer/gemfile.rb
index fae8c8df23f..77220cdbd08 100644
--- a/app/models/blob_viewer/gemfile.rb
+++ b/app/models/blob_viewer/gemfile.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Gemfile < DependencyManager
include Static
diff --git a/app/models/blob_viewer/gemspec.rb b/app/models/blob_viewer/gemspec.rb
index 7802edeb754..274859a7710 100644
--- a/app/models/blob_viewer/gemspec.rb
+++ b/app/models/blob_viewer/gemspec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Gemspec < DependencyManager
include ServerSide
diff --git a/app/models/blob_viewer/gitlab_ci_yml.rb b/app/models/blob_viewer/gitlab_ci_yml.rb
index 53bc247dec1..1a86f04b1b9 100644
--- a/app/models/blob_viewer/gitlab_ci_yml.rb
+++ b/app/models/blob_viewer/gitlab_ci_yml.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class GitlabCiYml < Base
include ServerSide
diff --git a/app/models/blob_viewer/godeps_json.rb b/app/models/blob_viewer/godeps_json.rb
index e19a602603b..743c759aea5 100644
--- a/app/models/blob_viewer/godeps_json.rb
+++ b/app/models/blob_viewer/godeps_json.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class GodepsJson < DependencyManager
include Static
diff --git a/app/models/blob_viewer/image.rb b/app/models/blob_viewer/image.rb
index c4eae5c79c2..56e27839fca 100644
--- a/app/models/blob_viewer/image.rb
+++ b/app/models/blob_viewer/image.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Image < Base
include Rich
diff --git a/app/models/blob_viewer/license.rb b/app/models/blob_viewer/license.rb
index 57355f2c3aa..3427227ad26 100644
--- a/app/models/blob_viewer/license.rb
+++ b/app/models/blob_viewer/license.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class License < Base
include Auxiliary
diff --git a/app/models/blob_viewer/markup.rb b/app/models/blob_viewer/markup.rb
index 33b59c4f512..f525180048e 100644
--- a/app/models/blob_viewer/markup.rb
+++ b/app/models/blob_viewer/markup.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Markup < Base
include Rich
diff --git a/app/models/blob_viewer/notebook.rb b/app/models/blob_viewer/notebook.rb
index e00b47e6c17..57d6d802db3 100644
--- a/app/models/blob_viewer/notebook.rb
+++ b/app/models/blob_viewer/notebook.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Notebook < Base
include Rich
diff --git a/app/models/blob_viewer/package_json.rb b/app/models/blob_viewer/package_json.rb
index 46cd2f04f4d..d12dd93ce2e 100644
--- a/app/models/blob_viewer/package_json.rb
+++ b/app/models/blob_viewer/package_json.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class PackageJson < DependencyManager
include ServerSide
diff --git a/app/models/blob_viewer/pdf.rb b/app/models/blob_viewer/pdf.rb
index 65805f5f388..2cf7752585c 100644
--- a/app/models/blob_viewer/pdf.rb
+++ b/app/models/blob_viewer/pdf.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class PDF < Base
include Rich
diff --git a/app/models/blob_viewer/podfile.rb b/app/models/blob_viewer/podfile.rb
index 507bc734cb4..73d714f48ca 100644
--- a/app/models/blob_viewer/podfile.rb
+++ b/app/models/blob_viewer/podfile.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Podfile < DependencyManager
include Static
diff --git a/app/models/blob_viewer/podspec.rb b/app/models/blob_viewer/podspec.rb
index a4c242db3a9..2303471583d 100644
--- a/app/models/blob_viewer/podspec.rb
+++ b/app/models/blob_viewer/podspec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Podspec < DependencyManager
include ServerSide
diff --git a/app/models/blob_viewer/podspec_json.rb b/app/models/blob_viewer/podspec_json.rb
index 602f4a51fd9..d3f6ae269da 100644
--- a/app/models/blob_viewer/podspec_json.rb
+++ b/app/models/blob_viewer/podspec_json.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class PodspecJson < Podspec
self.file_types = %i(podspec_json)
diff --git a/app/models/blob_viewer/readme.rb b/app/models/blob_viewer/readme.rb
index 4604a9934a0..f1a5c6a6acc 100644
--- a/app/models/blob_viewer/readme.rb
+++ b/app/models/blob_viewer/readme.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Readme < Base
include Auxiliary
diff --git a/app/models/blob_viewer/requirements_txt.rb b/app/models/blob_viewer/requirements_txt.rb
index 83ac55f61d0..58161e83493 100644
--- a/app/models/blob_viewer/requirements_txt.rb
+++ b/app/models/blob_viewer/requirements_txt.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class RequirementsTxt < DependencyManager
include Static
diff --git a/app/models/blob_viewer/rich.rb b/app/models/blob_viewer/rich.rb
index be373dbc948..0f66a672102 100644
--- a/app/models/blob_viewer/rich.rb
+++ b/app/models/blob_viewer/rich.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
module Rich
extend ActiveSupport::Concern
diff --git a/app/models/blob_viewer/route_map.rb b/app/models/blob_viewer/route_map.rb
index 153b4eeb2c9..6731536dfe1 100644
--- a/app/models/blob_viewer/route_map.rb
+++ b/app/models/blob_viewer/route_map.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class RouteMap < Base
include ServerSide
diff --git a/app/models/blob_viewer/server_side.rb b/app/models/blob_viewer/server_side.rb
index 86afcc86aa0..29501f50396 100644
--- a/app/models/blob_viewer/server_side.rb
+++ b/app/models/blob_viewer/server_side.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
module ServerSide
extend ActiveSupport::Concern
diff --git a/app/models/blob_viewer/simple.rb b/app/models/blob_viewer/simple.rb
index 454a20495fc..c176784df46 100644
--- a/app/models/blob_viewer/simple.rb
+++ b/app/models/blob_viewer/simple.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
module Simple
extend ActiveSupport::Concern
diff --git a/app/models/blob_viewer/sketch.rb b/app/models/blob_viewer/sketch.rb
index 818456778e1..659ab11f30b 100644
--- a/app/models/blob_viewer/sketch.rb
+++ b/app/models/blob_viewer/sketch.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Sketch < Base
include Rich
diff --git a/app/models/blob_viewer/static.rb b/app/models/blob_viewer/static.rb
index c9e257e5388..5cac08aa189 100644
--- a/app/models/blob_viewer/static.rb
+++ b/app/models/blob_viewer/static.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
module Static
extend ActiveSupport::Concern
diff --git a/app/models/blob_viewer/svg.rb b/app/models/blob_viewer/svg.rb
index b7e5cd71e6b..454c6a57568 100644
--- a/app/models/blob_viewer/svg.rb
+++ b/app/models/blob_viewer/svg.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class SVG < Base
include Rich
diff --git a/app/models/blob_viewer/text.rb b/app/models/blob_viewer/text.rb
index f68cbb7e212..e0c586a6680 100644
--- a/app/models/blob_viewer/text.rb
+++ b/app/models/blob_viewer/text.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Text < Base
include Simple
diff --git a/app/models/blob_viewer/text_stl.rb b/app/models/blob_viewer/text_stl.rb
index 8184dc0104c..fb6b26d2e44 100644
--- a/app/models/blob_viewer/text_stl.rb
+++ b/app/models/blob_viewer/text_stl.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class TextSTL < BinarySTL
self.binary = false
diff --git a/app/models/blob_viewer/video.rb b/app/models/blob_viewer/video.rb
index 057f9fe516f..48bb2a13518 100644
--- a/app/models/blob_viewer/video.rb
+++ b/app/models/blob_viewer/video.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class Video < Base
include Rich
diff --git a/app/models/blob_viewer/yarn_lock.rb b/app/models/blob_viewer/yarn_lock.rb
index 31588ddcbab..196d9f96f23 100644
--- a/app/models/blob_viewer/yarn_lock.rb
+++ b/app/models/blob_viewer/yarn_lock.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module BlobViewer
class YarnLock < DependencyManager
include Static
diff --git a/app/models/ci/artifact_blob.rb b/app/models/ci/artifact_blob.rb
index 760f01f225b..cd0b31482d2 100644
--- a/app/models/ci/artifact_blob.rb
+++ b/app/models/ci/artifact_blob.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class ArtifactBlob
include BlobLike
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb
index 93bbee49c09..8ea252cdafb 100644
--- a/app/models/ci/build.rb
+++ b/app/models/ci/build.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class Build < CommitStatus
prepend ArtifactMigratable
diff --git a/app/models/ci/build_metadata.rb b/app/models/ci/build_metadata.rb
index 96762f8845c..9d588b862bd 100644
--- a/app/models/ci/build_metadata.rb
+++ b/app/models/ci/build_metadata.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
# The purpose of this class is to store Build related data that can be disposed.
# Data that should be persisted forever, should be stored with Ci::Build model.
diff --git a/app/models/ci/build_runner_session.rb b/app/models/ci/build_runner_session.rb
index 869dc0ccadf..457d7eeab6a 100644
--- a/app/models/ci/build_runner_session.rb
+++ b/app/models/ci/build_runner_session.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
# The purpose of this class is to store Build related runner session.
# Data will be removed after transitioning from running to any state.
diff --git a/app/models/ci/build_trace_chunk.rb b/app/models/ci/build_trace_chunk.rb
index b442de34061..108874b75a6 100644
--- a/app/models/ci/build_trace_chunk.rb
+++ b/app/models/ci/build_trace_chunk.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class BuildTraceChunk < ActiveRecord::Base
include FastDestroyAll
diff --git a/app/models/ci/build_trace_chunks/database.rb b/app/models/ci/build_trace_chunks/database.rb
index 3666d77c790..73cb8abf381 100644
--- a/app/models/ci/build_trace_chunks/database.rb
+++ b/app/models/ci/build_trace_chunks/database.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
module BuildTraceChunks
class Database
diff --git a/app/models/ci/build_trace_chunks/fog.rb b/app/models/ci/build_trace_chunks/fog.rb
index 7506c40a39d..a849bd08427 100644
--- a/app/models/ci/build_trace_chunks/fog.rb
+++ b/app/models/ci/build_trace_chunks/fog.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
module BuildTraceChunks
class Fog
diff --git a/app/models/ci/build_trace_chunks/redis.rb b/app/models/ci/build_trace_chunks/redis.rb
index fdb6065e2a0..813eaf5d839 100644
--- a/app/models/ci/build_trace_chunks/redis.rb
+++ b/app/models/ci/build_trace_chunks/redis.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
module BuildTraceChunks
class Redis
diff --git a/app/models/ci/build_trace_section.rb b/app/models/ci/build_trace_section.rb
index ccdb95546c8..a4bee59c83b 100644
--- a/app/models/ci/build_trace_section.rb
+++ b/app/models/ci/build_trace_section.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class BuildTraceSection < ActiveRecord::Base
extend Gitlab::Ci::Model
diff --git a/app/models/ci/build_trace_section_name.rb b/app/models/ci/build_trace_section_name.rb
index 0fdcb1ea329..cbdf3c4b673 100644
--- a/app/models/ci/build_trace_section_name.rb
+++ b/app/models/ci/build_trace_section_name.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class BuildTraceSectionName < ActiveRecord::Base
extend Gitlab::Ci::Model
diff --git a/app/models/ci/group.rb b/app/models/ci/group.rb
index 9c1046e8715..9b2c3c807ac 100644
--- a/app/models/ci/group.rb
+++ b/app/models/ci/group.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
##
# This domain model is a representation of a group of jobs that are related
diff --git a/app/models/ci/group_variable.rb b/app/models/ci/group_variable.rb
index 44cb583e1bd..492d1d0329e 100644
--- a/app/models/ci/group_variable.rb
+++ b/app/models/ci/group_variable.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class GroupVariable < ActiveRecord::Base
extend Gitlab::Ci::Model
diff --git a/app/models/ci/job_artifact.rb b/app/models/ci/job_artifact.rb
index 054b714f8ac..7b31b4e2e47 100644
--- a/app/models/ci/job_artifact.rb
+++ b/app/models/ci/job_artifact.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class JobArtifact < ActiveRecord::Base
include AfterCommitQueue
diff --git a/app/models/ci/legacy_stage.rb b/app/models/ci/legacy_stage.rb
index ce691875e42..96dbc7b6895 100644
--- a/app/models/ci/legacy_stage.rb
+++ b/app/models/ci/legacy_stage.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
# Currently this is artificial object, constructed dynamically
# We should migrate this object to actual database record in the future
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb
index e5caa3ffa41..85c51fb3869 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class Pipeline < ActiveRecord::Base
extend Gitlab::Ci::Model
diff --git a/app/models/ci/pipeline_schedule.rb b/app/models/ci/pipeline_schedule.rb
index b6abc3d7681..1c1f203bdb2 100644
--- a/app/models/ci/pipeline_schedule.rb
+++ b/app/models/ci/pipeline_schedule.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class PipelineSchedule < ActiveRecord::Base
extend Gitlab::Ci::Model
diff --git a/app/models/ci/pipeline_schedule_variable.rb b/app/models/ci/pipeline_schedule_variable.rb
index 03df4e3e638..fbb9987cab2 100644
--- a/app/models/ci/pipeline_schedule_variable.rb
+++ b/app/models/ci/pipeline_schedule_variable.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class PipelineScheduleVariable < ActiveRecord::Base
extend Gitlab::Ci::Model
diff --git a/app/models/ci/pipeline_variable.rb b/app/models/ci/pipeline_variable.rb
index 38e14ffbc0c..017ec0b145a 100644
--- a/app/models/ci/pipeline_variable.rb
+++ b/app/models/ci/pipeline_variable.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class PipelineVariable < ActiveRecord::Base
extend Gitlab::Ci::Model
diff --git a/app/models/ci/runner.rb b/app/models/ci/runner.rb
index bcd0c206bca..f41955f43e7 100644
--- a/app/models/ci/runner.rb
+++ b/app/models/ci/runner.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class Runner < ActiveRecord::Base
extend Gitlab::Ci::Model
diff --git a/app/models/ci/runner_namespace.rb b/app/models/ci/runner_namespace.rb
index 29508fdd326..22b80b98551 100644
--- a/app/models/ci/runner_namespace.rb
+++ b/app/models/ci/runner_namespace.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class RunnerNamespace < ActiveRecord::Base
extend Gitlab::Ci::Model
diff --git a/app/models/ci/runner_project.rb b/app/models/ci/runner_project.rb
index 52437047300..1a718d24141 100644
--- a/app/models/ci/runner_project.rb
+++ b/app/models/ci/runner_project.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class RunnerProject < ActiveRecord::Base
extend Gitlab::Ci::Model
diff --git a/app/models/ci/stage.rb b/app/models/ci/stage.rb
index ea07f37e6c1..511ded55dc3 100644
--- a/app/models/ci/stage.rb
+++ b/app/models/ci/stage.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class Stage < ActiveRecord::Base
extend Gitlab::Ci::Model
diff --git a/app/models/ci/trigger.rb b/app/models/ci/trigger.rb
index aa065e33739..55db42162ca 100644
--- a/app/models/ci/trigger.rb
+++ b/app/models/ci/trigger.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class Trigger < ActiveRecord::Base
extend Gitlab::Ci::Model
diff --git a/app/models/ci/trigger_request.rb b/app/models/ci/trigger_request.rb
index 215b1cf6753..913936a0bcb 100644
--- a/app/models/ci/trigger_request.rb
+++ b/app/models/ci/trigger_request.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class TriggerRequest < ActiveRecord::Base
extend Gitlab::Ci::Model
diff --git a/app/models/ci/variable.rb b/app/models/ci/variable.rb
index 452cb910bca..524d79014f8 100644
--- a/app/models/ci/variable.rb
+++ b/app/models/ci/variable.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Ci
class Variable < ActiveRecord::Base
extend Gitlab::Ci::Model
diff --git a/app/models/clusters/applications/helm.rb b/app/models/clusters/applications/helm.rb
index 58de3448577..61df6174c86 100644
--- a/app/models/clusters/applications/helm.rb
+++ b/app/models/clusters/applications/helm.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Clusters
module Applications
class Helm < ActiveRecord::Base
diff --git a/app/models/clusters/applications/ingress.rb b/app/models/clusters/applications/ingress.rb
index 4a8fd9a0b8c..2440efe76ab 100644
--- a/app/models/clusters/applications/ingress.rb
+++ b/app/models/clusters/applications/ingress.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Clusters
module Applications
class Ingress < ActiveRecord::Base
diff --git a/app/models/clusters/applications/jupyter.rb b/app/models/clusters/applications/jupyter.rb
index 72dd734246b..33d54ba86fe 100644
--- a/app/models/clusters/applications/jupyter.rb
+++ b/app/models/clusters/applications/jupyter.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Clusters
module Applications
class Jupyter < ActiveRecord::Base
diff --git a/app/models/clusters/applications/prometheus.rb b/app/models/clusters/applications/prometheus.rb
index 53ac9199ae2..ccb415b3fe2 100644
--- a/app/models/clusters/applications/prometheus.rb
+++ b/app/models/clusters/applications/prometheus.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Clusters
module Applications
class Prometheus < ActiveRecord::Base
diff --git a/app/models/clusters/applications/runner.rb b/app/models/clusters/applications/runner.rb
index 6d97dd1448a..426aed91089 100644
--- a/app/models/clusters/applications/runner.rb
+++ b/app/models/clusters/applications/runner.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Clusters
module Applications
class Runner < ActiveRecord::Base
diff --git a/app/models/clusters/cluster.rb b/app/models/clusters/cluster.rb
index b426b1bf8a1..7cf75403ab6 100644
--- a/app/models/clusters/cluster.rb
+++ b/app/models/clusters/cluster.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Clusters
class Cluster < ActiveRecord::Base
include Presentable
diff --git a/app/models/clusters/concerns/application_core.rb b/app/models/clusters/concerns/application_core.rb
index 623b836c0ed..e3deedfb036 100644
--- a/app/models/clusters/concerns/application_core.rb
+++ b/app/models/clusters/concerns/application_core.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Clusters
module Concerns
module ApplicationCore
diff --git a/app/models/clusters/concerns/application_data.rb b/app/models/clusters/concerns/application_data.rb
index 96ac757e99e..14e004b9a57 100644
--- a/app/models/clusters/concerns/application_data.rb
+++ b/app/models/clusters/concerns/application_data.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Clusters
module Concerns
module ApplicationData
diff --git a/app/models/clusters/concerns/application_status.rb b/app/models/clusters/concerns/application_status.rb
index 8f3eb75bfa9..d4d3859dfd5 100644
--- a/app/models/clusters/concerns/application_status.rb
+++ b/app/models/clusters/concerns/application_status.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Clusters
module Concerns
module ApplicationStatus
diff --git a/app/models/clusters/platforms/kubernetes.rb b/app/models/clusters/platforms/kubernetes.rb
index 36631d57ad1..e6ddca0d5d0 100644
--- a/app/models/clusters/platforms/kubernetes.rb
+++ b/app/models/clusters/platforms/kubernetes.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Clusters
module Platforms
class Kubernetes < ActiveRecord::Base
diff --git a/app/models/clusters/project.rb b/app/models/clusters/project.rb
index eeb734b20b8..839ce796081 100644
--- a/app/models/clusters/project.rb
+++ b/app/models/clusters/project.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Clusters
class Project < ActiveRecord::Base
self.table_name = 'cluster_projects'
diff --git a/app/models/clusters/providers/gcp.rb b/app/models/clusters/providers/gcp.rb
index 4db1bb35c12..16b59cd9d14 100644
--- a/app/models/clusters/providers/gcp.rb
+++ b/app/models/clusters/providers/gcp.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Clusters
module Providers
class Gcp < ActiveRecord::Base