chagall 0.0.1.beta2 → 0.0.1.beta4
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 +1 -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: 13beb95529b66c01a0ca174d2c5d8053fc528ce8d1ee4492a91bd0169f4496fa
|
4
|
+
data.tar.gz: 891bd9a89043f9e060fb6b86606ca67439c51f0fce0930ea3a44ec350732dbd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eed87a9daf85db8fa282b0b9b6f893aa8f3377fd2d1ec07cc9fe277fb1b99513715986d3dd15506256aeae339cff071f8f82ebaeefb56ddbf27a0d02f8a98159
|
7
|
+
data.tar.gz: 211b4a114fc9cfdc2c4fa8bd7d531e94743dbbd4092dd8848846fe2050d0b2e28b17b54775d642336d30592d8d71c127ca56a53287e524e087e0a958e6c878b5
|
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
@@ -52,6 +52,7 @@ module Chagall
|
|
52
52
|
subcommand "deploy", "Deploy the application to the server" do
|
53
53
|
def execute
|
54
54
|
Chagall::Settings.configure(collect_options_hash)
|
55
|
+
|
55
56
|
Chagall::Deploy::Main.new
|
56
57
|
end
|
57
58
|
end
|
@@ -113,8 +114,6 @@ module Chagall
|
|
113
114
|
|
114
115
|
next if !respond_to?(name) && !respond_to?("#{name}?")
|
115
116
|
|
116
|
-
binding.irb if option.attribute_name == "context"
|
117
|
-
|
118
117
|
value = if option.type == :flag
|
119
118
|
send("#{name}?")
|
120
119
|
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.beta4
|
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
|