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
f142e671
Commit
f142e671
authored
5 years ago
by
Maxime Guyot
Committed by
Kubernetes Prow Robot
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup references to Travis CI (#4208)
Broken since
4efb0b78
parent
2f49b6ca
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/test_cases.md
+0
-30
0 additions, 30 deletions
docs/test_cases.md
scripts/gen_matrix.sh
+0
-24
0 additions, 24 deletions
scripts/gen_matrix.sh
with
0 additions
and
54 deletions
docs/test_cases.md
+
0
−
30
View file @
f142e671
Travis CI test matrix
=====================
GCE instances
-------------
Here is the test matrix for the CI gates:
| Network plugin| OS type| GCE region| Nodes layout|
|-------------------------|-------------------------|-------------------------|-------------------------|
| canal| debian-8-kubespray| asia-east1-a| ha-scale|
| calico| debian-8-kubespray| europe-west1-c| default|
| flannel| centos-7| asia-northeast1-c| default|
| calico| centos-7| us-central1-b| ha|
| weave| rhel-7| us-east1-c| default|
| canal| coreos-stable| us-west1-b| ha-scale|
| canal| rhel-7| asia-northeast1-b| separate|
| weave| ubuntu-1604-xenial| europe-west1-d| separate|
| calico| coreos-stable| us-central1-f| separate|
Node Layouts
------------
...
...
@@ -41,15 +20,6 @@ never actually deployed, but certificates are generated for them.
Note, the canal network plugin deploys flannel as well plus calico policy controller.
Hint: the command
```
bash scripts/gen_matrix.sh
```
will (hopefully) generate the CI test cases from the current
``.travis.yml``
.
Gitlab CI test matrix
=====================
GCE instances
-------------
...
...
This diff is collapsed.
Click to expand it.
scripts/gen_matrix.sh
deleted
100644 → 0
+
0
−
24
View file @
2f49b6ca
#!/bin/sh
# Generates MD formatted CI matrix from the .travis.yml
a
=
$(
perl
-ne
'/^\s{6}(CLOUD_IMAGE|KUBE_NETWORK_PLUGIN|CLOUD_REGION|CLUSTER_MODE)=(\S+)$/ && print "$2\n"'
.travis.yml.bak
)
echo
Travis-CI
printf
"|%25s|%25s|%25s|%25s|
\n
"
"Network plugin"
"OS type"
"GCE region"
"Nodes layout"
echo
"|-------------------------|-------------------------|-------------------------|-------------------------|"
c
=
0
for
i
in
`
echo
$a
`
;
do
printf
"|%25s"
$i
[
$((
$c
%
4
))
-eq
3
]
&&
printf
"|
\n
"
c
=
$((
c
+
1
))
done
echo
a
=
$(
perl
-ne
'/^#\sstage:\sdeploy-gce-(\S+)$/ && print "$1\n";/^\s{2}(CLOUD_IMAGE|KUBE_NETWORK_PLUGIN|CLOUD_REGION|CLUSTER_MODE):\s(\S+)$/ && print "$2\n"'
.gitlab-ci.yml
)
echo
Gitlab-CI
printf
"|%20s|%20s|%20s|%20s|%20s
\n
"
"Stage"
"Network plugin"
"OS type"
"GCE region"
"Nodes layout"
echo
"|--------------------|--------------------|--------------------|--------------------|--------------------|"
c
=
0
for
i
in
`
echo
$a
`
;
do
printf
"|%20s"
$i
[
$((
$c
%
5
))
-eq
4
]
&&
printf
"|
\n
"
c
=
$((
c
+
1
))
done
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