diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7ba96dd23910ad023af0d4baecabee24c7ce3cd6..c3ab7ef6ae347114d7418a287551a0e2f68890f6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,7 @@ variables: PREFIX: henrietta/ + WWWPATH: /var/www/html/dev/vagrant + .job_template: &box_build_job stage: build tags: @@ -17,7 +19,7 @@ variables: - vagrant package --out $BOX.box - mv -f $BOX.box /var/www/html/dev/vagrant/$BOX.box - vagrant box remove $PREFIX/$BOX - - vagrant box add $PREFIX/$BOX file:///var/www/html/dev/vagrant/$BOX.box + - vagrant box add $PREFIX/$BOX file://$WWWPATH/$BOX.box - cd .. after_script: - vagrant destroy -f diff --git a/make.py b/make.py index 30762a449659c1b703cf895c4b7190db09d4a215..1a640aca81f914e9727cceb6a294e30d6f270818 100644 --- a/make.py +++ b/make.py @@ -67,5 +67,6 @@ build_%s: "url": "http://dev.dms-serwis.com.pl/vagrant/%s.box" }] }] -}''' % (description, description, box, description, description, box)) +} +''' % (description, description, box, description, description, box))