Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flame-clmc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flame
flame-clmc
Commits
8b9012a5
Commit
8b9012a5
authored
6 years ago
by
MJB
Browse files
Options
Downloads
Patches
Plain Diff
updates to ci readme
parent
75b2a9f9
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
README.md
+22
-0
22 additions, 0 deletions
README.md
Vagrantfile
+6
-5
6 additions, 5 deletions
Vagrantfile
with
28 additions
and
5 deletions
README.md
+
22
−
0
View file @
8b9012a5
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Vagrantfile
+
6
−
5
View file @
8b9012a5
...
...
@@ -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
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