Wrap charts release inside rescue block

Signed-off-by: Balasankar "Balu" C's avatarBalasankar "Balu" C <balasankar@gitlab.com>
parent ead32103
......@@ -214,7 +214,13 @@ task :publish, [:version] do |_t, args|
.execute
# Tag the Helm chart
Rake::Task['helm:tag_chart'].invoke(nil, version.to_ce)
begin
Rake::Task['helm:tag_chart'].invoke(nil, version.to_ce)
rescue StandardError => ex
$stderr.puts "Exception raised during Helm charts release."
$stderr.puts ex.message
$stderr.puts ex.backtrace
end
end
# Undocumented; executed via CI schedule
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment