Thinking about UTRS deployment process #398
supertassu
started this conversation in
Ideas
Replies: 1 comment
-
I'm planning to work on this soon, so I've drafted some more detailed plans. @dqwiki does this look good / am I missing anything obvious?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The UTRS deployment process needs to improve. Main pain points currently are:
One way to solve this would be to create a separate branch,
stable
(orproduction
, or something else), that is used to run the production site. That way we can have a completely separate manually controller branch for production and we can still cherry-pick important fixes to it from master if needed.Also, we need to create a staging site from the master branch. (see #61) That way we can play around with things and hopefully find breakage before it's on production.
See #240
You need to manually run
php artisan down/up
, update dependencies, execute database migrations and perform changes to .env.I'm thinking about writing some kind of script that will automate most of the process, with a human watching that it doesn't break. Something that will automatically update dependencies, execute migrations, etc. when it detects those files have been changes. The script will probably live in a separate repository.
We could also experiment with having each version be a separate clone and symlink the current version to webroot when ready and that way make the downtime shorter.
Beta Was this translation helpful? Give feedback.
All reactions