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
4ebfa4b0
Commit
4ebfa4b0
authored
Feb 26, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove commit_pipelines webpack entry point
parent
1553a34d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
5 deletions
+8
-5
app/assets/javascripts/commit/pipelines/pipelines_bundle.js
app/assets/javascripts/commit/pipelines/pipelines_bundle.js
+2
-2
app/assets/javascripts/pages/projects/commit/pipelines/index.js
...sets/javascripts/pages/projects/commit/pipelines/index.js
+2
-0
app/assets/javascripts/pages/projects/merge_requests/creations/new/index.js
...ipts/pages/projects/merge_requests/creations/new/index.js
+2
-0
app/assets/javascripts/pages/projects/merge_requests/show/index.js
...s/javascripts/pages/projects/merge_requests/show/index.js
+2
-0
app/views/projects/commit/_pipelines_list.haml
app/views/projects/commit/_pipelines_list.haml
+0
-1
config/webpack.config.js
config/webpack.config.js
+0
-2
No files found.
app/assets/javascripts/commit/pipelines/pipelines_bundle.js
View file @
4ebfa4b0
...
...
@@ -15,7 +15,7 @@ const CommitPipelinesTable = Vue.extend(commitPipelinesTable);
window
.
gl
=
window
.
gl
||
{};
window
.
gl
.
CommitPipelinesTable
=
CommitPipelinesTable
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
export
default
()
=>
{
const
pipelineTableViewEl
=
document
.
querySelector
(
'
#commit-pipeline-table-view
'
);
if
(
pipelineTableViewEl
)
{
...
...
@@ -43,4 +43,4 @@ document.addEventListener('DOMContentLoaded', () => {
pipelineTableViewEl
.
appendChild
(
table
.
$el
);
}
}
}
)
;
};
app/assets/javascripts/pages/projects/commit/pipelines/index.js
View file @
4ebfa4b0
import
MiniPipelineGraph
from
'
~/mini_pipeline_graph_dropdown
'
;
import
initPipelines
from
'
~/commit/pipelines/pipelines_bundle
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
MiniPipelineGraph
({
container
:
'
.js-commit-pipeline-graph
'
,
}).
bindEvents
();
$
(
'
.commit-info.branches
'
).
load
(
document
.
querySelector
(
'
.js-commit-box
'
).
dataset
.
commitPath
);
initPipelines
();
});
app/assets/javascripts/pages/projects/merge_requests/creations/new/index.js
View file @
4ebfa4b0
import
Compare
from
'
~/compare
'
;
import
MergeRequest
from
'
~/merge_request
'
;
import
initPipelines
from
'
~/commit/pipelines/pipelines_bundle
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
const
mrNewCompareNode
=
document
.
querySelector
(
'
.js-merge-request-new-compare
'
);
...
...
@@ -14,5 +15,6 @@ document.addEventListener('DOMContentLoaded', () => {
new
MergeRequest
({
// eslint-disable-line no-new
action
:
mrNewSubmitNode
.
dataset
.
mrSubmitAction
,
});
initPipelines
();
}
});
app/assets/javascripts/pages/projects/merge_requests/show/index.js
View file @
4ebfa4b0
...
...
@@ -7,6 +7,7 @@ import ShortcutsIssuable from '~/shortcuts_issuable';
import
Diff
from
'
~/diff
'
;
import
{
handleLocationHash
}
from
'
~/lib/utils/common_utils
'
;
import
howToMerge
from
'
~/how_to_merge
'
;
import
initPipelines
from
'
~/commit/pipelines/pipelines_bundle
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
Diff
();
// eslint-disable-line no-new
...
...
@@ -15,6 +16,7 @@ document.addEventListener('DOMContentLoaded', () => {
initIssuableSidebar
();
initNotes
();
initDiffNotes
();
initPipelines
();
const
mrShowNode
=
document
.
querySelector
(
'
.merge-request
'
);
...
...
app/views/projects/commit/_pipelines_list.haml
View file @
4ebfa4b0
...
...
@@ -9,4 +9,3 @@
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
(
'common_vue'
)
=
webpack_bundle_tag
(
'commit_pipelines'
)
config/webpack.config.js
View file @
4ebfa4b0
...
...
@@ -54,7 +54,6 @@ var config = {
common
:
'
./commons/index.js
'
,
common_vue
:
'
./vue_shared/vue_resource_interceptor.js
'
,
cycle_analytics
:
'
./cycle_analytics/cycle_analytics_bundle.js
'
,
commit_pipelines
:
'
./commit/pipelines/pipelines_bundle.js
'
,
diff_notes
:
'
./diff_notes/diff_notes_bundle.js
'
,
environments
:
'
./environments/environments_bundle.js
'
,
environments_folder
:
'
./environments/folder/environments_folder_bundle.js
'
,
...
...
@@ -244,7 +243,6 @@ var config = {
name
:
'
common_vue
'
,
chunks
:
[
'
boards
'
,
'
commit_pipelines
'
,
'
cycle_analytics
'
,
'
deploy_keys
'
,
'
diff_notes
'
,
...
...
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