• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xapi-project / xen-api / 15159679474
78%
master: 80%

Build:
Build:
LAST BUILD BRANCH: dev/pau/majmin
DEFAULT BRANCH: master
Ran 21 May 2025 10:22AM UTC
Jobs 1
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 May 2025 10:20AM UTC coverage: 77.719%. Remained the same
15159679474

push

github

web-flow
CP-54275: Add a blocklist mechanism to avoid incorrect/old repo config. (#6475)

This change introduces a new `repository_domain_name_blocklist` that
lists repo URL patterns to be blocked.
On XAPI startup, any exsiting pool repository whose URLs matches an
entry in this blocklist will be automatically removed. This ensures
that, for example, when upgrading from XS8 to XS9, any XS8 repos are
purged.

Additionally, repository creating now check the same blocklist and
rejects any attempt to add a blocked repo.

- On startup: read blocklist, delete matching blocked repos
- On repository creation: validate against blocklist and abort if
matched

Tests:
- Create repo with the blocklist configured

![image](https://github.com/user-attachments/assets/8c77b76e-27ef-4184-b5aa-c68b6ee7b9c4)
- Create repo without the blocklist configured

![image](https://github.com/user-attachments/assets/89cebfb8-431d-4690-a667-9ecad6730ba8)
- With the blocklist, restart xapi and the repo was removed
`[root@eu1-dt013 yum.repos.d]# xe repository-list`

3359 of 4322 relevant lines covered (77.72%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 15159679474.1 21 May 2025 10:22AM UTC 33
77.72
GitHub Action Run
Source Files on build 15159679474
  • Tree
  • List 33
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15159679474
  • 54b66f9e on github
  • Prev Build on gh-readonly-queue/master/pr-6478-3185a434dbd3a524695809b9739ef129aad6b054 (#15138834823)
  • Next Build on gh-readonly-queue/master/pr-6475-76929cac3726de5fd9604d0183b672d690093747 (#15159679363)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc