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
- Open your services run file from
supervisord/run/<service>.conf.j2 - Update the latest version in both
commandanddirectorylines - Use AWX to push run config changes to backends
- open vpn and logon to https://awx.attracs.com
- Get latest SCM revison of 'attracs linux' under projects
- run template 'supervisord update process configs'
- Open managevisor https://managevisor-nightly.attracs.com/services?filters=dG1z_YnVpbGQ6IGRlcGxveT1zdGFibGU%3D
- Click
ACTIONS -> Reload supervisor configfrom the right side of the server header - 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.
- Wait and look at the logs after each process restart that server