prometheus-splash 0.8.5 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/splash/cli/webadmin.rb +2 -1
- data/lib/splash/constants.rb +1 -1
- data/lib/splash/webadmin.rb +3 -1
- data/templates/.env +0 -0
- data/templates/Dockerfile +5 -0
- data/templates/docker-compose.yml +14 -0
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a4460d32852ffefae8779559dda23549d1897b4a9426ad5d79d5f7d5fa439f9
|
4
|
+
data.tar.gz: b5feaa825627a05bfce7809730e5ebd728d0555320e7a8aeebce7dc24ad1df62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da96fbe45265e982b74e741b4472bd3a61064c09f05b600cce13acf3340cb76bcf8b49843b169be6097b5e9422e32a5d942581e20cc3c03a5a413ccdffd93948
|
7
|
+
data.tar.gz: f86edff60f5ab1851fd25255055e16ee6244006a2e010f431a2107f35e50eb81ed6e13e3aa4695e9f9cedf309414977022d4d708ff0ab3e54f39b942a2bf3485
|
data/lib/splash/cli/webadmin.rb
CHANGED
@@ -35,9 +35,10 @@ module CLISplash
|
|
35
35
|
long_desc <<-LONGDESC
|
36
36
|
Starting Splash Daemon\n
|
37
37
|
LONGDESC
|
38
|
+
option :foreground, :type => :boolean, :aliases => "-F"
|
38
39
|
desc "start", "Splash WebAdmin Daemon status"
|
39
40
|
def start
|
40
|
-
acase = run_as_root :startweb
|
41
|
+
acase = run_as_root :startweb, options
|
41
42
|
splash_exit acase
|
42
43
|
end
|
43
44
|
|
data/lib/splash/constants.rb
CHANGED
data/lib/splash/webadmin.rb
CHANGED
@@ -20,6 +20,7 @@ module Splash
|
|
20
20
|
# Start the Splash Daemon
|
21
21
|
# @param [Hash] options
|
22
22
|
# @option options [Symbol] :quiet activate quiet mode for log (limit to :fatal)
|
23
|
+
# @option options [Symbol] :foreground run webadmin in foreground
|
23
24
|
# @return [Hash] Exiter Case (:quiet_exit, :already_exist, :unknown_error or other)
|
24
25
|
def startweb(options = {})
|
25
26
|
require 'splash/webadmin/main'
|
@@ -37,7 +38,8 @@ module Splash
|
|
37
38
|
daemon_config = {:description => config.webadmin_process_name,
|
38
39
|
:pid_file => config.webadmin_full_pid_path,
|
39
40
|
:stdout_trace => config.webadmin_full_stdout_trace_path,
|
40
|
-
:stderr_trace => config.webadmin_full_stderr_trace_path
|
41
|
+
:stderr_trace => config.webadmin_full_stderr_trace_path,
|
42
|
+
:foreground => options[:foreground]
|
41
43
|
}
|
42
44
|
|
43
45
|
["int","term","hup"].each do |type| daemon_config["sig#{type}_handler".to_sym] = Proc::new { WebAdminApp.quit! } end
|
data/templates/.env
ADDED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prometheus-splash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Romain GEORGES
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -486,6 +486,8 @@ files:
|
|
486
486
|
- prometheus-splash.gemspec
|
487
487
|
- spec/helpers_spec.rb
|
488
488
|
- spec/templates_spec.rb
|
489
|
+
- templates/.env
|
490
|
+
- templates/Dockerfile
|
489
491
|
- templates/ansible-splash/Vagrantfile
|
490
492
|
- templates/ansible-splash/deploy.yml
|
491
493
|
- templates/ansible-splash/group_vars/DEV.yml
|
@@ -508,6 +510,7 @@ files:
|
|
508
510
|
- templates/ansible-splash/roles/supervision_master/tasks/main.yml
|
509
511
|
- templates/ansible-splash/roles/supervision_master/templates/alertmanager.yml.j2
|
510
512
|
- templates/ansible-splash/roles/supervision_master/templates/prometheus.yml.j2
|
513
|
+
- templates/docker-compose.yml
|
511
514
|
- templates/report.txt
|
512
515
|
- templates/splashd.service
|
513
516
|
- test.sh
|
@@ -531,7 +534,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
531
534
|
- !ruby/object:Gem::Version
|
532
535
|
version: '0'
|
533
536
|
requirements: []
|
534
|
-
rubygems_version: 3.
|
537
|
+
rubygems_version: 3.2.3
|
535
538
|
signing_key:
|
536
539
|
specification_version: 4
|
537
540
|
summary: Supervision with Prometheus of Logs and Asynchronous tasks orchestration
|