Add runner token expiration interval settings
All threads resolved!
Merged
requested to merge KyleFromKitware/gitlab:runner-token-expiration-interval-settings into master
All threads resolved!
Compare changes
Files
10- Kyle Edwards authored
These settings determine when project runners' tokens will expire. Changelog: added Issue: #30942
+ 17
− 0
@@ -37,6 +37,7 @@ class Project < ApplicationRecord
@@ -37,6 +37,7 @@ class Project < ApplicationRecord
@@ -454,6 +455,7 @@ def self.integration_association_name(name)
@@ -454,6 +455,7 @@ def self.integration_association_name(name)
delegate :job_token_scope_enabled, :job_token_scope_enabled=, to: :ci_cd_settings, prefix: :ci, allow_nil: true
delegate :restrict_user_defined_variables, :restrict_user_defined_variables=, to: :ci_cd_settings, allow_nil: true
@@ -2697,6 +2699,10 @@ def keep_latest_artifact?
@@ -2697,6 +2699,10 @@ def keep_latest_artifact?
@@ -2728,6 +2734,17 @@ def remove_project_authorizations(user_ids, per_batch = 1000)
@@ -2728,6 +2734,17 @@ def remove_project_authorizations(user_ids, per_batch = 1000)