Loading ci_cd/problem3.yml +4 −2 Original line number Diff line number Diff line Loading @@ -172,8 +172,10 @@ compete_all_players: - git clone https://trachten-gitlab:${HW_INTERNAL_WRITE}@agile.bu.edu/gitlab/ec330/ec330_staff/homeworks_internal/hw8_ec.git hw8_ec - cd hw8_ec - | NAMES=("AbAlmasri" "AndrewAmona" "AnthonyAparicio" "PeterCarr" "SusanChen" "EthanChin" "YechanCho" "MitchellFreitas" "DavidGao" "PranayaGovindaraj" "AliceHope" "ParthKheni" "LoganKidd" "AryanKumar" "AustinLi" "CalvinLi" "JasmineLi" "JavinLi" "ShiqiLin" "QuanLy" "AdamMhal" "JoonseoMoon" "ChiNguyen" "JoeNguyen" "NidhiPrasad" "SophiaPutermanGhitelman" "PratiushRegmi" "JohnRossi" "LaytonSahler" "EthanShan" "DylanSheehan" "CalvinSilver" "KristaSmith" "MathisSouefMyers" "JacquelineTran" "MaxWang" "TimothyWright" "EricYang" "JacobYen" "OwenZhang" "BrianZhao" "Ec330Student") # Collect subdirectory names under Players/ mapfile -t NAMES < <( find Players -mindepth 1 -maxdepth 1 -type d -printf '%f\n' ) readarray -t PICKED < <(printf "%s\n" "${NAMES[@]}" | shuf -n 2) WHITE_PLAYER=${PICKED[0]} Loading Loading
ci_cd/problem3.yml +4 −2 Original line number Diff line number Diff line Loading @@ -172,8 +172,10 @@ compete_all_players: - git clone https://trachten-gitlab:${HW_INTERNAL_WRITE}@agile.bu.edu/gitlab/ec330/ec330_staff/homeworks_internal/hw8_ec.git hw8_ec - cd hw8_ec - | NAMES=("AbAlmasri" "AndrewAmona" "AnthonyAparicio" "PeterCarr" "SusanChen" "EthanChin" "YechanCho" "MitchellFreitas" "DavidGao" "PranayaGovindaraj" "AliceHope" "ParthKheni" "LoganKidd" "AryanKumar" "AustinLi" "CalvinLi" "JasmineLi" "JavinLi" "ShiqiLin" "QuanLy" "AdamMhal" "JoonseoMoon" "ChiNguyen" "JoeNguyen" "NidhiPrasad" "SophiaPutermanGhitelman" "PratiushRegmi" "JohnRossi" "LaytonSahler" "EthanShan" "DylanSheehan" "CalvinSilver" "KristaSmith" "MathisSouefMyers" "JacquelineTran" "MaxWang" "TimothyWright" "EricYang" "JacobYen" "OwenZhang" "BrianZhao" "Ec330Student") # Collect subdirectory names under Players/ mapfile -t NAMES < <( find Players -mindepth 1 -maxdepth 1 -type d -printf '%f\n' ) readarray -t PICKED < <(printf "%s\n" "${NAMES[@]}" | shuf -n 2) WHITE_PLAYER=${PICKED[0]} Loading