CI: Deployment & Environments
I'd like to write a continuation of #237 (closed)
Things to cover:
-
only -
except -
environment -
variables -
allow_failure -
cache -
when -
Deploy Keys -
Secret Variables
Questions to answer:
-
Can I deploy with GitLab CI? -
How can I deploy my app with GitLab CI? -
Deployment can mean different things. What kind of deployment can I do with GitLab? -
just copy a folder to a server (rsync) -
copy a folder & run some commands (digital-ocean style) -
heroku-style -
aws-style -
container-based deployment (docker-cloud?)
-
-
What if deployment involves many repos? (a.k.a. microservises) -
Can I have staging environment? -
Can I deploy manually? -
Can I have an environment-per-branch? -
Why GitLab doesn't use its own CI for deployment?