comparison mrjunejune/deploy.sh @ 268:f7b1188d5fb1

support repo rules Copilot bundle path Match both +_repo_rules2+ and +http_archive+ Copilot CLI repository layouts during deployment and production startup. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Fri, 07 Aug 2026 13:02:41 -0700
parents a78f5986011f
children de291f396881
comparison
equal deleted inserted replaced
267:a78f5986011f 268:f7b1188d5fb1
19 "$staging/mrjunejune/production_entrypoint.sh" \ 19 "$staging/mrjunejune/production_entrypoint.sh" \
20 "$staging/mrjunejune_server" 20 "$staging/mrjunejune_server"
21 21
22 copilot_cli="$( 22 copilot_cli="$(
23 sudo find -L "$staging" -type f \ 23 sudo find -L "$staging" -type f \
24 -path '*/copilot_cli_linux_x86_64/copilot' -print -quit 24 \( \
25 -path '*+_repo_rules2+copilot_cli_linux_x86_64/copilot' -o \
26 -path '*+http_archive+copilot_cli_linux_x86_64/copilot' \
27 \) -print -quit
25 )" 28 )"
26 python_runtime="$( 29 python_runtime="$(
27 sudo find -L "$staging" -type f \ 30 sudo find -L "$staging" -type f \
28 -path '*/rules_python++python+python_3_11_x86_64-unknown-linux-gnu/bin/python3' \ 31 -path '*/rules_python++python+python_3_11_x86_64-unknown-linux-gnu/bin/python3' \
29 -print -quit 32 -print -quit