Skip to content
Snippets Groups Projects
Commit 8b9012a5 authored by MJB's avatar MJB
Browse files

updates to ci readme

parent 75b2a9f9
No related branches found
No related tags found
No related merge requests found
......@@ -110,3 +110,25 @@ The following modules are integration tests
pytest -s --pyargs clmctest.inputs
pytest -s --pyargs clmctest.monitoring
```
#### CI Testing
A vagrant VM is setup on givry in the directory `/home/mjb/flame-clmc`
The VM is started using a libvirt vagrant file through the following command:
`VAGRANT_VAGRANTFILE=Vagrantfile.libvirt vagrant up`
The VM has gitlab-runner installed::
```
VAGRANT_VAGRANTFILE=Vagrantfile.libvirt vagrant up
VAGRANT_VAGRANTFILE=Vagrantfile.libvirt vagrant ssh -- -tt "sudo /vagrant/scripts/test/install-git-runner.sh"
```
Runners can be installed on developers virtualbox VMs if necessary, in that case you can just use
```
vagrant up
vagrant ssh -- -tt "sudo /vagrant/scripts/test/install-git-runner.sh"
```
\ No newline at end of file
......@@ -12,13 +12,14 @@ service lxc-net restart
SCRIPT
Vagrant.configure("2") do |config|
config.vm.box = "yk0/ubuntu-xenial"
config.vm.provider :libvirt do |domain|
domain.memory = 8192
domain.cpus = 4
config.vm.box = "ubuntu/xenial64"
config.vm.provider "virtualbox" do |vb|
vb.cpus = 4
vb.memory = "8192"
end
#config.vm.network "forwarded_port", guest: 80, host: 8080
# Install lxc
config.vm.provision :shell, inline: $lxc_script
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment