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
7a2396a7
Commit
7a2396a7
authored
Oct 04, 2018
by
Ash McKenzie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new #docker_exec for QA::Service::Omnibus
parent
ea5874f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
qa/qa/service/omnibus.rb
qa/qa/service/omnibus.rb
+6
-5
No files found.
qa/qa/service/omnibus.rb
View file @
7a2396a7
...
...
@@ -9,11 +9,12 @@ module QA
end
def
gitlab_ctl
(
command
,
input:
nil
)
if
input
.
nil?
shell
"docker exec
#{
@name
}
gitlab-ctl
#{
command
}
"
else
shell
"docker exec
#{
@name
}
bash -c '
#{
input
}
| gitlab-ctl
#{
command
}
'"
end
docker_exec
(
"gitlab-ctl
#{
command
}
"
,
input:
input
)
end
def
docker_exec
(
command
,
input:
nil
)
command
=
"
#{
input
}
|
#{
command
}
"
if
input
shell
"docker exec
#{
@name
}
bash -c '
#{
command
}
'"
end
end
end
...
...
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