Commit 9c5426f

Eric Bower  ·  2026-10-03 13:10:55 -0400 EDT
parent 46b836b
chore: dont upload anymore
1 files changed,  +8, -8
+8, -8
......@@ -51,15 +51,15 @@ while read -r old_sha new_sha ref; do
5151 log "repo=$repo type=$event_type name=$ref_name commit=$new_sha"
5252
5353 # upload_base is "host:path", e.g. pgs.sh:/private-ci/myrepo
54- upload_host="${upload_base%%:*}"
55- upload_dir="${upload_base#*:}/${short_sha}/"
56- tar_path="${upload_dir}workspace.tar"
57- log "upload: git archive $new_sha → $upload_host:$tar_path"
54+ # upload_host="${upload_base%%:*}"
55+ # upload_dir="${upload_base#*:}/${short_sha}/"
56+ # tar_path="${upload_dir}workspace.tar"
57+ # log "upload: git archive $new_sha → $upload_host:$tar_path"
5858
59- if ! git archive "$new_sha" | ssh -T "$upload_host" "$tar_path"; then
60- log "ERROR: upload failed" >&2
61- continue
62- fi
59+ # if ! git archive "$new_sha" | ssh -T "$upload_host" "$tar_path"; then
60+ # log "ERROR: upload failed" >&2
61+ # continue
62+ # fi
6363
6464 workspace="${upload_host}:${tar_path}"
6565 artifact_dest="${upload_host}:${upload_dir}"