From 03b53aad43539608c212dd068c84ae75c511f297 Mon Sep 17 00:00:00 2001 From: Artur Trzop Date: Wed, 10 Jul 2024 15:22:43 +0200 Subject: [PATCH] Create knapsack_pro_queue_rspec_new_build_with_retry --- .../knapsack_pro_queue_rspec_new_build_with_retry | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bin/record_many_nodes/knapsack_pro_queue_rspec_new_build_with_retry diff --git a/bin/record_many_nodes/knapsack_pro_queue_rspec_new_build_with_retry b/bin/record_many_nodes/knapsack_pro_queue_rspec_new_build_with_retry new file mode 100755 index 0000000..f4cc24d --- /dev/null +++ b/bin/record_many_nodes/knapsack_pro_queue_rspec_new_build_with_retry @@ -0,0 +1,11 @@ +#!/bin/bash + +CI_BUILD_ID=$(openssl rand -base64 32) +COMMIT_HASH=$(ruby -e "require 'securerandom'; puts SecureRandom.hex") + +bin/knapsack_pro_queue_rspec_record_first_run 0 3 $COMMIT_HASH $CI_BUILD_ID & +sleep 1 +bin/knapsack_pro_queue_rspec_record_first_run 1 3 $COMMIT_HASH $CI_BUILD_ID & +sleep 2 +bin/knapsack_pro_queue_rspec_record_first_run 2 3 $COMMIT_HASH $CI_BUILD_ID +bin/knapsack_pro_queue_rspec_record_first_run 2 3 $COMMIT_HASH $CI_BUILD_ID