Commit ac9e70f5 authored by Valery Sizov's avatar Valery Sizov

Revert "Merge branch '353995-feature-flag-enable-geo_job_artifact_replication' into 'master'"

This reverts merge request !82906
parent 523d369a
......@@ -11043,7 +11043,7 @@ four standard [pagination arguments](#connection-pagination-arguments):
##### `GeoNode.jobArtifactRegistries`
Find Job Artifact registries on this Geo node.
Find Job Artifact registries on this Geo node Available only when feature flag `geo_job_artifact_replication` is enabled. This flag is disabled by default, because the feature is experimental and is subject to change without notice.
Returns [`JobArtifactRegistryConnection`](#jobartifactregistryconnection).
......@@ -19,7 +19,8 @@ module Types
field :job_artifact_registries, ::Types::Geo::JobArtifactRegistryType.connection_type,
null: true,
resolver: ::Resolvers::Geo::JobArtifactRegistriesResolver,
description: 'Find Job Artifact registries on this Geo node'
description: 'Find Job Artifact registries on this Geo node',
feature_flag: :geo_job_artifact_replication
field :lfs_object_registries, ::Types::Geo::LfsObjectRegistryType.connection_type,
null: true,
resolver: ::Resolvers::Geo::LfsObjectRegistriesResolver,
......
......@@ -13,6 +13,12 @@ module Geo
model_record.file
end
# The feature flag follows the format `geo_#{replicable_name}_replication`,
# so here it would be `geo_job_artifact_replication`
def self.replication_enabled_by_default?
false
end
override :verification_feature_flag_enabled?
def self.verification_feature_flag_enabled?
# We are adding verification at the same time as replication, so we
......
---
name: geo_job_artifact_replication
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/issues/327400
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/353995
rollout_issue_url:
milestone: '14.8'
type: development
group: group::geo
default_enabled: true
default_enabled: false
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment