Merge "Update to python3.10"
This commit is contained in:
commit
bd6f610113
29
.zuul.yaml
29
.zuul.yaml
@ -9,6 +9,7 @@
|
|||||||
- zuul/nodepool
|
- zuul/nodepool
|
||||||
vars:
|
vars:
|
||||||
minikube_version: v1.25.2 # NOTE(corvus): https://github.com/kubernetes/minikube/issues/14403 https://github.com/kubernetes/minikube/issues/14397
|
minikube_version: v1.25.2 # NOTE(corvus): https://github.com/kubernetes/minikube/issues/14403 https://github.com/kubernetes/minikube/issues/14397
|
||||||
|
nodeset: ubuntu-jammy
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
description: |
|
description: |
|
||||||
@ -51,8 +52,8 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
- opendev-buildset-registry
|
- opendev-buildset-registry
|
||||||
requires:
|
requires:
|
||||||
- python-builder-3.9-bullseye-container-image
|
- python-builder-3.10-bullseye-container-image
|
||||||
- python-base-3.9-bullseye-container-image
|
- python-base-3.10-bullseye-container-image
|
||||||
provides: nodepool-container-image
|
provides: nodepool-container-image
|
||||||
vars: &nodepool_image_vars
|
vars: &nodepool_image_vars
|
||||||
docker_images:
|
docker_images:
|
||||||
@ -87,8 +88,8 @@
|
|||||||
description: Build Docker images and upload to Docker Hub.
|
description: Build Docker images and upload to Docker Hub.
|
||||||
timeout: *image_build_timeout
|
timeout: *image_build_timeout
|
||||||
requires:
|
requires:
|
||||||
- python-builder-3.9-bullseye-container-image
|
- python-builder-3.10-bullseye-container-image
|
||||||
- python-base-3.9-bullseye-container-image
|
- python-base-3.10-bullseye-container-image
|
||||||
provides: nodepool-container-image
|
provides: nodepool-container-image
|
||||||
vars: *nodepool_image_vars
|
vars: *nodepool_image_vars
|
||||||
secrets:
|
secrets:
|
||||||
@ -117,8 +118,8 @@
|
|||||||
- zuul/nodepool
|
- zuul/nodepool
|
||||||
- openstack/diskimage-builder
|
- openstack/diskimage-builder
|
||||||
requires:
|
requires:
|
||||||
- python-builder-3.9-bullseye-container-image
|
- python-builder-3.10-bullseye-container-image
|
||||||
- python-base-3.9-bullseye-container-image
|
- python-base-3.10-bullseye-container-image
|
||||||
provides: nodepool-siblings-container-image
|
provides: nodepool-siblings-container-image
|
||||||
vars:
|
vars:
|
||||||
zuul_work_dir: "{{ zuul.projects['opendev.org/zuul/nodepool'].src_dir }}"
|
zuul_work_dir: "{{ zuul.projects['opendev.org/zuul/nodepool'].src_dir }}"
|
||||||
@ -164,6 +165,7 @@
|
|||||||
vars:
|
vars:
|
||||||
zuul_copy_output:
|
zuul_copy_output:
|
||||||
/var/log/nodepool: logs
|
/var/log/nodepool: logs
|
||||||
|
nodeset: ubuntu-jammy
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: nodepool-functional-container-openstack-release-base
|
name: nodepool-functional-container-openstack-release-base
|
||||||
@ -243,12 +245,13 @@
|
|||||||
NODEPOOL_ZK_KEY: /opt/zookeeper/ca/keys/clientkey.pem
|
NODEPOOL_ZK_KEY: /opt/zookeeper/ca/keys/clientkey.pem
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: nodepool-tox-py39
|
name: nodepool-tox-py310
|
||||||
description: |
|
description: |
|
||||||
Nodepool unit tests with ZooKeeper running
|
Nodepool unit tests with ZooKeeper running
|
||||||
parent: tox-py39
|
parent: tox-py310
|
||||||
pre-run: playbooks/nodepool-tox/pre.yaml
|
pre-run: playbooks/nodepool-tox/pre.yaml
|
||||||
vars: *nodepool_tox_vars
|
vars: *nodepool_tox_vars
|
||||||
|
nodeset: ubuntu-jammy
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
vars:
|
vars:
|
||||||
@ -258,9 +261,10 @@
|
|||||||
- opendev-buildset-registry
|
- opendev-buildset-registry
|
||||||
- nodepool-build-image
|
- nodepool-build-image
|
||||||
- zuul-tox-docs
|
- zuul-tox-docs
|
||||||
- tox-pep8
|
- tox-pep8:
|
||||||
|
nodeset: ubuntu-jammy
|
||||||
- nodepool-tox-py38
|
- nodepool-tox-py38
|
||||||
- nodepool-tox-py39
|
- nodepool-tox-py310
|
||||||
- nodepool-functional-container-openstack-release
|
- nodepool-functional-container-openstack-release
|
||||||
- nodepool-functional-k8s
|
- nodepool-functional-k8s
|
||||||
- nodepool-functional-openshift
|
- nodepool-functional-openshift
|
||||||
@ -272,9 +276,10 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- nodepool-upload-image
|
- nodepool-upload-image
|
||||||
- zuul-tox-docs
|
- zuul-tox-docs
|
||||||
- tox-pep8
|
- tox-pep8:
|
||||||
|
nodeset: ubuntu-jammy
|
||||||
- nodepool-tox-py38
|
- nodepool-tox-py38
|
||||||
- nodepool-tox-py39
|
- nodepool-tox-py310
|
||||||
- nodepool-functional-k8s
|
- nodepool-functional-k8s
|
||||||
- nodepool-functional-openshift
|
- nodepool-functional-openshift
|
||||||
- zuul-quick-start:
|
- zuul-quick-start:
|
||||||
|
@ -13,19 +13,14 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM docker.io/opendevorg/python-builder:3.9-bullseye as builder
|
FROM docker.io/opendevorg/python-builder:3.10-bullseye as builder
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|
||||||
ARG ZUUL_SIBLINGS=""
|
ARG ZUUL_SIBLINGS=""
|
||||||
COPY . /tmp/src
|
COPY . /tmp/src
|
||||||
RUN if [ `uname -m` = "aarch64" ] ; then \
|
|
||||||
echo "Installing arm64 pip.conf" ; \
|
|
||||||
cp /tmp/src/tools/pip.conf.arm64 /etc/pip.conf ; \
|
|
||||||
cp /tmp/src/tools/pip.conf.arm64 /output/pip.conf ; \
|
|
||||||
fi
|
|
||||||
RUN assemble
|
RUN assemble
|
||||||
|
|
||||||
FROM docker.io/opendevorg/python-base:3.9-bullseye as nodepool-base
|
FROM docker.io/opendevorg/python-base:3.10-bullseye as nodepool-base
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|
||||||
COPY --from=builder /output/ /output
|
COPY --from=builder /output/ /output
|
||||||
|
@ -5,8 +5,9 @@ gcc [compile test]
|
|||||||
libc6-dev [compile test platform:dpkg]
|
libc6-dev [compile test platform:dpkg]
|
||||||
libffi-dev [compile test platform:dpkg platform:apk]
|
libffi-dev [compile test platform:dpkg platform:apk]
|
||||||
libffi [platform:apk]
|
libffi [platform:apk]
|
||||||
|
libffi8 [platform:ubuntu-jammy]
|
||||||
libffi7 [platform:ubuntu-focal platform:debian-bullseye]
|
libffi7 [platform:ubuntu-focal platform:debian-bullseye]
|
||||||
libffi6 [platform:dpkg !platform:ubuntu-focal !platform:debian-bullseye]
|
libffi6 [platform:dpkg !platform:ubuntu-focal !platform:ubuntu-jammy !platform:debian-bullseye]
|
||||||
libffi-devel [compile test platform:rpm]
|
libffi-devel [compile test platform:rpm]
|
||||||
libressl-dev [compile test platform:apk]
|
libressl-dev [compile test platform:apk]
|
||||||
libssl-dev [compile test platform:dpkg]
|
libssl-dev [compile test platform:dpkg]
|
||||||
|
@ -16,6 +16,7 @@ classifier =
|
|||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
Programming Language :: Python :: 3.8
|
Programming Language :: Python :: 3.8
|
||||||
Programming Language :: Python :: 3.9
|
Programming Language :: Python :: 3.9
|
||||||
|
Programming Language :: Python :: 3.10
|
||||||
|
|
||||||
[pbr]
|
[pbr]
|
||||||
warnerrors = True
|
warnerrors = True
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
[global]
|
|
||||||
extra-index-url = https://mirror.dfw.rax.opendev.org/wheel/debian-11-aarch64/
|
|
||||||
|
|
||||||
[install]
|
|
||||||
prefer-binary = true
|
|
Loading…
Reference in New Issue
Block a user