Skip to content

Commit

Permalink
Deprecate Debian 8 references
Browse files Browse the repository at this point in the history
Debian 8 has reached its end-of-life as of 18th June 2018
at which point it is in the Long-Term Support stage of the
Debian lifecycle (which is best effort). Debian 9 “Stretch”
is the current stable release of Debian.
  • Loading branch information
Temikus committed Jul 11, 2018
1 parent b0e3636 commit 3741053
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/create_instance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test
:name => "fog-smoke-test-#{Time.now.to_i}",
:size_gb => 10,
:zone => "us-central1-f",
:source_image => "debian-8-jessie-v20180329"
:source_image => "debian-9-stretch-v20180611"
)

disk.wait_for { disk.ready? }
Expand Down
2 changes: 1 addition & 1 deletion examples/get_list_images.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test

puts "Fetching a single image from a global project..."
puts "------------------------------------------------"
img = connection.images.get("debian-8-jessie-v20180329")
img = connection.images.get("debian-9-stretch-v20180611")
raise "Could not GET the image" unless img
puts img.inspect

Expand Down
2 changes: 1 addition & 1 deletion examples/load-balance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test
:name => "#{name}-#{i}",
:size_gb => 10,
:zone_name => zone,
:source_image => "debian-8-jessie-v20180329"
:source_image => "debian-9-stretch-v20180611"
)
disk.wait_for { disk.ready? }
rescue
Expand Down
2 changes: 1 addition & 1 deletion examples/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test
:name => name,
:size_gb => 10,
:zone_name => "us-central1-f",
:source_image => "debian-8-jessie-v20180329"
:source_image => "debian-9-stretch-v20180611"
)

disk.wait_for { disk.ready? }
Expand Down
2 changes: 1 addition & 1 deletion examples/network.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test
:name => name,
:size_gb => 10,
:zone_name => "us-central1-a",
:source_image => "debian-8-jessie-v20180329"
:source_image => "debian-9-stretch-v20180611"
)

disk.wait_for { disk.ready? }
Expand Down
2 changes: 1 addition & 1 deletion lib/fog/compute/google/models/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Server < Fog::Compute::Server
# [
# {
# :initialize_params => {
# :source_image => "projects/debian-cloud/global/images/family/debian-8"
# :source_image => "projects/debian-cloud/global/images/family/debian-9"
# }
# }
# ]
Expand Down
2 changes: 1 addition & 1 deletion lib/fog/compute/google/models/servers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def bootstrap(public_key_path: nil, **opts)

if disks.nil? || disks.empty?
# create the persistent boot disk
source_img = service.images.get_from_family("debian-8")
source_img = service.images.get_from_family("debian-9")
disk_defaults = {
:name => name,
:size_gb => 10,
Expand Down
2 changes: 1 addition & 1 deletion lib/fog/compute/google/requests/insert_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def process_network_interfaces(network_interfaces)
# :disks => [
# {
# :initialize_params => {
# :source_image => "projects/debian-cloud/global/images/family/debian-8"
# :source_image => "projects/debian-cloud/global/images/family/debian-9"
# }
# }
# ]
Expand Down
2 changes: 1 addition & 1 deletion test/integration/compute/test_addresses.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_run_instance
:boot => true,
:auto_delete => true,
:initialize_params => {
:source_image => "projects/debian-cloud/global/images/family/debian-8"
:source_image => "projects/debian-cloud/global/images/family/debian-9"
}
],
:external_ip => address.address }
Expand Down

0 comments on commit 3741053

Please sign in to comment.