-
Notifications
You must be signed in to change notification settings - Fork 6
Develop and document release process #3
Comments
@ssoloff The procedure for updating MARTI code is non-existent. |
@RoiEXLab Got it. So deploying MARTI should be as simple as expanding an archive into the Also, what are the permission requirements on these files? I see a mix of files being owned by You bring up a good point about the nginx configuration. We should probably store that in source control, as well. Can you document (in this issue should be fine) the command required to reload the nginx configuration after it has changed? Is it |
Correct, that's probably the biggest + for PHP ^^
Legacy problems, I think
Both EDIT: There's no reload option for the service command. You need to use restart instead |
@RoiEXLab I'd like to get /etc/nginx/sites-available/tripleawarclub.org under source control in preparation for deploying the updated MARTI (and just to have it versioned as a best practice). It seems the logical place to put that is in the triplea-game/tripleawarclub.org repo. Is there a better repo for it? I'm pretty sure that repo semantically represents the tripleawarclub.org website, not the entire server. In which case, I was going to store the nginx site configuration in the repo at /nginx/tripleawarclub.org rather than try to mirror the absolute path on the server. To ease updates to the configuration in production, it would be nice to set up the /etc/nginx/sites-available/tripleawarclub.org file as a symlink to the appropriate file in a local Git repo that maps to triplea-game/tripleawarclub.org/nginx/triplewarclub.org so we can deploy configuration changes with a simple |
Probably not, however what you probably should do is split the configuration file up in to independent files, you can do that, because the file contains 2 server blocks, one for tripleawarclub.org and one for dice.tripleawarclob.org |
Good idea. I'll do that once the current configuration is managed. Do you see a problem with adding another virtual host to act as a staging server for testing MARTI changes before they are deployed to production? Something like |
Not a problem, we just need to add another DNS entry for that domain, and update the cerbot configuration to generate TLS certificates for this subdomain. |
Thanks. No rush. Also, TLS is not required for what I'm doing, so you can skip that if you want. Segue question... Do we have documentation for what you're about to do? 😄 EDIT: Actually, don't worry about adding the subdomain for now. I'll just access it via |
Not going anywhere without my free TLS 😄
Cerbot is just a comman-line tool, documentation for various linux-based systems can be found here. All it does is validating you own a domain, by placing a random token in your server root directory and checking if this token can be accessed online, and if so generates a singed certificate on your machine.
It will, yes it's going to work ^^ |
@ssoloff |
Item (1) is resolved by a wiki page that documents how to update the Nginx configuration via a configuration-managed process. Item (2) is resolved by the new Docker environment submitted in #4, which documents how the DB connection information is injected by including a new FastCGI parameters file in the Nginx configuration. This pattern will be deployed to production as part of item (3). |
Item (3) is resolved by the instructions in the bin/README.md and config/nginx/README.md files, along with the files that support those instructions. This process has been used to deploy the new staging server. It will be extended to the production server in the near future. |
In order to debug triplea-game/triplea#2603, we need to make some changes to the MARTI code. AFAIK, there is currently no official release process. In the past, code changes have simply been made in production without being configuration managed. Now that the code is under source control, we need to develop and document an appropriate release process.
I believe the following tasks need to be performed to address this issue:
While MARTI is slated for retirement soon due to the new Node-based dice server, we will need a similar release procedure for it, as well. Therefore, this exercise needs to be done sooner or later.
@RoiEXLab I'd suggest we simply use the wiki for documenting the current and new processes to keep things simple. Let me know if you'd prefer something different, such as hosting the docs in the repo.
The text was updated successfully, but these errors were encountered: