Skip to content
Merged
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
5 changes: 4 additions & 1 deletion tasks/build.rake
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ namespace :vox do

libs_to_build_manually.each do |lib, config|
puts "Checking out #{lib}"
run_command("git clone -b #{config[:branch]} #{config[:repo]} #{deps_tmp}/#{lib}", silent: false, print_command: true)
# to be able to checkout github refs, e.g. 66/merge, we need to do an explicit fetch
# this allows us to test on branches from pull requests
# we can probably switch to git clone --revision $ref $url in the future, but that requires a newer git. EL9 is too old
run_command("git clone --no-checkout #{config[:repo]} #{deps_tmp}/#{lib}; cd #{deps_tmp}/#{lib}; git fetch origin #{config[:branch]}; git checkout FETCH_HEAD", silent: false, print_command: true)
end

puts "Starting container"
Expand Down
Loading