Merge "Publish manylinux wheels"
This commit is contained in:
commit
da9381ce60
10
.zuul.yaml
10
.zuul.yaml
@ -8,6 +8,10 @@
|
||||
- pyeclib-build-wheels
|
||||
- pyeclib-build-wheels-arm64
|
||||
- test-release-openstack: &release_overrides
|
||||
dependencies:
|
||||
- pyeclib-build-wheels
|
||||
- pyeclib-build-wheels-arm64
|
||||
pre-run: tools/playbooks/release-wheel/download-artifacts.yaml
|
||||
vars:
|
||||
build_wheel: false
|
||||
- openstack-tox-py35: &py35_overrides
|
||||
@ -29,6 +33,8 @@
|
||||
- libec-pyeclib-unit-centos-9-stream
|
||||
gate:
|
||||
jobs:
|
||||
- pyeclib-build-wheels
|
||||
- pyeclib-build-wheels-arm64
|
||||
- test-release-openstack: *release_overrides
|
||||
- openstack-tox-py35: *py35_overrides
|
||||
- openstack-tox-py36
|
||||
@ -43,9 +49,13 @@
|
||||
- libec-pyeclib-unit-centos-9-stream
|
||||
pre-release:
|
||||
jobs:
|
||||
- pyeclib-build-wheels
|
||||
- pyeclib-build-wheels-arm64
|
||||
- release-openstack-python: *release_overrides
|
||||
release:
|
||||
jobs:
|
||||
- pyeclib-build-wheels
|
||||
- pyeclib-build-wheels-arm64
|
||||
- release-openstack-python: *release_overrides
|
||||
|
||||
- job:
|
||||
|
@ -2,9 +2,9 @@ PyEClib
|
||||
-------
|
||||
|
||||
This library provides a simple Python interface for implementing erasure codes
|
||||
and is known to work with Python v2.6, 2.7 and 3.x. To obtain the best possible
|
||||
performance, the library utilizes liberasurecode, which is a C based erasure
|
||||
code library.
|
||||
and is known to work with Python 2.7 and 3.5 through 3.12. To obtain the best
|
||||
possible performance, the library utilizes liberasurecode, which is a C based
|
||||
erasure code library.
|
||||
|
||||
PyECLib supports a variety of Erasure Coding backends including the standard
|
||||
Reed-Solomon implementations provided by Jerasure [1], liberasurecode [3],
|
||||
@ -23,7 +23,7 @@ Installation
|
||||
|
||||
Install pre-requisites:
|
||||
|
||||
* Python 2.6, 2.7 or 3.x (including development packages), argparse, setuptools
|
||||
* Python 2.7 or 3.5+ (including development packages), argparse, setuptools
|
||||
* liberasurecode v1.4.0 or greater [3]
|
||||
* Erasure code backend libraries, gf-complete and Jerasure [1],[2], ISA-L [4], etc
|
||||
|
||||
|
22
tools/playbooks/release-wheel/download-artifacts.yaml
Normal file
22
tools/playbooks/release-wheel/download-artifacts.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Create dist dir
|
||||
file:
|
||||
path: "{{ zuul.project.src_dir }}/dist"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: Fetch built wheels
|
||||
get_url:
|
||||
url: "{{ zj_artifact.url }}"
|
||||
dest: "{{ zuul.project.src_dir }}/dist/{{ zj_artifact.url.rstrip('/') | basename }}"
|
||||
when:
|
||||
# Be a little defensive
|
||||
- zj_artifact.project == zuul.project.name
|
||||
- zj_artifact.metadata is defined
|
||||
- zj_artifact.metadata.type is defined
|
||||
- zj_artifact.metadata.type == "python_wheel"
|
||||
loop: "{{ zuul.artifacts }}"
|
||||
loop_control:
|
||||
loop_var: zj_artifact
|
Loading…
x
Reference in New Issue
Block a user