Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
688e297f
Commit
688e297f
authored
Mar 01, 2021
by
Adam Hegyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Remove historic minergate trigger"
This reverts commit
471e2d42
.
parent
c3111e93
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
34 deletions
+0
-34
changelogs/unreleased/ab-remove-minergate-trigger.yml
changelogs/unreleased/ab-remove-minergate-trigger.yml
+0
-5
db/migrate/20210223105256_remove_minergate_trigger_on_git_lab_com.rb
...20210223105256_remove_minergate_trigger_on_git_lab_com.rb
+0
-28
db/schema_migrations/20210223105256
db/schema_migrations/20210223105256
+0
-1
No files found.
changelogs/unreleased/ab-remove-minergate-trigger.yml
deleted
100644 → 0
View file @
c3111e93
---
title
:
Remove historic minergate trigger (GitLab.com only)
merge_request
:
54910
author
:
type
:
other
db/migrate/20210223105256_remove_minergate_trigger_on_git_lab_com.rb
deleted
100644 → 0
View file @
c3111e93
# frozen_string_literal: true
class
RemoveMinergateTriggerOnGitLabCom
<
ActiveRecord
::
Migration
[
6.0
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
disable_ddl_transaction!
def
up
return
unless
Gitlab
.
com?
with_lock_retries
do
execute
<<~
SQL
DROP TRIGGER IF EXISTS ci_builds_block_minergate ON ci_builds;
SQL
end
execute
<<~
SQL
DROP FUNCTION IF EXISTS make_build_to_be_stuck_with_lock_version();
DROP FUNCTION IF EXISTS make_build_to_be_stuck();
SQL
end
def
down
# no-op
end
end
db/schema_migrations/20210223105256
deleted
100644 → 0
View file @
c3111e93
5fa0e89f9d7715309f6fd9808a07c34bcca0d556a2a4a2841f419b3279db8759
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment