Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

koncept github action pro deploy #27

Open
chemix opened this issue Mar 22, 2020 · 4 comments
Open

koncept github action pro deploy #27

chemix opened this issue Mar 22, 2020 · 4 comments

Comments

@chemix
Copy link
Member

chemix commented Mar 22, 2020

pokud by se udelal tag. tak by se spustila GA co by pripravila release

  • composer install
  • composer qa
  • grunt
  • create release version file (hash?)
  • commit & push to production server

➕ tim bychom se zbavili commitovani vendoru.

@chemix
Copy link
Member Author

chemix commented Apr 5, 2020

web bezi na serveru kde se da delat push do gitu a ten to nakopiruje do slozky kde uz je nalinkovanej apache. Neni tam v tuto chvili moznost si hrat a prehazovat symlinky takze je idealni na githubu v action pripravit commit kterej bude obsahovat zbuildovanej js+css (grunt) idealne pak nastavit hash souboru nekam aby si to pak vzala appka (ale to bych asi dal jako samostatnej issue) a stahnul se vendor, idealne trea s db/composer-cleaner a po tom co se spusti qa a bude to zelene tak se to muze pushnout na server. Tam se to po uspesnem pushi samo nakopiruje do folderu.
Plus je treba vytvorit nejakej klic kteremu dam pristup aby mohl pushovat na server a nekam ho schovat do nastaveni

@chemix
Copy link
Member Author

chemix commented Apr 8, 2020

tady je script kterym to ted posilam online, na serveru je script ktery ted resi stazeni composeru, ale trva to nejaky cas a o ten cas je site nedostupne, jelikoz tam neni nejake prehazovani simlinku https://github.com/planette/nettecamp.cz/blob/master/bin/deploy

@vojtechmares
Copy link

vojtechmares commented Apr 8, 2020

Honzo, chtěl by jsi před tím deploymentem dělat i warmup latte (tj. předrenderovat si šablony, aby byl downtime minimální a první request po deployi netrval dlouho)?

Viz https://github.com/contributte/console-extra/blob/master/.docs/README.md#latteconsole

Nebo rovnou vyšší level s https://github.com/contributte/console-extra/blob/master/.docs/README.md#advancedcacheconsole

Jen takový nápad deploy process ještě "potunit"

@chemix
Copy link
Member Author

chemix commented Apr 8, 2020

muzem pak zkusit jako dalsi krok, ale zacal bych tim ze se to tam dostane s vendor slozkou a zbuildenejma css a js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants