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
c7abd6ba
Commit
c7abd6ba
authored
Sep 12, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
1d4ed2c5
c8a11c34
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
166 additions
and
16 deletions
+166
-16
app/assets/javascripts/create_cluster/eks_cluster/components/create_eks_cluster.vue
...ate_cluster/eks_cluster/components/create_eks_cluster.vue
+14
-0
app/assets/javascripts/create_cluster/eks_cluster/components/eks_cluster_configuration_form.vue
...eks_cluster/components/eks_cluster_configuration_form.vue
+18
-0
app/assets/javascripts/create_cluster/eks_cluster/components/role_name_dropdown.vue
...ate_cluster/eks_cluster/components/role_name_dropdown.vue
+0
-0
app/assets/javascripts/create_cluster/eks_cluster/components/security_group_dropdown.vue
...luster/eks_cluster/components/security_group_dropdown.vue
+0
-0
app/assets/javascripts/create_cluster/eks_cluster/components/service_credentials_form.vue
...uster/eks_cluster/components/service_credentials_form.vue
+3
-0
app/assets/javascripts/create_cluster/eks_cluster/components/subnet_dropdown.vue
...create_cluster/eks_cluster/components/subnet_dropdown.vue
+0
-0
app/assets/javascripts/create_cluster/eks_cluster/components/vpc_dropdown.vue
...ts/create_cluster/eks_cluster/components/vpc_dropdown.vue
+0
-0
app/assets/javascripts/create_cluster/eks_cluster/index.js
app/assets/javascripts/create_cluster/eks_cluster/index.js
+19
-0
app/assets/javascripts/create_cluster/eks_cluster/services/aws_services_facade.js
...reate_cluster/eks_cluster/services/aws_services_facade.js
+0
-0
app/assets/javascripts/create_cluster/eks_cluster/store/actions.js
...s/javascripts/create_cluster/eks_cluster/store/actions.js
+3
-0
app/assets/javascripts/create_cluster/eks_cluster/store/getters.js
...s/javascripts/create_cluster/eks_cluster/store/getters.js
+0
-0
app/assets/javascripts/create_cluster/eks_cluster/store/index.js
...ets/javascripts/create_cluster/eks_cluster/store/index.js
+15
-0
app/assets/javascripts/create_cluster/eks_cluster/store/mutation_types.js
...cripts/create_cluster/eks_cluster/store/mutation_types.js
+0
-0
app/assets/javascripts/create_cluster/eks_cluster/store/mutations.js
...javascripts/create_cluster/eks_cluster/store/mutations.js
+0
-0
app/assets/javascripts/create_cluster/eks_cluster/store/state.js
...ets/javascripts/create_cluster/eks_cluster/store/state.js
+19
-0
app/assets/javascripts/pages/projects/clusters/new/index.js
app/assets/javascripts/pages/projects/clusters/new/index.js
+7
-0
app/controllers/clusters/clusters_controller.rb
app/controllers/clusters/clusters_controller.rb
+3
-0
changelogs/unreleased/bw-asset-proxy-markdown-bump.yml
changelogs/unreleased/bw-asset-proxy-markdown-bump.yml
+5
-0
lib/gitlab/markdown_cache.rb
lib/gitlab/markdown_cache.rb
+1
-1
package.json
package.json
+1
-0
spec/javascripts/blob/blob_file_dropzone_spec.js
spec/javascripts/blob/blob_file_dropzone_spec.js
+1
-4
spec/javascripts/dropzone_input_spec.js
spec/javascripts/dropzone_input_spec.js
+3
-3
yarn.lock
yarn.lock
+54
-8
No files found.
app/assets/javascripts/create_cluster/eks_cluster/components/create_eks_cluster.vue
0 → 100644
View file @
c7abd6ba
<
script
>
import
ServiceCredentialsForm
from
'
./service_credentials_form.vue
'
;
import
EksClusterConfigurationForm
from
'
./eks_cluster_configuration_form.vue
'
;
export
default
{
components
:
{
ServiceCredentialsForm
,
EksClusterConfigurationForm
,
},
};
</
script
>
<
template
>
<eks-cluster-configuration-form
/>
</
template
>
app/assets/javascripts/create_cluster/eks_cluster/components/eks_cluster_configuration_form.vue
0 → 100644
View file @
c7abd6ba
<
script
>
import
RoleNameDropdown
from
'
./role_name_dropdown.vue
'
;
import
SecurityGroupDropdown
from
'
./security_group_dropdown.vue
'
;
import
SubnetDropdown
from
'
./subnet_dropdown.vue
'
;
import
VPCDropdown
from
'
./vpc_dropdown.vue
'
;
export
default
{
components
:
{
RoleNameDropdown
,
SecurityGroupDropdown
,
SubnetDropdown
,
VPCDropdown
,
},
};
</
script
>
<
template
>
<form
name=
"eks-cluster-configuration-form"
></form>
</
template
>
app/assets/javascripts/create_cluster/eks_cluster/components/role_name_dropdown.vue
0 → 100644
View file @
c7abd6ba
app/assets/javascripts/create_cluster/eks_cluster/components/security_group_dropdown.vue
0 → 100644
View file @
c7abd6ba
app/assets/javascripts/create_cluster/eks_cluster/components/service_credentials_form.vue
0 → 100644
View file @
c7abd6ba
<
template
>
<form
name=
"service-credentials-form"
></form>
</
template
>
app/assets/javascripts/create_cluster/eks_cluster/components/subnet_dropdown.vue
0 → 100644
View file @
c7abd6ba
app/assets/javascripts/create_cluster/eks_cluster/components/vpc_dropdown.vue
0 → 100644
View file @
c7abd6ba
app/assets/javascripts/create_cluster/eks_cluster/index.js
0 → 100644
View file @
c7abd6ba
import
Vue
from
'
vue
'
;
import
Vuex
from
'
vuex
'
;
import
CreateEksCluster
from
'
./components/create_eks_cluster.vue
'
;
import
createStore
from
'
./store
'
;
Vue
.
use
(
Vuex
);
export
default
()
=>
new
Vue
({
el
:
'
.js-create-eks-cluster-form-container
'
,
store
:
createStore
(),
components
:
{
CreateEksCluster
,
},
data
()
{},
render
(
createElement
)
{
return
createElement
(
'
create-eks-cluster
'
);
},
});
app/assets/javascripts/create_cluster/eks_cluster/services/aws_services_facade.js
0 → 100644
View file @
c7abd6ba
app/assets/javascripts/create_cluster/eks_cluster/store/actions.js
0 → 100644
View file @
c7abd6ba
// import awsServices from '../services/aws_services_facade';
export
default
()
=>
{};
app/assets/javascripts/create_cluster/eks_cluster/store/getters.js
0 → 100644
View file @
c7abd6ba
app/assets/javascripts/create_cluster/eks_cluster/store/index.js
0 → 100644
View file @
c7abd6ba
import
Vuex
from
'
vuex
'
;
import
*
as
actions
from
'
./actions
'
;
import
*
as
getters
from
'
./getters
'
;
import
mutations
from
'
./mutations
'
;
import
state
from
'
./state
'
;
const
createStore
=
()
=>
new
Vuex
.
Store
({
actions
,
getters
,
mutations
,
state
,
});
export
default
createStore
;
app/assets/javascripts/create_cluster/eks_cluster/store/mutation_types.js
0 → 100644
View file @
c7abd6ba
app/assets/javascripts/create_cluster/eks_cluster/store/mutations.js
0 → 100644
View file @
c7abd6ba
app/assets/javascripts/create_cluster/eks_cluster/store/state.js
0 → 100644
View file @
c7abd6ba
export
default
()
=>
({
isValidatingCredentials
:
false
,
validCredentials
:
false
,
isLoadingRoles
:
false
,
isLoadingVPCs
:
false
,
isLoadingSubnets
:
false
,
isLoadingSecurityGroups
:
false
,
roles
:
[],
vpcs
:
[],
subnets
:
[],
securityGroups
:
[],
selectedRole
:
''
,
selectedVPC
:
''
,
selectedSubnet
:
''
,
selectedSecurityGroup
:
''
,
});
app/assets/javascripts/pages/projects/clusters/new/index.js
0 → 100644
View file @
c7abd6ba
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
if
(
gon
.
features
.
createEksClusters
)
{
import
(
/* webpackChunkName: 'eks_cluster' */
'
~/create_cluster/eks_cluster
'
)
.
then
(({
default
:
initCreateEKSCluster
})
=>
initCreateEKSCluster
())
.
catch
(()
=>
{});
}
});
app/controllers/clusters/clusters_controller.rb
View file @
c7abd6ba
...
...
@@ -12,6 +12,9 @@ class Clusters::ClustersController < Clusters::BaseController
before_action
:authorize_update_cluster!
,
only:
[
:update
]
before_action
:authorize_admin_cluster!
,
only:
[
:destroy
]
before_action
:update_applications_status
,
only:
[
:cluster_status
]
before_action
only:
[
:new
,
:create_gcp
]
do
push_frontend_feature_flag
(
:create_eks_clusters
)
end
helper_method
:token_in_session
...
...
changelogs/unreleased/bw-asset-proxy-markdown-bump.yml
0 → 100644
View file @
c7abd6ba
---
title
:
Bump markdown cache version to fix any incorrect links from asset proxy defaults
merge_request
:
author
:
type
:
fixed
lib/gitlab/markdown_cache.rb
View file @
c7abd6ba
...
...
@@ -3,7 +3,7 @@
module
Gitlab
module
MarkdownCache
# Increment this number every time the renderer changes its output
CACHE_COMMONMARK_VERSION
=
1
7
CACHE_COMMONMARK_VERSION
=
1
8
CACHE_COMMONMARK_VERSION_START
=
10
BaseError
=
Class
.
new
(
StandardError
)
...
...
package.json
View file @
c7abd6ba
...
...
@@ -47,6 +47,7 @@
"
apollo-upload-client
"
:
"
^10.0.0
"
,
"
at.js
"
:
"
^1.5.4
"
,
"
autosize
"
:
"
^4.0.0
"
,
"
aws-sdk
"
:
"
^2.526.0
"
,
"
axios
"
:
"
^0.19.0
"
,
"
babel-loader
"
:
"
^8.0.5
"
,
"
bootstrap
"
:
"
4.3.1
"
,
...
...
spec/javascripts/blob/blob_file_dropzone_spec.js
View file @
c7abd6ba
...
...
@@ -24,10 +24,7 @@ describe('BlobFileDropzone', function() {
it
(
'
is disabled while uploading
'
,
()
=>
{
spyOn
(
window
,
'
alert
'
);
const
file
=
{
name
:
'
some-file.jpg
'
,
type
:
'
jpg
'
,
};
const
file
=
new
File
([],
'
some-file.jpg
'
);
const
fakeEvent
=
$
.
Event
(
'
drop
'
,
{
dataTransfer
:
{
files
:
[
file
]
},
});
...
...
spec/javascripts/dropzone_input_spec.js
View file @
c7abd6ba
...
...
@@ -2,9 +2,9 @@ import $ from 'jquery';
import
dropzoneInput
from
'
~/dropzone_input
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
const
TEST_FILE
=
{
upload
:
{},
};
const
TEST_FILE
=
new
File
([],
'
somefile.jpg
'
);
TEST_FILE
.
upload
=
{};
const
TEST_UPLOAD_PATH
=
`
${
TEST_HOST
}
/upload/file`
;
const
TEST_ERROR_MESSAGE
=
'
A big error occurred!
'
;
const
TEMPLATE
=
`<form class="gfm-form" data-uploads-path="
${
TEST_UPLOAD_PATH
}
">
...
...
yarn.lock
View file @
c7abd6ba
...
...
@@ -1983,6 +1983,21 @@ autosize@^4.0.0:
resolved "https://registry.yarnpkg.com/autosize/-/autosize-4.0.0.tgz#7a0599b1ba84d73bd7589b0d9da3870152c69237"
integrity sha1-egWZsbqE1zvXWJsNnaOHAVLGkjc=
aws-sdk@^2.526.0:
version "2.526.0"
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.526.0.tgz#e0f899be59edb7d50eb8cca7978bcd401a5d48c2"
integrity sha512-ZZqf8AnD9A8ZJd/4oU711R8taxm8sV7wcAOvT0HhrZxv8zASAzoz2lpZ19QAil6uJ52IOkq4ij/zGy7VBXEgPA==
dependencies:
buffer "4.9.1"
events "1.1.1"
ieee754 "1.1.8"
jmespath "0.15.0"
querystring "0.2.0"
sax "1.2.1"
url "0.10.3"
uuid "3.3.2"
xml2js "0.4.19"
aws-sign2@~0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8"
...
...
@@ -2433,7 +2448,7 @@ buffer-xor@^1.0.3:
resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9"
integrity sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=
buffer@^4.3.0:
buffer@
4.9.1, buffer@
^4.3.0:
version "4.9.1"
resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298"
integrity sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=
...
...
@@ -4805,7 +4820,7 @@ eventemitter3@1.x.x:
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-1.2.0.tgz#1c86991d816ad1e504750e73874224ecf3bec508"
integrity sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg=
events@^1.0.0:
events@
1.1.1, events@
^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924"
integrity sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=
...
...
@@ -6128,10 +6143,10 @@ icss-utils@^2.1.0:
dependencies:
postcss "^6.0.1"
ieee754@^1.1.4:
version "1.1.
11
"
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.
11.tgz#c16384ffe00f5b7835824e67b6f2bd44a5229455
"
integrity sha
512-VhDzCKN7K8ufStx/CLj5/PDTMgph+qwN5Pkd5i0sGnVwk56zJ0lkT8Qzi1xqWLS0Wp29DgDtNeS7v8/wMoZeHg=
=
ieee754@
1.1.8, ieee754@
^1.1.4:
version "1.1.
8
"
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.
8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4
"
integrity sha
1-vjPUCsEO8ZJnAfbwii2G+/0a0+Q
=
iferr@^0.1.5:
version "0.1.5"
...
...
@@ -7231,6 +7246,11 @@ jest@^24.1.0:
import-local "^2.0.0"
jest-cli "^24.8.0"
jmespath@0.15.0:
version "0.15.0"
resolved "https://registry.yarnpkg.com/jmespath/-/jmespath-0.15.0.tgz#a3f222a9aae9f966f5d27c796510e28091764217"
integrity sha1-o/Iiqarp+Wb10nx5ZRDigJF2Qhc=
jquery-ujs@1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/jquery-ujs/-/jquery-ujs-1.2.2.tgz#6a8ef1020e6b6dda385b90a4bddc128c21c56397"
...
...
@@ -10727,7 +10747,12 @@ sass-graph@^2.2.4:
scss-tokenizer "^0.2.3"
yargs "^7.0.0"
sax@^1.2.4:
sax@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.1.tgz#7b8e656190b228e81a66aea748480d828cd2d37a"
integrity sha1-e45lYZCyKOgaZq6nSEgNgozS03o=
sax@>=0.6.0, sax@^1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
...
...
@@ -12439,6 +12464,14 @@ url-to-options@^1.0.1:
resolved "https://registry.yarnpkg.com/url-to-options/-/url-to-options-1.0.1.tgz#1505a03a289a48cbd7a434efbaeec5055f5633a9"
integrity sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k=
url@0.10.3:
version "0.10.3"
resolved "https://registry.yarnpkg.com/url/-/url-0.10.3.tgz#021e4d9c7705f21bbf37d03ceb58767402774c64"
integrity sha1-Ah5NnHcF8hu/N9A861h2dAJ3TGQ=
dependencies:
punycode "1.3.2"
querystring "0.2.0"
url@^0.11.0:
version "0.11.0"
resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1"
...
...
@@ -12485,7 +12518,7 @@ utils-merge@1.0.1:
resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=
uuid@^3.0.1, uuid@^3.3.2:
uuid@
3.3.2, uuid@
^3.0.1, uuid@^3.3.2:
version "3.3.2"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131"
integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==
...
...
@@ -13131,6 +13164,14 @@ xml-name-validator@^3.0.0:
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"
integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==
xml2js@0.4.19:
version "0.4.19"
resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.19.tgz#686c20f213209e94abf0d1bcf1efaa291c7827a7"
integrity sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==
dependencies:
sax ">=0.6.0"
xmlbuilder "~9.0.1"
xml@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5"
...
...
@@ -13141,6 +13182,11 @@ xmlbuilder@8.2.2:
resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-8.2.2.tgz#69248673410b4ba42e1a6136551d2922335aa773"
integrity sha1-aSSGc0ELS6QuGmE2VR0pIjNap3M=
xmlbuilder@~9.0.1:
version "9.0.7"
resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d"
integrity sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=
xmlcreate@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/xmlcreate/-/xmlcreate-1.0.2.tgz#fa6bf762a60a413fb3dd8f4b03c5b269238d308f"
...
...
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