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 | |
| 51 | 51 | log "repo=$repo type=$event_type name=$ref_name commit=$new_sha" | |
| 52 | 52 | ||
| 53 | 53 | # 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" | |
| 58 | 58 | ||
| 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 | |
| 63 | 63 | ||
| 64 | 64 | workspace="${upload_host}:${tar_path}" | |
| 65 | 65 | artifact_dest="${upload_host}:${upload_dir}" |