bosh-gen 0.21.0 → 0.21.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +2 -0
- data/lib/bosh/gen/generators/new_release_generator/templates/templates/deployment.yml.tt +7 -7
- data/lib/bosh/gen/generators/new_release_generator/templates/templates/infrastructure-aws-ec2.yml.tt +6 -6
- data/lib/bosh/gen/generators/new_release_generator/templates/templates/infrastructure-warden.yml.tt +1 -1
- data/lib/bosh/gen/generators/new_release_generator/templates/templates/jobs.yml.tt +2 -2
- data/lib/bosh/gen/version.rb +1 -1
- data/spec/fixtures/deployment_manifests/2_jobs_1_ip_8196_disk.yml +2 -2
- data/spec/fixtures/deployment_manifests/2_jobs_1_ip_8196_disk_with_numeric.yml +2 -2
- data/spec/fixtures/deployment_manifests/2_jobs_2_ips_no_disk.yml +2 -2
- data/spec/fixtures/releases/s3test-boshrelease/templates/infrastructure-aws-ec2.yml +3 -3
- data/spec/fixtures/releases/s3test-boshrelease/templates/infrastructure-warden.yml +1 -1
- data/spec/models/deployment_manifest_spec.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02ed8c52ffbfdcc164256eae97bedeff0169276d
|
4
|
+
data.tar.gz: f17b71a06805d38ded7addd53ca27232efb17c08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dd551ee55e522d87a4a6e60267b72ca80afc1ca2cfc352c23b45a6ca48ecbe1b3538b87e6bf9ff29832b0e6c6d61eb858ee99c991980586da0c545aeb099b8a
|
7
|
+
data.tar.gz: d5d88c562faf266726a7c8bd5004c8a1e1bac50096b0037c2b245435142873397da71e8414c0c8a480b7798fbaea20b4a54234c76ab0675844df85f0d645c503
|
data/ChangeLog.md
CHANGED
@@ -6,6 +6,8 @@ v0.21.0
|
|
6
6
|
- `new` assumes using [spruce](https://github.com/geofffranks/spruce) instead of spiff. Yay!
|
7
7
|
- `new` no longer creates a master-slave job template
|
8
8
|
- `new` now creates a wrapper job `just_install_packages` that is useful for initial development of packages prior to creating new job templates with `bosh-gen job`.
|
9
|
+
- fixed default stemcell names to be modern `go_agent` variant [v0.21.1]
|
10
|
+
- default AWS instance type now m3.medium which is available to all AWS accounts [v0.21.1]
|
9
11
|
|
10
12
|
v0.20.0
|
11
13
|
-------
|
@@ -1,20 +1,20 @@
|
|
1
1
|
meta:
|
2
|
-
environment: ((
|
3
|
-
stemcell: ((
|
2
|
+
environment: (( param "please set environment" ))
|
3
|
+
stemcell: (( param "please set stemcell" ))
|
4
4
|
|
5
5
|
name: (( grab meta.environment ))
|
6
6
|
|
7
|
-
director_uuid: ((
|
7
|
+
director_uuid: (( param "please set director_uuid" ))
|
8
8
|
|
9
|
-
releases: ((
|
9
|
+
releases: (( param "please set release" ))
|
10
10
|
|
11
|
-
jobs: ((
|
11
|
+
jobs: (( param "please set jobs" ))
|
12
12
|
|
13
13
|
compilation:
|
14
14
|
workers: 6
|
15
15
|
network: <%= project_name_underscored %>1
|
16
16
|
reuse_compilation_vms: true
|
17
|
-
cloud_properties: ((
|
17
|
+
cloud_properties: (( param "please set compilation cloud properties" ))
|
18
18
|
|
19
19
|
update:
|
20
20
|
canaries: 1
|
@@ -27,4 +27,4 @@ resource_pools:
|
|
27
27
|
- name: small_z1
|
28
28
|
network: <%= project_name_underscored %>1
|
29
29
|
stemcell: (( grab meta.stemcell ))
|
30
|
-
cloud_properties: ((
|
30
|
+
cloud_properties: (( param "please set resource_pool cloud properties" ))
|
data/lib/bosh/gen/generators/new_release_generator/templates/templates/infrastructure-aws-ec2.yml.tt
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
meta:
|
2
|
-
environment: ((
|
3
|
-
dns_root: ((
|
4
|
-
security_groups: ((
|
2
|
+
environment: (( param "please set meta environment" ))
|
3
|
+
dns_root: (( param "please set meta dns_root" ))
|
4
|
+
security_groups: (( param "please set meta security_groups" ))
|
5
5
|
persistent_disk: 4096
|
6
6
|
|
7
7
|
stemcell:
|
8
|
-
name: bosh-aws-xen-ubuntu
|
8
|
+
name: bosh-aws-xen-hvm-ubuntu-trusty-go_agent
|
9
9
|
version: latest
|
10
10
|
|
11
11
|
jobs:
|
@@ -16,12 +16,12 @@ jobs:
|
|
16
16
|
|
17
17
|
compilation:
|
18
18
|
cloud_properties:
|
19
|
-
instance_type:
|
19
|
+
instance_type: m3.medium
|
20
20
|
|
21
21
|
resource_pools:
|
22
22
|
- name: small_z1
|
23
23
|
cloud_properties:
|
24
|
-
instance_type:
|
24
|
+
instance_type: m3.medium
|
25
25
|
|
26
26
|
networks:
|
27
27
|
- name: floating
|
@@ -16,8 +16,8 @@ jobs:
|
|
16
16
|
instances: 1
|
17
17
|
persistent_disk: 0
|
18
18
|
resource_pool: small_z1
|
19
|
-
networks: ((
|
19
|
+
networks: (( param "please set just_install_package networks" ))
|
20
20
|
|
21
|
-
networks: ((
|
21
|
+
networks: (( param "please set networks" ))
|
22
22
|
|
23
23
|
properties: {}
|
data/lib/bosh/gen/version.rb
CHANGED
@@ -9,7 +9,7 @@ compilation:
|
|
9
9
|
network: default
|
10
10
|
reuse_compilation_vms: true
|
11
11
|
cloud_properties:
|
12
|
-
instance_type:
|
12
|
+
instance_type: m3.medium
|
13
13
|
update:
|
14
14
|
canaries: 1
|
15
15
|
canary_watch_time: 30000
|
@@ -34,7 +34,7 @@ resource_pools:
|
|
34
34
|
name: bosh-stemcell
|
35
35
|
version: latest
|
36
36
|
cloud_properties:
|
37
|
-
instance_type:
|
37
|
+
instance_type: m3.medium
|
38
38
|
persistent_disk: 8196
|
39
39
|
jobs:
|
40
40
|
- name: job-with-ips
|
@@ -9,7 +9,7 @@ compilation:
|
|
9
9
|
network: default
|
10
10
|
reuse_compilation_vms: true
|
11
11
|
cloud_properties:
|
12
|
-
instance_type:
|
12
|
+
instance_type: m3.medium
|
13
13
|
update:
|
14
14
|
canaries: 1
|
15
15
|
canary_watch_time: 30000
|
@@ -34,7 +34,7 @@ resource_pools:
|
|
34
34
|
name: bosh-stemcell
|
35
35
|
version: latest
|
36
36
|
cloud_properties:
|
37
|
-
instance_type:
|
37
|
+
instance_type: m3.medium
|
38
38
|
persistent_disk: 8196
|
39
39
|
jobs:
|
40
40
|
- name: job-with-ips
|
@@ -9,7 +9,7 @@ compilation:
|
|
9
9
|
network: default
|
10
10
|
reuse_compilation_vms: true
|
11
11
|
cloud_properties:
|
12
|
-
instance_type:
|
12
|
+
instance_type: m3.medium
|
13
13
|
update:
|
14
14
|
canaries: 1
|
15
15
|
canary_watch_time: 30000
|
@@ -34,7 +34,7 @@ resource_pools:
|
|
34
34
|
name: bosh-stemcell
|
35
35
|
version: latest
|
36
36
|
cloud_properties:
|
37
|
-
instance_type:
|
37
|
+
instance_type: m3.medium
|
38
38
|
jobs:
|
39
39
|
- name: job-with-ips
|
40
40
|
templates:
|
@@ -5,7 +5,7 @@ meta:
|
|
5
5
|
network_name: (( merge ))
|
6
6
|
|
7
7
|
stemcell:
|
8
|
-
name: bosh-aws-xen-ubuntu
|
8
|
+
name: bosh-aws-xen-hvm-ubuntu-trusty-go_agent
|
9
9
|
version: latest
|
10
10
|
|
11
11
|
jobs:
|
@@ -23,12 +23,12 @@ jobs:
|
|
23
23
|
|
24
24
|
compilation:
|
25
25
|
cloud_properties:
|
26
|
-
instance_type:
|
26
|
+
instance_type: m3.medium
|
27
27
|
|
28
28
|
resource_pools:
|
29
29
|
- name: small_z1
|
30
30
|
cloud_properties:
|
31
|
-
instance_type:
|
31
|
+
instance_type: m3.medium
|
32
32
|
|
33
33
|
networks:
|
34
34
|
- name: floating
|
@@ -5,7 +5,7 @@ describe Bosh::Gen::Models::DeploymentManifest do
|
|
5
5
|
it "creates manifest document with 2 jobs, no disk" do
|
6
6
|
manifest = Bosh::Gen::Models::DeploymentManifest.new("myproj", "UUID",
|
7
7
|
{"name" => "myrelease", "version" => 2},
|
8
|
-
{"instance_type" => "
|
8
|
+
{"instance_type" => "m3.medium", "static_ips" => ['1.2.3.4', '6.7.8.9']}, {})
|
9
9
|
manifest.jobs = [
|
10
10
|
{ "name" => "job-with-ips"},
|
11
11
|
{ "name" => "misc"}
|
@@ -16,7 +16,7 @@ describe Bosh::Gen::Models::DeploymentManifest do
|
|
16
16
|
it "creates manifest document with 2 jobs, with disk" do
|
17
17
|
manifest = Bosh::Gen::Models::DeploymentManifest.new("myproj", "UUID",
|
18
18
|
{"name" => "myrelease", "version" => 2},
|
19
|
-
{"instance_type" => "
|
19
|
+
{"instance_type" => "m3.medium", "persistent_disk" => "8196", "static_ips" => ['1.2.3.4']}, {})
|
20
20
|
manifest.jobs = [
|
21
21
|
{ "name" => "job-with-ips"},
|
22
22
|
{ "name" => "misc"}
|
@@ -26,7 +26,7 @@ describe Bosh::Gen::Models::DeploymentManifest do
|
|
26
26
|
it "creates manifest document with 2 jobs, with disk, numeric in manifest name" do
|
27
27
|
manifest = Bosh::Gen::Models::DeploymentManifest.new("s3test", "UUID",
|
28
28
|
{"name" => "myrelease", "version" => 2},
|
29
|
-
{"instance_type" => "
|
29
|
+
{"instance_type" => "m3.medium", "persistent_disk" => "8196", "static_ips" => ['4.3.2.1']}, {})
|
30
30
|
manifest.jobs = [
|
31
31
|
{ "name" => "job-with-ips"},
|
32
32
|
{ "name" => "misc"}
|