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
a2f6c4aa
Commit
a2f6c4aa
authored
Jul 31, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
80ec5e10
4b2ea22c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
3 deletions
+30
-3
app/assets/javascripts/lib/utils/icons_path.js
app/assets/javascripts/lib/utils/icons_path.js
+3
-0
app/assets/javascripts/vue_shared/components/icon.vue
app/assets/javascripts/vue_shared/components/icon.vue
+3
-1
config/webpack.config.js
config/webpack.config.js
+14
-0
doc/user/project/clusters/index.md
doc/user/project/clusters/index.md
+10
-2
No files found.
app/assets/javascripts/lib/utils/icons_path.js
0 → 100644
View file @
a2f6c4aa
// any import of '@gitlab/svgs/dist/icons.svg' will be overridden with this
// to avoid asset duplication between sprockets and webpack
export
default
gon
&&
gon
.
sprite_icons
;
app/assets/javascripts/vue_shared/components/icon.vue
View file @
a2f6c4aa
<
script
>
import
iconsPath
from
'
@gitlab/svgs/dist/icons.svg
'
;
// only allow classes in images.scss e.g. s12
const
validSizes
=
[
8
,
10
,
12
,
14
,
16
,
18
,
24
,
32
,
48
,
72
];
let
iconValidator
=
()
=>
true
;
...
...
@@ -84,7 +86,7 @@ export default {
computed
:
{
spriteHref
()
{
return
`
${
gon
.
sprite_icons
}
#
${
this
.
name
}
`
;
return
`
${
iconsPath
}
#
${
this
.
name
}
`
;
},
iconTestClass
()
{
return
`ic-
${
this
.
name
}
`
;
...
...
config/webpack.config.js
View file @
a2f6c4aa
...
...
@@ -90,6 +90,12 @@ const alias = {
// the following resolves files which are different between CE and EE
ee_else_ce
:
path
.
join
(
ROOT_PATH
,
'
app/assets/javascripts
'
),
// override loader path for icons.svg so we do not duplicate this asset
'
@gitlab/svgs/dist/icons.svg
'
:
path
.
join
(
ROOT_PATH
,
'
app/assets/javascripts/lib/utils/icons_path.js
'
,
),
};
if
(
IS_EE
)
{
...
...
@@ -157,8 +163,16 @@ module.exports = {
exclude
:
/node_modules/
,
loader
:
'
graphql-tag/loader
'
,
},
{
test
:
/icons
\.
svg$/
,
loader
:
'
file-loader
'
,
options
:
{
name
:
'
[name].[hash:8].[ext]
'
,
},
},
{
test
:
/
\.
svg$/
,
exclude
:
/icons
\.
svg$/
,
loader
:
'
raw-loader
'
,
},
{
...
...
doc/user/project/clusters/index.md
View file @
a2f6c4aa
...
...
@@ -620,8 +620,16 @@ use an A record. If your external endpoint is a hostname, use a CNAME record.
## Deploying to a Kubernetes cluster
A Kubernetes cluster can be the destination for a deployment job using special
[
deployment variables
](
#deployment-variables
)
.
A Kubernetes cluster can be the destination for a deployment job. If
-
The cluster is integrated with GitLab, special
[
deployment variables
](
#deployment-variables
)
are made available to your job
and configuration is not required. You can immediately begin interacting with
the cluster from your jobs using tools such as
`kubectl`
or
`helm`
.
-
You don't use GitLab's cluster integration you can still deploy to your
cluster. However, you will need configure Kubernetes tools yourself
using
[
environment variables
](
../../../ci/variables/README.md#creating-a-custom-environment-variable
)
before you can interact with the cluster from your jobs.
### Deployment variables
...
...
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