Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
8d2fc883
Commit
8d2fc883
authored
7 years ago
by
jwfang
Browse files
Options
Downloads
Patches
Plain Diff
add ci test for rbac
parent
092bf07c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+22
-0
22 additions, 0 deletions
.gitlab-ci.yml
with
22 additions
and
0 deletions
.gitlab-ci.yml
+
22
−
0
View file @
8d2fc883
...
@@ -62,6 +62,7 @@ before_script:
...
@@ -62,6 +62,7 @@ before_script:
KUBELET_DEPLOYMENT
:
"
docker"
KUBELET_DEPLOYMENT
:
"
docker"
VAULT_DEPLOYMENT
:
"
docker"
VAULT_DEPLOYMENT
:
"
docker"
WEAVE_CPU_LIMIT
:
"
100m"
WEAVE_CPU_LIMIT
:
"
100m"
AUTHORIZATION_MODES
:
"
{
'authorization_modes':
['AlwaysAllow']
}"
MAGIC
:
"
ci
check
this"
MAGIC
:
"
ci
check
this"
.gce
:
&gce
.gce
:
&gce
...
@@ -132,6 +133,7 @@ before_script:
...
@@ -132,6 +133,7 @@ before_script:
-e local_release_dir=${PWD}/downloads
-e local_release_dir=${PWD}/downloads
-e resolvconf_mode=${RESOLVCONF_MODE}
-e resolvconf_mode=${RESOLVCONF_MODE}
-e vault_deployment_type=${VAULT_DEPLOYMENT}
-e vault_deployment_type=${VAULT_DEPLOYMENT}
-e "${AUTHORIZATION_MODES}"
--limit "all:!fake_hosts"
--limit "all:!fake_hosts"
cluster.yml
cluster.yml
...
@@ -373,6 +375,15 @@ before_script:
...
@@ -373,6 +375,15 @@ before_script:
CLUSTER_MODE
:
separate
CLUSTER_MODE
:
separate
STARTUP_SCRIPT
:
"
"
STARTUP_SCRIPT
:
"
"
.ubuntu_calico_rbac_variables
:
&ubuntu_calico_rbac_variables
# stage: deploy-gce-special
AUTHORIZATION_MODES
:
"
{
'authorization_modes':
[
'RBAC'
]
}"
KUBE_NETWORK_PLUGIN
:
calico
CLOUD_IMAGE
:
ubuntu-1604-xenial
CLOUD_REGION
:
europe-west1-b
CLUSTER_MODE
:
separate
STARTUP_SCRIPT
:
"
"
# Builds for PRs only (premoderated by unit-tests step) and triggers (auto)
# Builds for PRs only (premoderated by unit-tests step) and triggers (auto)
coreos-calico-sep
:
coreos-calico-sep
:
stage
:
deploy-gce-part1
stage
:
deploy-gce-part1
...
@@ -598,6 +609,17 @@ ubuntu-vault-sep:
...
@@ -598,6 +609,17 @@ ubuntu-vault-sep:
except
:
[
'
triggers'
]
except
:
[
'
triggers'
]
only
:
[
'
master'
,
/^pr-.*$/
]
only
:
[
'
master'
,
/^pr-.*$/
]
ubuntu-calico-rbac-sep
:
stage
:
deploy-gce-special
<<
:
*job
<<
:
*gce
variables
:
<<
:
*gce_variables
<<
:
*ubuntu_calico_rbac_variables
when
:
manual
except
:
[
'
triggers'
]
only
:
[
'
master'
,
/^pr-.*$/
]
# Premoderated with manual actions
# Premoderated with manual actions
ci-authorized
:
ci-authorized
:
<<
:
*job
<<
:
*job
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment