dogids-cli 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dogids/deploy/worker.rb +2 -1
- data/lib/dogids/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3a7d4c5f335041eb553adfedcc01bae57d47e5c
|
4
|
+
data.tar.gz: f37ef3ad37cf772d14e3bcbbacc28b82da42053c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80e0a0a4d5d4b1193eb308105ab301fbc9ce304a825c0c37cd635de6dae4d389ac0503528c615665861e352b970ef7a05e5eefc249b4f62075544ec9327d11fc
|
7
|
+
data.tar.gz: 6e15afa9cdd648ef6935118cef7b63bb2f01fa25a3063eb0fb0a1b7319443866c0070a7d9204d794b63567bf8429f1d80bc85e424d1d84f73ab3a498a91f9b28
|
data/lib/dogids/deploy/worker.rb
CHANGED
@@ -46,8 +46,9 @@ module Dogids
|
|
46
46
|
|
47
47
|
def clean_up_command
|
48
48
|
commands = []
|
49
|
+
# Delete any SQL backups that failed to be deleted after uploading to S3
|
49
50
|
commands << "sudo find /var/lib/docker/ -type f -name '*.sql' -delete"
|
50
|
-
|
51
|
+
# Delete any old docker containers to free up space
|
51
52
|
commands << "sudo docker ps -a -f status=exited -q | xargs -r sudo docker rm -v"
|
52
53
|
commands.join(" && ")
|
53
54
|
end
|
data/lib/dogids/version.rb
CHANGED