From 1f81b1a2805c3a1565789fc4977d753d62fa95f9 Mon Sep 17 00:00:00 2001 From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl> Date: Sat, 25 Mar 2017 11:18:10 +0100 Subject: [PATCH] build test --- .gitlab-ci.yml | 4 +++- make.py | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7ba96dd..c3ab7ef 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 30762a4..1a640ac 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)) -- GitLab