Commit 22a6de5
committed
isolate concurrent CI runs on shared real buckets via GITHUB_RUN_ID
Three concurrent Test (1.26, 25.8) jobs (master push + PR runs) shared the
same remote path backup/{cluster}/{shard}/{version} and deleted each other's
fixed-name test_rebase_gcs_* backups mid-test, see
https://github.com/Altinity/clickhouse-backup/actions/runs/29487098583/job/87610918468
- append GITHUB_RUN_ID to the {version} macro (writeMacrosVersionXML), so
every integration config path/object_disk_path is unique per workflow run
- testflows: storage_prefix includes GITHUB_RUN_ID (pid is not unique
across runners)
- disk_cos endpoint gets ${HOSTNAME} like disk_gcs already had
- ReadBackupMetadataRemote returns an explicit error for Broken backups
instead of an empty BackupMetadata that produced the confusing
"required backup ... has data_format=" error1 parent 9ff52c1 commit 22a6de5
4 files changed
Lines changed: 16 additions & 2 deletions
File tree
- pkg/backup
- test
- integration
- configs
- testflows/clickhouse_backup
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1831 | 1831 | | |
1832 | 1832 | | |
1833 | 1833 | | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
1834 | 1840 | | |
1835 | 1841 | | |
1836 | 1842 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1093 | 1093 | | |
1094 | 1094 | | |
1095 | 1095 | | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
1096 | 1099 | | |
1097 | 1100 | | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
1098 | 1104 | | |
1099 | 1105 | | |
1100 | 1106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
0 commit comments