BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
5 deletions
+8
-5
pipelines_bundle.js
app/assets/javascripts/commit/pipelines/pipelines_bundle.js
+2
-2
index.js
...sets/javascripts/pages/projects/commit/pipelines/index.js
+2
-0
index.js
...ipts/pages/projects/merge_requests/creations/new/index.js
+2
-0
index.js
...s/javascripts/pages/projects/merge_requests/show/index.js
+2
-0
_pipelines_list.haml
app/views/projects/commit/_pipelines_list.haml
+0
-1
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);
...
@@ -15,7 +15,7 @@ const CommitPipelinesTable = Vue.extend(commitPipelinesTable);
window
.
gl
=
window
.
gl
||
{};
window
.
gl
=
window
.
gl
||
{};
window
.
gl
.
CommitPipelinesTable
=
CommitPipelinesTable
;
window
.
gl
.
CommitPipelinesTable
=
CommitPipelinesTable
;
document
.
addEventListener
(
'DOMContentLoaded'
,
()
=>
{
export
default
()
=>
{
const
pipelineTableViewEl
=
document
.
querySelector
(
'#commit-pipeline-table-view'
);
const
pipelineTableViewEl
=
document
.
querySelector
(
'#commit-pipeline-table-view'
);
if
(
pipelineTableViewEl
)
{
if
(
pipelineTableViewEl
)
{
...
@@ -43,4 +43,4 @@ document.addEventListener('DOMContentLoaded', () => {
...
@@ -43,4 +43,4 @@ document.addEventListener('DOMContentLoaded', () => {
pipelineTableViewEl
.
appendChild
(
table
.
$el
);
pipelineTableViewEl
.
appendChild
(
table
.
$el
);
}
}
}
}
}
)
;
};
app/assets/javascripts/pages/projects/commit/pipelines/index.js
View file @
4ebfa4b0
import
MiniPipelineGraph
from
'~/mini_pipeline_graph_dropdown'
;
import
MiniPipelineGraph
from
'~/mini_pipeline_graph_dropdown'
;
import
initPipelines
from
'~/commit/pipelines/pipelines_bundle'
;
document
.
addEventListener
(
'DOMContentLoaded'
,
()
=>
{
document
.
addEventListener
(
'DOMContentLoaded'
,
()
=>
{
new
MiniPipelineGraph
({
new
MiniPipelineGraph
({
container
:
'.js-commit-pipeline-graph'
,
container
:
'.js-commit-pipeline-graph'
,
}).
bindEvents
();
}).
bindEvents
();
$
(
'.commit-info.branches'
).
load
(
document
.
querySelector
(
'.js-commit-box'
).
dataset
.
commitPath
);
$
(
'.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
Compare
from
'~/compare'
;
import
MergeRequest
from
'~/merge_request'
;
import
MergeRequest
from
'~/merge_request'
;
import
initPipelines
from
'~/commit/pipelines/pipelines_bundle'
;
document
.
addEventListener
(
'DOMContentLoaded'
,
()
=>
{
document
.
addEventListener
(
'DOMContentLoaded'
,
()
=>
{
const
mrNewCompareNode
=
document
.
querySelector
(
'.js-merge-request-new-compare'
);
const
mrNewCompareNode
=
document
.
querySelector
(
'.js-merge-request-new-compare'
);
...
@@ -14,5 +15,6 @@ document.addEventListener('DOMContentLoaded', () => {
...
@@ -14,5 +15,6 @@ document.addEventListener('DOMContentLoaded', () => {
new
MergeRequest
({
// eslint-disable-line no-new
new
MergeRequest
({
// eslint-disable-line no-new
action
:
mrNewSubmitNode
.
dataset
.
mrSubmitAction
,
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';
...
@@ -7,6 +7,7 @@ import ShortcutsIssuable from '~/shortcuts_issuable';
import
Diff
from
'~/diff'
;
import
Diff
from
'~/diff'
;
import
{
handleLocationHash
}
from
'~/lib/utils/common_utils'
;
import
{
handleLocationHash
}
from
'~/lib/utils/common_utils'
;
import
howToMerge
from
'~/how_to_merge'
;
import
howToMerge
from
'~/how_to_merge'
;
import
initPipelines
from
'~/commit/pipelines/pipelines_bundle'
;
document
.
addEventListener
(
'DOMContentLoaded'
,
()
=>
{
document
.
addEventListener
(
'DOMContentLoaded'
,
()
=>
{
new
Diff
();
// eslint-disable-line no-new
new
Diff
();
// eslint-disable-line no-new
...
@@ -15,6 +16,7 @@ document.addEventListener('DOMContentLoaded', () => {
...
@@ -15,6 +16,7 @@ document.addEventListener('DOMContentLoaded', () => {
initIssuableSidebar
();
initIssuableSidebar
();
initNotes
();
initNotes
();
initDiffNotes
();
initDiffNotes
();
initPipelines
();
const
mrShowNode
=
document
.
querySelector
(
'.merge-request'
);
const
mrShowNode
=
document
.
querySelector
(
'.merge-request'
);
...
...
app/views/projects/commit/_pipelines_list.haml
View file @
4ebfa4b0
...
@@ -9,4 +9,3 @@
...
@@ -9,4 +9,3 @@
-
content_for
:page_specific_javascripts
do
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
(
'common_vue'
)
=
webpack_bundle_tag
(
'common_vue'
)
=
webpack_bundle_tag
(
'commit_pipelines'
)
config/webpack.config.js
View file @
4ebfa4b0
...
@@ -54,7 +54,6 @@ var config = {
...
@@ -54,7 +54,6 @@ var config = {
common
:
'./commons/index.js'
,
common
:
'./commons/index.js'
,
common_vue
:
'./vue_shared/vue_resource_interceptor.js'
,
common_vue
:
'./vue_shared/vue_resource_interceptor.js'
,
cycle_analytics
:
'./cycle_analytics/cycle_analytics_bundle.js'
,
cycle_analytics
:
'./cycle_analytics/cycle_analytics_bundle.js'
,
commit_pipelines
:
'./commit/pipelines/pipelines_bundle.js'
,
diff_notes
:
'./diff_notes/diff_notes_bundle.js'
,
diff_notes
:
'./diff_notes/diff_notes_bundle.js'
,
environments
:
'./environments/environments_bundle.js'
,
environments
:
'./environments/environments_bundle.js'
,
environments_folder
:
'./environments/folder/environments_folder_bundle.js'
,
environments_folder
:
'./environments/folder/environments_folder_bundle.js'
,
...
@@ -244,7 +243,6 @@ var config = {
...
@@ -244,7 +243,6 @@ var config = {
name
:
'common_vue'
,
name
:
'common_vue'
,
chunks
:
[
chunks
:
[
'boards'
,
'boards'
,
'commit_pipelines'
,
'cycle_analytics'
,
'cycle_analytics'
,
'deploy_keys'
,
'deploy_keys'
,
'diff_notes'
,
'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