rocketeers / rocketeer

Send your projects up in the clouds
http://rocketeer.autopergamene.eu/
MIT License
2.66k stars 217 forks source link

Feature request: show hash of deployed commit in 'rocketeer current' #769

Open reassured-jy opened 6 years ago

reassured-jy commented 6 years ago

When I run rocketeer current, it produces the following table:

Here are the available releases :
+----+----------------+---------------------+--------+
| #  | Path           | Deployed at         | Status |
+----+----------------+---------------------+--------+
| 0  | 20180718105624 | 2018-07-18 10:56:24 | ✓      |
| 1  | 20180718095536 | 2018-07-18 09:55:36 | ✓      |
| 2  | 20180712124704 | 2018-07-12 12:47:04 | ✓      |
| 3  | 20180712124202 | 2018-07-12 12:42:02 | ✓      |
| 4  | 20180712110448 | 2018-07-12 11:04:48 | ✓      |
| 5  | 20180629091823 | 2018-06-29 09:18:23 | ✓      |
| 6  | 20180629084826 | 2018-06-29 08:48:26 | ✓      |
| 7  | 20180629082901 | 2018-06-29 08:29:01 | ✓      |
| 8  | 20180606150845 | 2018-06-06 15:08:45 | ✓      |
| 9  | 20180605151606 | 2018-06-05 15:16:06 | ✓      |
| 10 | 20180531091630 | 2018-05-31 09:16:30 | ✓      |
| 11 | 20180530092353 | 2018-05-30 09:23:53 | ✓      |
| 12 | 20180530091127 | 2018-05-30 09:11:27 | ✓      |
| 13 | 20180526112810 | 2018-05-26 11:28:10 | ✓      |
| 14 | 20180526111831 | 2018-05-26 11:18:31 | ✓      |
| 15 | 20180524120542 | 2018-05-24 12:05:42 | ✓      |
| 16 | 20180515105249 | 2018-05-15 10:52:49 | ✓      |
| 17 | 20180515104457 | 2018-05-15 10:44:57 | ✓      |
| 18 | 20180426154437 | 2018-04-26 15:44:37 | ✓      |
| 19 | 20180426115233 | 2018-04-26 11:52:33 | ✓      |
| 20 | 20180426114558 | 2018-04-26 11:45:58 | ✓      |
+----+----------------+---------------------+--------+

This shows the time a deployment was run, but does not show which commit was deployed. It would be useful in matching previous deploys to commits if this could be shown, especially in environments where the deployment is run manually and the timestamp does not always correspond that closely to the timestamp on a commit.