Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ This file is used to list changes made in each version of the AWS ParallelCluste
3.12.0
------

**ENHANCEMENTS**
- Extend Amazon DCV support to Ubuntu2204 on ARM instances.

**CHANGES**
- Upgrade mysql-community-client to version 8.0.39.
- Upgrade Amazon DCV to version `2024.0-18131`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ def dcv_sha256sum
# Ubuntu20 supports DCV on x86
'cf63d51a5bb7ac82569d747215c0118a7468a32c753c0b0fa9c1cf47513c0a0c'
end

def dcv_supported?
!arm_instance?
end
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
use 'partial/_ubuntu_common'

def dcv_sha256sum
# Ubuntu22 supports DCV on x86
'b30a57f5029b9d8acb59db9fc72f1dbc7c6a33d76dbbfe02017cec553c5b86f9'
if arm_instance?
'48bb605dbb5f28af79b94de9239a8c3e7811e9e47078d8985d036915f2a34217'
else
'b30a57f5029b9d8acb59db9fc72f1dbc7c6a33d76dbbfe02017cec553c5b86f9'
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ def dcv_gl
"/nice-dcv-gl_#{node['cluster']['dcv']['gl']['version']}_#{dcv_pkg_arch}.#{node['cluster']['base_os']}.deb"
end

def dcv_supported?
!arm_instance?
end

action_class do
def pre_install
apt_update
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def self.nothing(chef_run)
allow_any_instance_of(Object).to receive(:arm_instance?).and_return(true)
end

if platform == 'ubuntu' && version.to_i >= 20
if platform == 'ubuntu' && version.to_i == 20
it "is false" do
expect(resource.dcv_supported?).to eq(false)
end
Expand Down
Loading