]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
script: ignore main branch when cleaning ci 63221/head
authorPatrick Donnelly <pdonnell@ibm.com>
Mon, 12 May 2025 01:41:41 +0000 (21:41 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 12 May 2025 01:42:13 +0000 (21:42 -0400)
commit4ed4bdcc38355f42cca14f20794ab70010e9f125
treeac5db142341caeaf94c28f26b84d1c925e013bb7
parentf54e6e2c324435b2ca2ee05635c722e2ea851672
script: ignore main branch when cleaning ci

Addresses failures like:

     Deleting refs: refs/heads/main refs/heads/wip-athakkar-testing-2025-02-11-1344 refs/heads/wip-choffman-fscrypt-021225 refs/heads/wip-dang-68336 refs/heads/wip-leonidc-7_1_hotfix refs/heads/wip-nia-testing-2025-02-12-0101 refs/heads/wip-nitzan-gil-perf-count-and-contention-detect refs/heads/wip-rf-perf-sections refs/heads/wip-sseshasa-test-stuck-backfill-squid-feb11-2024 refs/heads/wip-sseshasa-test-stuck-backfill-squid-feb12-2024 refs/heads/wip-yuri8-testing-2025-02-10-2350
    To https://github.com/ceph/ceph-ci
     - [deleted]           wip-athakkar-testing-2025-02-11-1344
     - [deleted]           wip-choffman-fscrypt-021225
     - [deleted]           wip-dang-68336
     - [deleted]           wip-leonidc-7_1_hotfix
     - [deleted]           wip-nia-testing-2025-02-12-0101
     - [deleted]           wip-nitzan-gil-perf-count-and-contention-detect
     - [deleted]           wip-rf-perf-sections
     - [deleted]           wip-sseshasa-test-stuck-backfill-squid-feb11-2024
     - [deleted]           wip-sseshasa-test-stuck-backfill-squid-feb12-2024
     - [deleted]           wip-yuri8-testing-2025-02-10-2350
     ! [remote rejected]   main (refusing to delete the current branch: refs/heads/main)
    error: failed to push some refs to 'https://github.com/ceph/ceph-ci'
    Error: Process completed with exit code 1.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/script/clean-ci