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
93f7a268
Commit
93f7a268
authored
8 years ago
by
Bogdan Dobrelya
Browse files
Options
Downloads
Patches
Plain Diff
Enable smart facts cache for CI jobs
Signed-off-by:
Bogdan Dobrelya
<
bdobrelia@mirantis.com
>
parent
3d617fbf
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+2
-2
2 additions, 2 deletions
.travis.yml
ansible.cfg
+4
-1
4 additions, 1 deletion
ansible.cfg
tests/ansible.cfg
+4
-1
4 additions, 1 deletion
tests/ansible.cfg
with
10 additions
and
4 deletions
.travis.yml
+
2
−
2
View file @
93f7a268
...
...
@@ -110,7 +110,7 @@ before_script:
-
cp tests/ansible.cfg .
# - "echo $HOME/.local/bin/ansible-playbook -i inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root -e '{\"cloud_provider\": true}' $LOG_LEVEL -e kube_network_plugin=${KUBE_NETWORK_PLUGIN} setup-kubernetes/cluster.yml"
## Configure ansible deployment logs to be collected as an artifact. Enable when GCS configured, see https://docs.travis-ci.com/user/deployment/gcs
# - $HOME/.local/bin/ansible-playbook -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root scri
t
ps/configure-logs.yaml
# - $HOME/.local/bin/ansible-playbook -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root scrip
t
s/configure-logs.yaml
script
:
-
>
...
...
@@ -134,7 +134,7 @@ script:
## Ping the between 2 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/030_check-network.yml $LOG_LEVEL
## Collect env info, enable it once GCS configured, see https://docs.travis-ci.com/user/deployment/gcs
# - $HOME/.local/bin/ansible-playbook -i inventory/inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root scri
t
ps/collect-info.yaml
# - $HOME/.local/bin/ansible-playbook -i inventory/inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root scrip
t
s/collect-info.yaml
after_script
:
-
>
...
...
This diff is collapsed.
Click to expand it.
ansible.cfg
+
4
−
1
View file @
93f7a268
[ssh_connection]
pipelining
=
True
[defaults]
[defaults]
host_key_checking
=
False
gathering
=
smart
fact_caching
=
jsonfile
fact_caching_connection
=
/tmp
This diff is collapsed.
Click to expand it.
tests/ansible.cfg
+
4
−
1
View file @
93f7a268
[ssh_connection]
pipelining
=
True
[defaults]
[defaults]
host_key_checking
=
False
gathering
=
smart
fact_caching
=
jsonfile
fact_caching_connection
=
/tmp
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