Skip to content

Разгортванне на тэставы сэрвер. Devops'ам

Mister Cable edited this page Jul 20, 2019 · 1 revision

Адміны

Адміны - асобы, хто будзе падтрымливаць працэс дэплоймэнта.

Увесь працэс аўтаматызаваны на нашым інстансы Jenkins. Прыблізны pipeline:

  1. cp -v .env.testing .env
  2. Install composer dependencies including dev (for testing purposes) composer install --prefer-dist --no-interaction --no-suggest accelerate app (mostly for tests)
  3. php artisan route:cache
  4. php artisan config:cache
  5. npm install
  6. npm run prod
  7. zip -r doika_latest.zip ../doika/* (need to be polished to exclude some files)
  8. mv doika_latest.zip ${DOIKA_RELEASES_DIR}
Clone this wiki locally