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
ce4eefff
Commit
ce4eefff
authored
8 years ago
by
Matthew Mosesohn
Browse files
Options
Downloads
Patches
Plain Diff
Use first kube-master to check results
parent
82b247d1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
docs/test_cases.md
+3
-3
3 additions, 3 deletions
docs/test_cases.md
tests/testcases/040_check-network-adv.yml
+3
-5
3 additions, 5 deletions
tests/testcases/040_check-network-adv.yml
with
7 additions
and
9 deletions
.gitlab-ci.yml
+
1
−
1
View file @
ce4eefff
...
...
@@ -325,7 +325,7 @@ before_script:
KUBE_NETWORK_PLUGIN
:
weave
CLOUD_IMAGE
:
coreos-alpha
CLOUD_REGION
:
us-west1-a
CLUSTER_MODE
:
ha
CLUSTER_MODE
:
ha
-scale
BOOTSTRAP_OS
:
coreos
.ubuntu_rkt_sep_variables
:
&ubuntu_rkt_sep_variables
...
...
This diff is collapsed.
Click to expand it.
docs/test_cases.md
+
3
−
3
View file @
ce4eefff
...
...
@@ -57,13 +57,13 @@ GCE instances
|--------------------|--------------------|--------------------|--------------------|--------------------|
| part1| calico| coreos-stable| us-west1-b| separate|
| part1| canal| debian-8-kubespray| us-east1-b| ha|
| part1| weave| rhel-7| europe-west1-b|
scale
|
| part1| weave| rhel-7| europe-west1-b|
default
|
| part2| flannel| centos-7| us-west1-a| default|
| part2| calico| debian-8-kubespray| us-central1-b| default|
| part2| canal| coreos-stable| us-east1-b| default|
| special| canal| rhel-7| us-east1-b| separate|
| special| weave| ubuntu-1604-xenial| us-central1-b|
scale
|
| special| weave| ubuntu-1604-xenial| us-central1-b|
default
|
| special| calico| centos-7| europe-west1-b| ha-scale|
| special| weave| coreos-alpha| us-west1-a|
ha
|
| special| weave| coreos-alpha| us-west1-a|
ha-scale
|
The "Stage" means a build step of the build pipeline. The steps are ordered as
`part1->part2->special`
.
This diff is collapsed.
Click to expand it.
tests/testcases/040_check-network-adv.yml
+
3
−
5
View file @
ce4eefff
...
...
@@ -42,7 +42,7 @@
-
name
:
Get netchecker agents
uri
:
url=http://localhost:{{netchecker_port}}/api/v1/agents/ return_content=yes
run_once
:
true
delegate_to
:
"
{{groups['kube-
node
'][0]}}"
delegate_to
:
"
{{groups['kube-
master
'][0]}}"
register
:
agents
retries
:
6
delay
:
"
{{
agent_report_interval
}}"
...
...
@@ -54,12 +54,11 @@
-
debug
:
var=agents.content|from_json
failed_when
:
not agents|success and not agents.content=='{}'
delegate_to
:
"
{{groups['kube-node'][0]}}"
run_once
:
true
-
name
:
Check netchecker status
uri
:
url=http://localhost:{{netchecker_port}}/api/v1/connectivity_check status_code=200 return_content=yes
delegate_to
:
"
{{groups['kube-
node
'][0]}}"
delegate_to
:
"
{{groups['kube-
master
'][0]}}"
run_once
:
true
register
:
result
retries
:
3
...
...
@@ -70,7 +69,6 @@
-
debug
:
var=result.content|from_json
failed_when
:
not result|success
delegate_to
:
"
{{groups['kube-node'][0]}}"
run_once
:
true
when
:
not agents.content=='{}'
...
...
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