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
56a9c7a8
Unverified
Commit
56a9c7a8
authored
4 years ago
by
Maxime Guyot
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add Vagrant CI (#5487)
parent
bfa468c7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci/vagrant.yml
+21
-0
21 additions, 0 deletions
.gitlab-ci/vagrant.yml
Vagrantfile
+1
-1
1 addition, 1 deletion
Vagrantfile
with
22 additions
and
1 deletion
.gitlab-ci/vagrant.yml
+
21
−
0
View file @
56a9c7a8
...
...
@@ -14,3 +14,24 @@ molecule_tests:
-
python -m pip install -r tests/requirements.txt
script
:
-
./tests/scripts/molecule_run.sh
.vagrant
:
extends
:
.testcases
variables
:
CI_PLATFORM
:
"
vagrant"
SSH_USER
:
"
kubespray"
VAGRANT_DEFAULT_PROVIDER
:
"
libvirt"
tags
:
[
vagrant
]
only
:
[
/^pr-.*$/
]
except
:
[
'
triggers'
]
image
:
quay.io/miouge/kubespray-vagrant
services
:
[]
script
:
-
vagrant up
after_script
:
-
vagrant destroy --force
vagrant_ubuntu18-flannel
:
stage
:
deploy-part2
extends
:
.vagrant
when
:
on_success
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Vagrantfile
+
1
−
1
View file @
56a9c7a8
...
...
@@ -43,7 +43,7 @@ $vm_memory ||= 2048
$vm_cpus
||=
1
$shared_folders
||=
{}
$forwarded_ports
||=
{}
$subnet
||=
"172.1
7
.8"
$subnet
||=
"172.1
8
.8"
$os
||=
"ubuntu1804"
$network_plugin
||=
"flannel"
# Setting multi_networking to true will install Multus: https://github.com/intel/multus-cni
...
...
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