chagall 0.0.1.beta2 → 0.0.1.beta3
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 +13 -7
- data/lib/chagall/cli.rb +2 -2
- data/lib/chagall/deploy/main.rb +1 -1
- data/lib/chagall/settings.rb +1 -4
- data/lib/chagall/version.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92ace3dd0cecf50612b21e1beb218db2956514304d841391bcc2e32add5c47d6
|
4
|
+
data.tar.gz: 2472d81420d35fa56cbe29ac8fff28f8bbb32de806a5ada608d837d98141cd87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa2c62deec29ed45bb75e414ad7ea2937b7723ba03d435541a691b22699a3b5f6d45320a39c06446b1316c5f92da35e642165f2e5599a701c00e4d8499e4cbde
|
7
|
+
data.tar.gz: a6ab08b498b1d6877847095457faf53a78286d80e1bfbb01c16cfcfd0ca2c4bedf689d1fa7eedd44e5889ab827c096424786e2cc9939065809ff3d38c616434d
|
data/Readme.md
CHANGED
@@ -4,18 +4,24 @@
|
|
4
4
|
|
5
5
|
**Chagall Deploy** is a deployment tool for applications for staging and production single-server setups.
|
6
6
|
|
7
|
-
- [
|
8
|
-
-
|
9
|
-
-
|
10
|
-
|
7
|
+
- [x] `bin/chagall setup` Bootstap server
|
8
|
+
- Install docker with sudo if user not root
|
9
|
+
- Make docker deamon accessable from user
|
10
|
+
|
11
|
+
- [x] `bin/chagall deploy` Build docker image and deploy docker compose application into server
|
12
|
+
|
13
|
+
- [x] `bin/chagall compose` Wrap docker compose commands on server project through ssh
|
14
|
+
for example `bin/chagall compose logs app -f --tail 500`
|
15
|
+
|
16
|
+
- [x] Don't require Container Registry like Docker Hub or ECR
|
17
|
+
- [ ] Generates Docker and docker compose configurations based on your application’s dependencies suck like: (not implemented yet)
|
11
18
|
- Redis
|
12
19
|
- Sidekiq
|
13
20
|
- Mariadb, MySQL
|
14
21
|
- PostgreSQL
|
15
22
|
- MongoDB
|
16
23
|
- Elasticsearch
|
17
|
-
-
|
18
|
-
- For production TLS/SSL using [reproxy](https://github.com/umputun/reproxy)
|
24
|
+
- [x] For production TLS/SSL using [reproxy](https://github.com/umputun/reproxy)
|
19
25
|
|
20
26
|
## Features
|
21
27
|
|
@@ -29,7 +35,7 @@
|
|
29
35
|
To install Chagall Deploy, run this command in your project root:
|
30
36
|
|
31
37
|
```bash
|
32
|
-
|
38
|
+
gem install chagall --pre
|
33
39
|
```
|
34
40
|
|
35
41
|
## Usage
|
data/lib/chagall/cli.rb
CHANGED
@@ -51,7 +51,9 @@ module Chagall
|
|
51
51
|
|
52
52
|
subcommand "deploy", "Deploy the application to the server" do
|
53
53
|
def execute
|
54
|
+
binding.irb
|
54
55
|
Chagall::Settings.configure(collect_options_hash)
|
56
|
+
|
55
57
|
Chagall::Deploy::Main.new
|
56
58
|
end
|
57
59
|
end
|
@@ -113,8 +115,6 @@ module Chagall
|
|
113
115
|
|
114
116
|
next if !respond_to?(name) && !respond_to?("#{name}?")
|
115
117
|
|
116
|
-
binding.irb if option.attribute_name == "context"
|
117
|
-
|
118
118
|
value = if option.type == :flag
|
119
119
|
send("#{name}?")
|
120
120
|
else
|
data/lib/chagall/deploy/main.rb
CHANGED
data/lib/chagall/settings.rb
CHANGED
@@ -89,7 +89,7 @@ module Chagall
|
|
89
89
|
{
|
90
90
|
key: :dockerfile,
|
91
91
|
type: :string,
|
92
|
-
flags: [ "-f", "--
|
92
|
+
flags: [ "-f", "--dockerfile" ],
|
93
93
|
default: "Dockerfile",
|
94
94
|
environment_variable: "CHAGALL_DOCKERFILE",
|
95
95
|
description: "Dockerfile"
|
@@ -167,9 +167,6 @@ module Chagall
|
|
167
167
|
@missing_options = []
|
168
168
|
@missing_compose_files = []
|
169
169
|
|
170
|
-
# @options.merge!(options_from_config_file)
|
171
|
-
# @options.merge!(parsed_options)
|
172
|
-
|
173
170
|
validate_options
|
174
171
|
end
|
175
172
|
|
data/lib/chagall/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chagall
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roman Klevtsov
|
@@ -14,30 +14,30 @@ dependencies:
|
|
14
14
|
name: clamp
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
33
|
+
version: '0.14'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
40
|
+
version: '0.14'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: zeitwerk
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: debug
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '1.10'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '1.10'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|