Releases
New releases are automatically and atomically prepared on GitHub using actions when pushing to the main
branch. The release is copied to all servers and if anything goes wrong during these steps, the release is canceled. There are no manual steps involved except for the setup.
Listing releases
If you want to manually list all releases on a server or of an environment, you can use the following commands:
shell
dep releases env=production
dep releases 'env=local & swarm=leader'
dep releases smarthealth-app-local-worker-1
which will show you a list of releases on the remote server(s) similar to:
+---------------------+------example.org ------------+--------+-----------+
| Date (UTC) | Release | Author | Target | Commit |
+---------------------+-------------+----------------+--------+-----------+
| 2021-11-06 20:51:45 | 1 | Anton Medvedev | HEAD | 34d24192e |
| 2021-11-06 21:00:50 | 2 (bad) | Anton Medvedev | HEAD | 392948a40 |
| 2021-11-06 23:19:20 | 3 | Anton Medvedev | HEAD | a4057a36c |
| 2021-11-06 23:24:30 | 4 (current) | Anton Medvedev | HEAD | s3wa45ca6 |
+---------------------+-------------+----------------+--------+-----------+