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
e737ed81
Commit
e737ed81
authored
9 years ago
by
Antoine Legrand
Browse files
Options
Downloads
Plain Diff
Merge pull request #146 from kubespray/rollback_docker_1.9
Rollback docker 1.9
parents
b2dd01a0
8659693c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.travis.yml
+22
-13
22 additions, 13 deletions
.travis.yml
README.md
+2
-2
2 additions, 2 deletions
README.md
roles/docker/defaults/main.yml
+1
-1
1 addition, 1 deletion
roles/docker/defaults/main.yml
tests/scripts/ansibl8s_test.sh
+3
-3
3 additions, 3 deletions
tests/scripts/ansibl8s_test.sh
with
28 additions
and
19 deletions
.travis.yml
+
22
−
13
View file @
e737ed81
...
@@ -32,22 +32,31 @@ env:
...
@@ -32,22 +32,31 @@ env:
CLOUD_IMAGE=centos-7-sudo
CLOUD_IMAGE=centos-7-sudo
CLOUD_REGION=us-central1-c
CLOUD_REGION=us-central1-c
#
- >-
-
>-
#
KUBE_NETWORK_PLUGIN=calico
KUBE_NETWORK_PLUGIN=calico
#
CLOUD_IMAGE=centos-7-sudo
CLOUD_IMAGE=centos-7-sudo
#
CLOUD_REGION=us-central1-c
CLOUD_REGION=us-central1-c
-
>-
KUBE_NETWORK_PLUGIN=weave
CLOUD_IMAGE=centos-7-sudo
CLOUD_REGION=us-central1-c
#
#
Redhat 7
# Redhat 7
-
>-
-
>-
KUBE_NETWORK_PLUGIN=flannel
KUBE_NETWORK_PLUGIN=flannel
CLOUD_IMAGE=rhel-7-sudo
CLOUD_IMAGE=rhel-7-sudo
CLOUD_REGION=us-east1-d
CLOUD_REGION=us-east1-d
# - >-
-
>-
# KUBE_NETWORK_PLUGIN=calico
KUBE_NETWORK_PLUGIN=calico
# CLOUD_IMAGE=rhel-7-sudo
CLOUD_IMAGE=rhel-7-sudo
# CLOUD_REGION=us-east1-d
CLOUD_REGION=us-east1-d
-
>-
KUBE_NETWORK_PLUGIN=weave
CLOUD_IMAGE=rhel-7-sudo
CLOUD_REGION=us-east1-d
# Ubuntu 14.04
# Ubuntu 14.04
-
>-
-
>-
...
@@ -80,10 +89,10 @@ env:
...
@@ -80,10 +89,10 @@ env:
matrix
:
matrix
:
allow_failures
:
allow_failures
:
-
env
:
KUBE_NETWORK_PLUGIN=flannel CLOUD_IMAGE=centos-7-sudo CLOUD_REGION=us-central1-c
#
- env: KUBE_NETWORK_PLUGIN=flannel CLOUD_IMAGE=centos-7-sudo CLOUD_REGION=us-central1-c
-
env
:
KUBE_NETWORK_PLUGIN=flannel CLOUD_IMAGE=rhel-7-sudo CLOUD_REGION=us-east1-d
#
- env: KUBE_NETWORK_PLUGIN=flannel CLOUD_IMAGE=rhel-7-sudo CLOUD_REGION=us-east1-d
-
env
:
KUBE_NETWORK_PLUGIN=weave CLOUD_IMAGE=ubuntu-1404-trusty CLOUD_REGION=europe-west1-c
-
env
:
KUBE_NETWORK_PLUGIN=weave CLOUD_IMAGE=ubuntu-1404-trusty CLOUD_REGION=europe-west1-c
-
env
:
KUBE_NETWORK_PLUGIN=calico CLOUD_IMAGE=ubuntu-1404-trusty CLOUD_REGION=europe-west1-c
#
- env: KUBE_NETWORK_PLUGIN=calico CLOUD_IMAGE=ubuntu-1404-trusty CLOUD_REGION=europe-west1-c
before_install
:
before_install
:
# Install Ansible.
# Install Ansible.
...
@@ -128,7 +137,7 @@ script:
...
@@ -128,7 +137,7 @@ script:
## Create a POD
## Create a POD
-
$HOME/.local/bin/ansible-playbook -i inventory/inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root tests/testcases/020_check-create-pod.yml $LOG_LEVEL
-
$HOME/.local/bin/ansible-playbook -i inventory/inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root tests/testcases/020_check-create-pod.yml $LOG_LEVEL
## Ping the between 2 pod
## Ping the between 2 pod
-
$HOME/.local/bin/ansible-playbook -i
setup-kubernetes/
inventory/inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root tests/testcases/030_check-network.yml $LOG_LEVEL
-
$HOME/.local/bin/ansible-playbook -i inventory/inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root tests/testcases/030_check-network.yml $LOG_LEVEL
after_script
:
after_script
:
-
>
-
>
...
...
This diff is collapsed.
Click to expand it.
README.md
+
2
−
2
View file @
e737ed81
...
@@ -23,12 +23,12 @@ in order to avoid any issue during deployment you should disable your firewall
...
@@ -23,12 +23,12 @@ in order to avoid any issue during deployment you should disable your firewall
*
Base knowledge on Ansible. Please refer to
[
Ansible documentation
](
http://www.ansible.com/how-ansible-works
)
*
Base knowledge on Ansible. Please refer to
[
Ansible documentation
](
http://www.ansible.com/how-ansible-works
)
### Components
### Components
*
[
kubernetes
](
https://github.com/kubernetes/kubernetes/releases
)
v1.1.
7
*
[
kubernetes
](
https://github.com/kubernetes/kubernetes/releases
)
v1.1.
4
*
[
etcd
](
https://github.com/coreos/etcd/releases
)
v2.2.4
*
[
etcd
](
https://github.com/coreos/etcd/releases
)
v2.2.4
*
[
calicoctl
](
https://github.com/projectcalico/calico-docker/releases
)
v0.16.0
*
[
calicoctl
](
https://github.com/projectcalico/calico-docker/releases
)
v0.16.0
*
[
flanneld
](
https://github.com/coreos/flannel/releases
)
v0.5.5
*
[
flanneld
](
https://github.com/coreos/flannel/releases
)
v0.5.5
*
[
weave
](
http://weave.works/
)
v1.4.4
*
[
weave
](
http://weave.works/
)
v1.4.4
*
[
docker
](
https://www.docker.com/
)
v1.9
.1
*
[
docker
](
https://www.docker.com/
)
v1.9
Quickstart
Quickstart
-------------------------
-------------------------
...
...
This diff is collapsed.
Click to expand it.
roles/docker/defaults/main.yml
+
1
−
1
View file @
e737ed81
docker_version
:
1.
10
docker_version
:
1.
9
This diff is collapsed.
Click to expand it.
tests/scripts/ansibl8s_test.sh
+
3
−
3
View file @
e737ed81
...
@@ -34,19 +34,19 @@ should_deploy_cluster() {
...
@@ -34,19 +34,19 @@ should_deploy_cluster() {
}
}
should_api_server_respond
()
{
should_api_server_respond
()
{
ansible-playbook
-i
inventory.ini
${
private_key
}
testcases/check-apiserver.yml
ansible-playbook
-i
inventory.ini
${
private_key
}
testcases/
010_
check-apiserver.yml
assertion__status_code_is_success
$?
assertion__status_code_is_success
$?
}
}
should_create_pod
()
{
should_create_pod
()
{
ansible-playbook
-i
inventory.ini
-s
${
private_key
}
testcases/check-create-pod.yml
-vv
ansible-playbook
-i
inventory.ini
-s
${
private_key
}
testcases/
020_
check-create-pod.yml
-vv
assertion__status_code_is_success
$?
assertion__status_code_is_success
$?
}
}
should_pod_be_in_expected_subnet
()
{
should_pod_be_in_expected_subnet
()
{
ansible-playbook
-i
inventory.ini
-s
${
private_key
}
testcases/check-network.yml
-vv
ansible-playbook
-i
inventory.ini
-s
${
private_key
}
testcases/
030_
check-network.yml
-vv
assertion__status_code_is_success
$?
assertion__status_code_is_success
$?
}
}
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