Bandersnatch and pypi have a failure case where uploading two files to
pypi very closely to each other results in bandersnatch thinking it has
synced serial X+1 which includes both the sdist and wheel but it really
has only synced serial X. But since X+1 is what bandersnatch thinks it
has done it will never sync the actual contents of the X+1 serial (the
second file uploaded).
To make matters worse the index.html for the project is synced assuming
both artifacts at serial X+1 were synced. This means any fetches for the
second artifact fail.
We can work around this by always uploading the wheel first. Pip prefers
wheels to sdists so uploading the wheel first ensures that the wheel is
synced properly, pip will prefer it, and our jobs should continue
running.
Eventually upstream pypi and bandersnatch will need to fix this bugs
properly but this is a reasonable thing we can do locally.
Change-Id: I26062b9fefa5ce484b63e2d0ee02e0ecbe64555f
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.
Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3