Support release Copr builds for GitLab
- [ ] add the `reacts_to` for release GitLab event [here](https://github.com/packit/packit-service/blob/d89ea8044ab43b773da8cd730694edf77b767331/packit_service/worker/handlers/copr.py#L81)
- [ ] add a test case
diff --git a/packit_service/worker/handlers/copr.py b/packit_service/worker/handlers/copr.py
index 043f7f64..25953dd8 100644
--- a/packit_service/worker/handlers/copr.py
+++ b/packit_service/worker/handlers/copr.py
@@ -49,6 +49,7 @@ from packit_service.worker.events import (
     CheckRerunPullRequestEvent,
     CheckRerunReleaseEvent,
     AbstractPRCommentEvent,
+    ReleaseGitlabEvent,
 )
 from packit_service.worker.handlers.abstract import (
     JobHandler,
@@ -79,6 +80,7 @@ logger = logging.getLogger(__name__)
 @run_for_comment(command="rebuild-failed")
 @run_for_check_rerun(prefix="rpm-build")
 @reacts_to(ReleaseEvent)
+@reacts_to(ReleaseGitlabEvent)
 @reacts_to(PullRequestGithubEvent)
 @reacts_to(PushGitHubEvent)
 @reacts_to(PushGitlabEvent)
diff --git a/packit_service/worker/handlers/koji.py b/packit_service/worker/handlers/koji.py
index 7e2f7669..61fd7f1a 100644
--- a/packit_service/worker/handlers/koji.py
+++ b/packit_service/worker/handlers/koji.py
@@ -39,6 +39,7 @@ from packit_service.worker.events import (
     PushGitlabEvent,
     ReleaseEvent,
     AbstractPRCommentEvent,
+    ReleaseGitlabEvent,
 )
 from packit_service.worker.events.koji import KojiBuildEvent
 from packit_service.worker.handlers.abstract import (
@@ -66,6 +67,7 @@ logger = logging.getLogger(__name__)
 @run_for_check_rerun(prefix="production-build")
 @run_for_check_rerun(prefix="koji-build")
 @reacts_to(ReleaseEvent)
+@reacts_to(ReleaseGitlabEvent)
 @reacts_to(PullRequestGithubEvent)
 @reacts_to(PushGitHubEvent)
 @reacts_to(PushGitlabEvent)
diff --git a/tests/unit/test_jobs.py b/tests/unit/test_jobs.py
index b64aad85..8780d86b 100644
--- a/tests/unit/test_jobs.py
+++ b/tests/unit/test_jobs.py
@@ -36,6 +36,7 @@ from packit_service.worker.events import (
     CheckRerunCommitEvent,
     CheckRerunPullRequestEvent,
     CheckRerunReleaseEvent,
+    ReleaseGitlabEvent,
 )
 from packit_service.worker.events.koji import KojiBuildEvent
 from packit_service.worker.handlers import (
@@ -933,6 +934,32 @@ from packit_service.worker.result import TaskResults
             {CreateBodhiUpdateHandler, KojiBuildReportHandler},
             id="config=bodhi_update_for_commit&commit&CreateBodhiUpdateHandler",
         ),
+        pytest.param(
+            ReleaseGitlabEvent,
+            flexmock(job_config_trigger_type=JobConfigTriggerType.release),
+            [
+                JobConfig(
+                    type=JobType.copr_build,
+                    trigger=JobConfigTriggerType.release,
+                    packages={"package": CommonPackageConfig()},
+                ),
+            ],
+            {CoprBuildHandler},
+            id="Copr build on release on GitLab",
+        ),
+        pytest.param(
+            ReleaseGitlabEvent,
+            flexmock(job_config_trigger_type=JobConfigTriggerType.release),
+            [
+                JobConfig(
+                    type=JobType.production_build,
+                    trigger=JobConfigTriggerType.release,
+                    packages={"package": CommonPackageConfig()},
+                ),
+            ],
+            {KojiBuildHandler},
+            id="Upstream Koji build on release on GitLab",
+        ),
     ],
 )
 def test_get_handlers_for_event(event_cls, db_trigger, jobs, result):
['packit_service/worker/handlers/copr.py', 'packit_service/worker/handlers/koji.py', 'tests/unit/test_jobs.py']