Skip to content

Commit

Permalink
Merge pull request #265 from DataDog/anmarchenko/remove_circle_ci
Browse files Browse the repository at this point in the history
[SDTEST-1297] remove circle ci jobs
  • Loading branch information
anmarchenko authored Dec 5, 2024
2 parents 320605e + a66e849 commit 8174017
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 302 deletions.
290 changes: 0 additions & 290 deletions .circleci/config.yml

This file was deleted.

1 change: 0 additions & 1 deletion .circleci/images/primary/binary_version

This file was deleted.

12 changes: 1 addition & 11 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,7 @@ namespace :test do
end

command = "#{command} '[#{spec_arguments}]'" if spec_arguments

total_executors = ENV.key?("CIRCLE_NODE_TOTAL") ? ENV["CIRCLE_NODE_TOTAL"].to_i : nil
current_executor = ENV.key?("CIRCLE_NODE_INDEX") ? ENV["CIRCLE_NODE_INDEX"].to_i : nil

if total_executors && current_executor && total_executors > 1
@execution_count ||= 0
@execution_count += 1
sh(command) if @execution_count % total_executors == current_executor
else
sh(command)
end
sh(command)
end
end
end
Expand Down

0 comments on commit 8174017

Please sign in to comment.