phpmx / phpmxbot

A Slack bot for the PHP Mexico Community.
3 stars 7 forks source link

Hosting / CI / CD #3

Open eruizdechavez opened 3 years ago

eruizdechavez commented 3 years ago

I am happy to host the bot on my VPS while we figure out a proper place to host it and deploy it.

I would love to have a staging and prod setup. Also, at some point I would also want to have some testing in place.

Ideas?

asfo commented 3 years ago

@dmouse Tiene un host ya para el bot actual y la web de PHPMX, entonces ahí mismo deberían ponerlo creo yo.

gueroverde commented 3 years ago

El continuous integration podria ser por medio de github actions?

dmouse commented 3 years ago

El hosting por ahora esta en un server de Indava, podemos ponerlo ahi por ahora, creo que no podremos hacer el flujo de deploy automatico, hay que ver con @jashk las opciones, si podemos moverlo a un server ya de phpmx.

VictorChavezMX commented 3 years ago

Yo puedo hostear la app en una EC2 t2-mini de AWS si les sirve

RZEROSTERN commented 2 years ago

Coincido con @gueroverde. Se podría hacer en Github Actions

eruizdechavez commented 2 years ago

No necesitamos buscar server independiente hasta que realmente se tenga que hacer. Yo tengo un VPS contratado desde hace varios años donde hago deployments con GitHub actions sin problemas.

asfo commented 2 years ago

¿Y el CI/CD cómo lo tienen en mente?, ¿Pasan las pruebas y por SSH sube los archivos y reinicia el container o qué onda? 🤔

eruizdechavez commented 2 years ago

Se suben por SSH y ya, no es necesario reiniciar ningún container.

asfo commented 2 years ago

Se suben por SSH y ya, no es necesario reiniciar ningún container.

Simple ejemplo :P (sé que PHP no ocupa reiniciar el container) solo era la duda si hay algo más qué hacer.