smartmachine 0.9.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/smart_machine/buildpackers/rails/Dockerfile +1 -1
- data/lib/smart_machine/engine/Dockerfile +1 -1
- data/lib/smart_machine/grids/prereceiver/Dockerfile +1 -1
- data/lib/smart_machine/grids/redis.rb +3 -1
- data/lib/smart_machine/grids/scheduler/Dockerfile +1 -1
- data/lib/smart_machine/templates/dotsmartmachine/config/redis.yml +2 -0
- data/lib/smart_machine/version.rb +2 -2
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aded51cfd2268340f644a67014433b19c0de0f8856dc7dfa613d729a7a68ba46
|
|
4
|
+
data.tar.gz: 1a1ca0e66b10f2f2ae0564ebac2abb2de2e7b488a2d8a1395bfb85df2a406484
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 64e77a19d587626dd2743b9877d08e877a9c5bb9783a9cb99e1d5faa89840f4db960902cd4c3ab40d081f9c56611925d7f1619b5e8621909ed4079797f37e972
|
|
7
|
+
data.tar.gz: 7149c3aea305c0fa59d1392f3974170d3468c7ac475d7e6907a027a3de419b7a6cce0f4ed189ed3d37a6747e95e41165dd239de7039da4a9d3fd81c731a3cb7a
|
data/README.md
CHANGED
|
@@ -136,7 +136,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
136
136
|
|
|
137
137
|
## Contributing
|
|
138
138
|
|
|
139
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
139
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/plainsource/smartmachine. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/plainsource/smartmachine/blob/main/CODE_OF_CONDUCT.md).
|
|
140
140
|
|
|
141
141
|
## License
|
|
142
142
|
|
|
@@ -144,4 +144,4 @@ The gem is available as open source under the terms of the [AGPL License](https:
|
|
|
144
144
|
|
|
145
145
|
## Code of Conduct
|
|
146
146
|
|
|
147
|
-
Everyone interacting in the SmartMachine project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
|
147
|
+
Everyone interacting in the SmartMachine project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/plainsource/smartmachine/blob/main/CODE_OF_CONDUCT.md).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
FROM ruby:2.7.0-alpine3.11
|
|
2
|
-
LABEL maintainer="
|
|
2
|
+
LABEL maintainer="plainsource <plainsource@humanmind.me>"
|
|
3
3
|
|
|
4
4
|
# User
|
|
5
5
|
# --- Fix to change docker gid to 998 (if it is in use) so that addgroup is free to create a group with docker gid.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
ARG SMARTMACHINE_VERSION
|
|
2
2
|
|
|
3
3
|
FROM smartmachine/smartengine:$SMARTMACHINE_VERSION
|
|
4
|
-
LABEL maintainer="
|
|
4
|
+
LABEL maintainer="plainsource <plainsource@humanmind.me>"
|
|
5
5
|
|
|
6
6
|
# FCGI Essentials
|
|
7
7
|
# --- IMPORTANT NOTE: This is custom built fcgiwrap package for alpine linux to account for NO_BUFFERING option.
|
|
@@ -10,6 +10,8 @@ module SmartMachine
|
|
|
10
10
|
@appendonly = config.dig(:appendonly)
|
|
11
11
|
@maxmemory = config.dig(:maxmemory)
|
|
12
12
|
@maxmemory_policy = config.dig(:maxmemory_policy)
|
|
13
|
+
@modules = config.dig(:modules)&.map { |module_name| "--loadmodule /usr/lib/redis/modules/#{module_name}.so" } || []
|
|
14
|
+
@modules.push("Plugin /var/opt/redislabs/modules/rg/plugin/gears_python.so")
|
|
13
15
|
|
|
14
16
|
@name = name.to_s
|
|
15
17
|
@home_dir = File.expand_path('~')
|
|
@@ -37,7 +39,7 @@ module SmartMachine
|
|
|
37
39
|
"--volume='#{@home_dir}/smartmachine/grids/redis/#{@name}/data:/data'",
|
|
38
40
|
"--restart='always'",
|
|
39
41
|
"--network='#{@name}-network'",
|
|
40
|
-
"
|
|
42
|
+
"redislabs/redismod:latest --port #{@port} --requirepass #{@password} --appendonly #{@appendonly} --maxmemory #{@maxmemory} --maxmemory-policy #{@maxmemory_policy} #{@modules.join(' ')}"
|
|
41
43
|
]
|
|
42
44
|
if system(command.compact.join(" "), out: File::NULL)
|
|
43
45
|
puts "done"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smartmachine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- plainsource
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-10-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: net-ssh
|
|
@@ -115,7 +115,7 @@ dependencies:
|
|
|
115
115
|
description: SmartMachine is a full-stack deployment framework for rails optimized
|
|
116
116
|
for admin programmer happiness and peaceful administration. It encourages natural
|
|
117
117
|
simplicity by favoring convention over configuration.
|
|
118
|
-
email:
|
|
118
|
+
email: plainsource@humanmind.me
|
|
119
119
|
executables:
|
|
120
120
|
- smartmachine
|
|
121
121
|
extensions: []
|
|
@@ -370,14 +370,14 @@ files:
|
|
|
370
370
|
- lib/smart_machine/templates/dotsmartmachine/tmp/.keep
|
|
371
371
|
- lib/smart_machine/templates/dotsmartmachine/vendor/.keep
|
|
372
372
|
- lib/smart_machine/version.rb
|
|
373
|
-
homepage: https://github.com/
|
|
373
|
+
homepage: https://github.com/plainsource/smartmachine
|
|
374
374
|
licenses:
|
|
375
375
|
- AGPL-3.0-or-later
|
|
376
376
|
metadata:
|
|
377
|
-
homepage_uri: https://github.com/
|
|
378
|
-
bug_tracker_uri: https://github.com/
|
|
379
|
-
changelog_uri: https://github.com/
|
|
380
|
-
source_code_uri: https://github.com/
|
|
377
|
+
homepage_uri: https://github.com/plainsource/smartmachine
|
|
378
|
+
bug_tracker_uri: https://github.com/plainsource/smartmachine/issues
|
|
379
|
+
changelog_uri: https://github.com/plainsource/smartmachine/releases/tag/v1.0.0
|
|
380
|
+
source_code_uri: https://github.com/plainsource/smartmachine/tree/v1.0.0/smartmachine
|
|
381
381
|
post_install_message:
|
|
382
382
|
rdoc_options: []
|
|
383
383
|
require_paths:
|