Commit f651dccf authored by Ilya Rassadin's avatar Ilya Rassadin
Browse files

rollabck refactoring

parent c1083271
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
.run_composer_install: &run_composer_install |
  if [ -e $COMPOSER_INSTALL_DIR/composer.json ];
  then
    cd $COMPOSER_INSTALL_DIR;
    composer --optimize-autoloader --no-dev --ignore-platform-reqs --no-scripts install;
  fi

.build_composer:
  stage: build
  image: registry.cetera.su/adm/adm/php_composer:stretch_5
+0 −7
Original line number Diff line number Diff line
@@ -13,13 +13,6 @@ variables:
.set_layouts: &set_layouts |
  cd $CI_PROJECT_DIR/working/ && export LAYOUTS=(`ls -1 -d ./*/|perl -nE 's{^\./(.+)/$}{$1}; print if /^[^.]/'`)

.run_composer_install: &run_composer_install |
  if [ -e $COMPOSER_INSTALL_DIR/composer.json ];
  then
    cd $COMPOSER_INSTALL_DIR;
    composer --optimize-autoloader --no-dev --ignore-platform-reqs --no-scripts install;
  fi

.before_assets:
  before_script:
  # Нижеследующая строчка положит в LAYOUTS все папки внутри working, кроме папок, чье имя начинается с точки.