From 7d529f84fd4ea8ec47224a32691d86c2f7b5b98f Mon Sep 17 00:00:00 2001 From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl> Date: Sat, 25 Mar 2017 12:35:23 +0100 Subject: [PATCH] meta --- make.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/make.py b/make.py index b746cd5..57ab309 100644 --- a/make.py +++ b/make.py @@ -21,23 +21,23 @@ stages: - deploy deploy_localhost: stage: deploy - tags: - - vagrant - - develop19216822423 environment: name: local url: http://dev.dms-serwis.com.pl script:''') for box in boxes: ci.write(''' - - vagrant box remove $PREFIX/$BOX - - vagrant box add $PREFIX/$BOX file:///var/www/html/dev/vagrant/$BOX.box''') - for box in boxes: - ci.write(b''' +deploy_$BOX: + when: manual + stage: deploy + tags: + - vagrant + - develop19216822423 + script: + - vagrant box remove $PREFIX/$BOX + - vagrant box add $PREFIX /$BOX file:///var/www/html/dev/vagrant/$BOX.box build_$BOX: - only: - - master - - /^$BOX\-(.*)$/ + when: manual stage: build tags: - vagrant -- GitLab