soaring 0.1.20 → 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/lib/soaring/cli.rb +4 -3
- data/lib/soaring/initializer.rb +3 -0
- data/lib/soaring/packager.rb +2 -2
- data/lib/soaring/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b55af455015d931311f25af625b5858a8180347f
|
|
4
|
+
data.tar.gz: e49839fed152ddeb4b9b98fe2a7e75d78159fdd0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9fb668706cd945f504252d9179fb8727071225825d95855fdd31947eaa6c83a73d19d2f7c7a94617ffecc8f2299d8cbd81ccd2c23cdb40733133907698f86392
|
|
7
|
+
data.tar.gz: 73e763e4c71fecfdd3e5dce6e1ac3a7e292f4b7febb15f13ff2f90eaa0626a97f8e2769efe60faa0400485d00009cb5ec0edea906c13025aabf346df5d03e5a2
|
data/lib/soaring/cli.rb
CHANGED
|
@@ -39,9 +39,10 @@ module Soaring
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
desc "package [OPTIONS]", "package the service component for deployment with OPTIONS"
|
|
42
|
-
option :verbose, :aliases => '-v',
|
|
43
|
-
option :project_root, :default => Dir.pwd,
|
|
44
|
-
option :ignore_git_checks, :aliases => '-i',
|
|
42
|
+
option :verbose, :aliases => '-v', :desc => 'Verbose logging'
|
|
43
|
+
option :project_root, :default => Dir.pwd, :desc => 'Root folder of the soar project, defaults to current folder'
|
|
44
|
+
option :ignore_git_checks, :aliases => '-i', :desc => 'Ignore git check to ensure local git repo is committed, defaults to false'
|
|
45
|
+
option :manifest, :aliases => '-m', :default => 'release-package-manifest', :desc => 'File containing list of paths to zip up for deployment'
|
|
45
46
|
def package
|
|
46
47
|
packager = Packager.new(options)
|
|
47
48
|
packager.package
|
data/lib/soaring/initializer.rb
CHANGED
|
@@ -31,6 +31,9 @@ module Soaring
|
|
|
31
31
|
`yes | cp -rf #{temporary_soar_sc_folder}/jewels #{@options[:project_root]}`
|
|
32
32
|
`yes | cp -rf #{temporary_soar_sc_folder}/features #{@options[:project_root]}`
|
|
33
33
|
`yes | cp -rf #{temporary_soar_sc_folder}/Rakefile #{@options[:project_root]}`
|
|
34
|
+
`yes | cp -rf #{temporary_soar_sc_folder}/.rspec #{@options[:project_root]}`
|
|
35
|
+
`yes | cp -rf #{temporary_soar_sc_folder}/docker-compose.yml #{@options[:project_root]}`
|
|
36
|
+
`yes | cp -rf #{temporary_soar_sc_folder}/Dockerfile.for_service_component #{@options[:project_root]}/Dockerfile`
|
|
34
37
|
}
|
|
35
38
|
end
|
|
36
39
|
|
data/lib/soaring/packager.rb
CHANGED
|
@@ -12,8 +12,8 @@ module Soaring
|
|
|
12
12
|
build_output_location = generate_build_output_location(@options[:project_root])
|
|
13
13
|
update_project_release_information
|
|
14
14
|
`mkdir -p #{@options[:project_root]}/build`
|
|
15
|
-
`zip -r #{build_output_location}
|
|
16
|
-
puts "
|
|
15
|
+
`zip -r --symlinks #{build_output_location} -@ < build-package-manifest`
|
|
16
|
+
puts "Packaged build to #{build_output_location}"
|
|
17
17
|
end
|
|
18
18
|
end
|
|
19
19
|
|
data/lib/soaring/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: soaring
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Barney de Villiers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-02-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|