Skip to content
Snippets Groups Projects
Commit 1e8584ec authored by GitLab Release Tools Bot's avatar GitLab Release Tools Bot
Browse files

Merge remote-tracking branch 'dev/13-3-stable' into 13-3-stable

parents 6ebab448 526be831
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3,6 +3,13 @@
The latest version of this file can be found at the master branch of the
omnibus-gitlab repository.
 
## 13.3.7 (2020-10-01)
### Security (1 change)
- Add config for remove unaccepted member invites cron worker.
## 13.3.6 (2020-09-14)
 
- No changes.
Loading
Loading
13.3.6
13.3.7
13.3.6-ee
13.3.7-ee
Loading
Loading
@@ -143,6 +143,7 @@ external_url 'GENERATED_EXTERNAL_URL'
# gitlab_rails['pages_domain_verification_cron_worker'] = "*/15 * * * *"
# gitlab_rails['pages_domain_ssl_renewal_cron_worker'] = "*/10 * * * *"
# gitlab_rails['pages_domain_removal_cron_worker'] = "47 0 * * *"
# gitlab_rails['remove_unaccepted_member_invites_cron_worker'] = "10 15 * * *"
# gitlab_rails['schedule_migrate_external_diffs_worker_cron'] = "15 * * * *"
 
### Webhook Settings
Loading
Loading
Loading
Loading
@@ -127,6 +127,7 @@ default['gitlab']['gitlab-rails']['ci_archive_traces_cron_worker'] = nil
default['gitlab']['gitlab-rails']['pages_domain_verification_cron_worker'] = nil
default['gitlab']['gitlab-rails']['pages_domain_ssl_renewal_cron_worker'] = nil
default['gitlab']['gitlab-rails']['pages_domain_removal_cron_worker'] = nil
default['gitlab']['gitlab-rails']['remove_unaccepted_member_invites_cron_worker'] = nil
default['gitlab']['gitlab-rails']['schedule_migrate_external_diffs_worker_cron'] = nil
default['gitlab']['gitlab-rails']['historical_data_worker_cron'] = nil
default['gitlab']['gitlab-rails']['ldap_sync_worker_cron'] = nil
Loading
Loading
Loading
Loading
@@ -397,6 +397,12 @@ production: &base
pages_domain_removal_cron_worker:
cron:<% if @pages_domain_removal_cron_worker %> "<%= @pages_domain_removal_cron_worker %>"<% end %>
 
# Remove unaccepted member invitations
<% unless @remove_unaccepted_member_invites_cron_worker.nil? %>
remove_unaccepted_member_invites_worker:
cron: "<%= @remove_unaccepted_member_invites_cron_worker %>"
<% end %>
# Periodically migrate diffs from the database to external storage
schedule_migrate_external_diffs_worker:
cron:<% if @schedule_migrate_external_diffs_worker_cron %> "<%= @schedule_migrate_external_diffs_worker_cron %>"<% end %>
Loading
Loading
Loading
Loading
@@ -2022,6 +2022,30 @@ RSpec.describe 'gitlab::gitlab-rails' do
end
end
 
context 'Remove unaccepted member invitations cron job settings' do
context 'when the cron pattern is configured' do
it 'sets the value' do
stub_gitlab_rb(gitlab_rails: { remove_unaccepted_member_invites_cron_worker: '1 * 3 * 5' })
expect(chef_run).to create_templatesymlink('Create a gitlab.yml and create a symlink to Rails root').with_variables(
hash_including(
'remove_unaccepted_member_invites_cron_worker' => '1 * 3 * 5'
)
)
end
end
context 'when cron worker is not configured' do
it ' sets no value' do
expect(chef_run).to create_templatesymlink('Create a gitlab.yml and create a symlink to Rails root').with_variables(
hash_including(
'remove_unaccepted_member_invites_cron_worker' => nil
)
)
end
end
end
context 'External diff migration cron job settings' do
context 'when the cron pattern is configured' do
it 'sets the value' do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment