Skip to content
Snippets Groups Projects
Commit e80eee45 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

build test

parent 3eb2ac14
No related branches found
No related tags found
No related merge requests found
Pipeline #589 failed with stage
in 55 seconds
...@@ -11,12 +11,6 @@ if __name__ == '__main__': ...@@ -11,12 +11,6 @@ if __name__ == '__main__':
# Generate Gitlab CI file # Generate Gitlab CI file
with open('.gitlab-ci.yml', 'wb') as ci: with open('.gitlab-ci.yml', 'wb') as ci:
ci.write(b'''
.job_template: &box_build_job
''')
for box in boxes: for box in boxes:
ci.write(b''' ci.write(b'''
build_%s: build_%s:
...@@ -40,8 +34,7 @@ build_%s: ...@@ -40,8 +34,7 @@ build_%s:
- vagrant box add $PREFIX/$BOX file:///var/www/html/dev/vagrant/$BOX.box - vagrant box add $PREFIX/$BOX file:///var/www/html/dev/vagrant/$BOX.box
- cd .. - cd ..
after_script: after_script:
- vagrant destroy -f - vagrant destroy -f'''.replace('$BOX', box).replace('$PREFIX', 'henrietta/'))
'''.replace('$BOX', box).replace('$PREFIX', 'henrietta/'))
# Generate metadata # Generate metadata
for box in boxes: for box in boxes:
......
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