[CI] Add no-infra-wheels jobs
Since Kolla is run in the wild against PyPI mirrors which do not include the OpenDev-provided wheels, it might be nice to be able to test these scenarios in the CI. These jobs are added to the experimental queue so that they do not consume resources when not needed. Any Gerrit user may run them now to verify whether the change passes them. Change-Id: I9c33eeaf03be037651f82c831f0e07ab9a27752a
This commit is contained in:
parent
6319bc6f55
commit
1ef537d65d
|
@ -90,3 +90,9 @@
|
|||
kolla_logs_dir: "{{ zuul_output_dir }}/logs/kolla"
|
||||
kolla_build_logs_dir: "{{ kolla_logs_dir }}/build"
|
||||
virtualenv_path: "/tmp/kolla-virtualenv"
|
||||
|
||||
- job:
|
||||
name: kolla-build-no-infra-wheels-base
|
||||
parent: kolla-base
|
||||
vars:
|
||||
use_infra_wheels_mirror: false
|
||||
|
|
|
@ -57,6 +57,9 @@
|
|||
jobs:
|
||||
- kolla-publish-centos8-source
|
||||
- kolla-publish-centos8-binary
|
||||
experimental:
|
||||
jobs:
|
||||
- kolla-build-no-infra-wheels-centos8-source
|
||||
|
||||
- job:
|
||||
name: kolla-build-centos8-binary
|
||||
|
@ -98,3 +101,11 @@
|
|||
publisher: true
|
||||
secrets:
|
||||
- kolla_dockerhub_creds
|
||||
|
||||
- job:
|
||||
name: kolla-build-no-infra-wheels-centos8-source
|
||||
parent: kolla-build-no-infra-wheels-base
|
||||
nodeset: kolla-centos8
|
||||
vars:
|
||||
base_distro: centos
|
||||
install_type: source
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
- kolla-publish-debian-source
|
||||
- kolla-publish-debian-source-aarch64
|
||||
- kolla-publish-debian-binary
|
||||
experimental:
|
||||
jobs:
|
||||
- kolla-build-no-infra-wheels-debian-source
|
||||
|
||||
- job:
|
||||
name: kolla-build-debian-source
|
||||
|
@ -64,3 +67,11 @@
|
|||
name: kolla-publish-debian-source-aarch64
|
||||
parent: kolla-publish-debian-source
|
||||
nodeset: kolla-debian-buster-aarch64
|
||||
|
||||
- job:
|
||||
name: kolla-build-no-infra-wheels-debian-source
|
||||
parent: kolla-build-no-infra-wheels-base
|
||||
nodeset: kolla-debian-buster
|
||||
vars:
|
||||
base_distro: debian
|
||||
install_type: source
|
||||
|
|
|
@ -79,6 +79,9 @@
|
|||
jobs:
|
||||
- kolla-publish-ubuntu-source
|
||||
- kolla-publish-ubuntu-binary
|
||||
experimental:
|
||||
jobs:
|
||||
- kolla-build-no-infra-wheels-ubuntu-source
|
||||
|
||||
- job:
|
||||
name: kolla-build-ubuntu-binary
|
||||
|
@ -120,3 +123,11 @@
|
|||
publisher: true
|
||||
secrets:
|
||||
- kolla_dockerhub_creds
|
||||
|
||||
- job:
|
||||
name: kolla-build-no-infra-wheels-ubuntu-source
|
||||
parent: kolla-build-no-infra-wheels-base
|
||||
nodeset: kolla-ubuntu-focal
|
||||
vars:
|
||||
base_distro: ubuntu
|
||||
install_type: source
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
|
||||
ENV PIP_INDEX_URL {{ nodepool_pypi_mirror }}
|
||||
ENV PIP_TRUSTED_HOST {{ nodepool_mirror_host }}
|
||||
{% if use_infra_wheels_mirror | default(true) %}
|
||||
ENV PIP_EXTRA_INDEX_URL {{ nodepool_wheel_mirror }}
|
||||
{% endif %}
|
||||
|
||||
RUN echo registry={{ nodepool_npmjs_proxy }} > /etc/npmrc \
|
||||
&& mkdir -p /usr/etc \
|
||||
|
|
Loading…
Reference in New Issue