You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can abstract the workflow currently used by Anonymizer, these are some steps for an ideal roadmap:
Tests in CI
Use a Docker container for tests run on the CI (the container should be created from a Docker image which is identical to the production one)
Image build
Create a new base Docker image containing node, git, bash and other basic dependencies (edit: done)
Build time env vars depending on environment (production, staging...), e.g. Dockerfile path, Docker registry url, Docker image repo, deploy hook, and so on
Make deploy optional on CI workflow (how to express the condition?)
Deploy and app restart
Use deployer as container (pulls ad image that contains the updated version of the docker-compose.yml)
Docker credentials (for server login) as env var
(optional) Notify success/failure of build or deploy process (via Slack, email, etc.)
App execution
Read environment variables from an internal DB, exposed via a service
We can abstract the workflow currently used by Anonymizer, these are some steps for an ideal roadmap:
Tests in CI
Image build
node,git,bashand other basic dependencies (edit: done)Dockerfilepath, Docker registry url, Docker image repo, deploy hook, and so onDeploy and app restart
deployeras container (pulls ad image that contains the updated version of thedocker-compose.yml)App execution
Nginxas container (like in Luca's proof of concept)Misc