mrsk 0.8.2 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a99fc249415cbefb3b4fd405f26cfd85b7bcb8ad1bf8cdba11c62210ae66895
4
- data.tar.gz: c8acc173b4b3f721559c92319ccc9691fd436a082d79fe25f7ac9375e5baaf2e
3
+ metadata.gz: 0065b91bb3c00ef0ef6db78eb605d8db5df3606ccf97be15bb059ab1985231d5
4
+ data.tar.gz: 2ed2b0c6235ea398bc5717aebf99e2a4f1e6c9434c64da5eed6d8899b0ca335e
5
5
  SHA512:
6
- metadata.gz: 97d9b4cf8ab9fe6adfe684f537b40b901a0572e85a36aa752e86412e367976e963c9b417e48215d0b5e1025ed0649f8026ecbaf7c21024987291b842f34d2461
7
- data.tar.gz: 1f8534b40d85e1d63a1979781411e4755aef9596403da9fbc5007e7c7935939b68bd4cc7c258231ae808fe9e1ec179486fc3b25962d577852cccb4ef45dc44e6
6
+ metadata.gz: c00ed2e4693b62e0eeb238c17d4c17b3e06ed03ed580aea7ca724a4629c28274d77bc31fa63ca1d1e5f07b1f73e6b2ecc164a076d2ad5307b7e30625cea2ee7a
7
+ data.tar.gz: ee273834e9e330640ef6b55acc4dabeeef6c4e9178112351376c3ab1e23afeb9fa389a08b6cf5a8c3bbaafc079d7cabc98d316fd08030a8886c12d5020a68653
data/README.md CHANGED
@@ -330,6 +330,21 @@ accessories:
330
330
 
331
331
  Now run `mrsk accessory start mysql` to start the MySQL server on 1.1.1.3. See `mrsk accessory` for all the commands possible.
332
332
 
333
+ ### Using Cron
334
+
335
+ You can use a specific container to run your Cron jobs:
336
+
337
+ ```yaml
338
+ servers:
339
+ cron:
340
+ hosts:
341
+ - 192.168.0.1
342
+ cmd:
343
+ bash -c "cat config/crontab | crontab - && cron -f"
344
+ ```
345
+
346
+ This assumes the Cron settings are stored in `config/crontab`.
347
+
333
348
  ### Using a generated .env file
334
349
 
335
350
  If you're using a centralized secret store, like 1Password, you can create `.env.erb` as a template which looks up the secrets. Example of a .env.erb file:
data/lib/mrsk/cli/main.rb CHANGED
@@ -146,7 +146,7 @@ class Mrsk::Cli::Main < Mrsk::Cli::Base
146
146
  if options[:confirmed] || ask(remove_confirmation_question, limited_to: %w( y N ), default: "N") == "y"
147
147
  invoke "mrsk:cli:traefik:remove", [], options.without(:confirmed)
148
148
  invoke "mrsk:cli:app:remove", [], options.without(:confirmed)
149
- invoke "mrsk:cli:accessory:remove", [ "all" ]
149
+ invoke "mrsk:cli:accessory:remove", [ "all" ], options
150
150
  invoke "mrsk:cli:registry:logout", [], options.without(:confirmed)
151
151
  end
152
152
  end
data/lib/mrsk/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mrsk
2
- VERSION = "0.8.2"
2
+ VERSION = "0.8.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mrsk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson