Skip to content

Commit

Permalink
(PA-6367) Update task_acceptance for Fedora 40 x86_64
Browse files Browse the repository at this point in the history
 Added fedora-40 to 'latest_platform_list' method so that it considers builds from nightlies with the 'latest' tag since the versioned release package won't be available for fedora-40 yet given its a new platform we're just introducing.
 Also set 'multiple_puppet7_version' to false for the case of fedora-40 because we would only have just one puppet7 release initially.
  • Loading branch information
shubhamshinde360 committed Jun 28, 2024
1 parent 3ce04a2 commit c9bd350
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions task_spec/spec/acceptance/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ def log_output_errors(result)
# used for target_platform, which will use latest puppet_agent
# in below mentioned test spec
def latest_platform_list
%r{ubuntu-24}
%r{
ubuntu-24|
fedora-40
}x
end

it 'works with version and install tasks' do
Expand Down Expand Up @@ -104,7 +107,7 @@ def latest_platform_list
# true
# end
multiple_puppet7_versions = case target_platform
when %r{el-9-ppc64le|amazon-2|ubuntu-24}
when %r{el-9-ppc64le|amazon-2|ubuntu-24|fedora-40}
false
else
true
Expand Down

0 comments on commit c9bd350

Please sign in to comment.