diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 12:55:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 12:55:51 +0300 |
commit | e8d2c2579383897a1dd7f9debd359abe8ae8373d (patch) | |
tree | c42be41678c2586d49a75cabce89322082698334 /app/models/packages/event.rb | |
parent | fc845b37ec3a90aaa719975f607740c22ba6a113 (diff) |
Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42
Diffstat (limited to 'app/models/packages/event.rb')
-rw-r--r-- | app/models/packages/event.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/models/packages/event.rb b/app/models/packages/event.rb index 98c9d5246db..a1eb7120117 100644 --- a/app/models/packages/event.rb +++ b/app/models/packages/event.rb @@ -3,7 +3,7 @@ class Packages::Event < ApplicationRecord belongs_to :package, optional: true - UNIQUE_EVENTS_ALLOWED = %i[push_package delete_package pull_package].freeze + UNIQUE_EVENTS_ALLOWED = %i[push_package delete_package pull_package pull_symbol_package push_symbol_package].freeze EVENT_SCOPES = ::Packages::Package.package_types.merge(container: 1000, tag: 1001).freeze EVENT_PREFIX = "i_package" @@ -21,7 +21,9 @@ class Packages::Event < ApplicationRecord delete_tag: 7, delete_tag_bulk: 8, list_tags: 9, - cli_metadata: 10 + cli_metadata: 10, + pull_symbol_package: 11, + push_symbol_package: 12 } enum originator_type: { user: 0, deploy_token: 1, guest: 2 } |