Skip to content

Application releases

TMS topic: City Logistics releases (https://app.clickup.com/2496230/docs/2c5q6-69975/2c5q6-11194)

Building apps

  • Clone application to local
  • Check current tags with: git tag --list
  • Update changelog
  • Build new version with: git tag v1.2.3.4 && git push origin v1.2.3.4
  • Wait for the build to complete on #ci channel
  • After build is complete, wait for 2-3 seconds for syncthing to catch up

In attracs-linux-playbooks

https://github.com/Attracs/attracs-linux-playbooks

  1. Open your services run file from supervisord/run/<service>.conf.j2
  2. Update the latest version in both command and directory lines
  3. Use AWX to push run config changes to backends
    1. open vpn and logon to https://awx.attracs.com
    2. Get latest SCM revison of 'attracs linux' under projects
    3. run template 'supervisord update process configs'
  4. Open managevisor https://managevisor-nightly.attracs.com/services?filters=dG1z_YnVpbGQ6IGRlcGxveT1zdGFibGU%3D
  5. Click ACTIONS -> Reload supervisor config from the right side of the server header
  6. Restart each service at a time, one server at a time using the popped up service that informs which service config has changed.
    • Wait and look at the logs after each process restart that server
      • A) boots up correctly
      • B) starts receiving BOTH API and RPC traffic (see printed debug logs). This usually takes between 1-60 seconds.
    • Move to the next server untill all services have been restarted.