scripts: publish unified Agent artifacts and restore CI coverage [CI]
Remove Probe build jobs and release paths. Transfer Gitea publishing credentials to both Agent architecture jobs, publish each platform archive once, and run slow tests after development images are published.
This commit is contained in:
1 parent
c9beeee8e3
commit
4515d7b075
14 files changed
+52
-179
No files matched your search
@@ -1,31 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Publish Agent and Probe multi-architecture indexes concurrently in one CI step.
|
||||
# Publish the unified Agent multi-architecture index.
|
||||
set -euo pipefail
|
||||
|
||||
root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
publish_pids=()
|
||||
|
||||
cancel_publishers() {
|
||||
local pid
|
||||
trap - TERM INT HUP
|
||||
for pid in "${publish_pids[@]}"; do
|
||||
kill -TERM "$pid" 2>/dev/null || true
|
||||
done
|
||||
for pid in "${publish_pids[@]}"; do
|
||||
wait "$pid" 2>/dev/null || true
|
||||
done
|
||||
exit 143
|
||||
}
|
||||
trap cancel_publishers TERM INT HUP
|
||||
|
||||
for component in agent probe; do
|
||||
python3 "$root/ci/run-with-timeout.py" 900 \
|
||||
bash "$root/ci/publish-dev-node-index.sh" "$component" &
|
||||
publish_pids+=("$!")
|
||||
done
|
||||
|
||||
publish_status=0
|
||||
for pid in "${publish_pids[@]}"; do
|
||||
wait "$pid" || publish_status=1
|
||||
done
|
||||
exit "$publish_status"
|
||||
exec python3 "$root/ci/run-with-timeout.py" 900 bash "$root/ci/publish-dev-node-index.sh" agent
|
||||
Reference in new issue
Block a user