SWLOR_NWN icon indicating copy to clipboard operation
SWLOR_NWN copied to clipboard

Revamp - Build Process

Open zunath opened this issue 2 years ago • 0 comments

We need to set up an automated build process which is manually kicked off. This process should do the following:

  1. Pull the latest haks repo git changes
  2. Pull the latest code repo git changes
  3. Build the haks repo into .hak and .tlk files. (We have a builder for this already which can be leveraged)
  4. Build the code repo into binaries
  5. Copy the hak and tlk files over to both the web server and the game server (backing up the prior files there first).
  6. Compress the haks and tlk into rar format and update the public files folder on the web server. These files are what get distributed via the website's download page.
  7. Run NWSync on the web server and get the hash it outputs
  8. Add the .maintenance file to the userdirectory folder on the game server, to prevent the auto restart script from firing.
  9. Shut down the running game server
  10. Update the game server's NWSync hash to the new one (take a backup of the old one first)
  11. Update the game server's module to the new one (take a backup of the old one first)
  12. Remove the .maintenance file from the userdirectory folder (auto start script will handle the booting of the server)

Notifications should also be published to Discord while this is happening, for easy tracking.

zunath avatar Oct 28 '21 12:10 zunath