Merge "Build nodepool with python3.8"

This commit is contained in:
Zuul 2020-05-06 23:09:33 +00:00 committed by Gerrit Code Review
commit 30c1ccb882
2 changed files with 8 additions and 8 deletions

View File

@ -154,8 +154,8 @@
dependencies:
- opendev-buildset-registry
requires:
- python-builder-3.7-container-image
- python-base-3.7-container-image
- python-builder-3.8-container-image
- python-base-3.8-container-image
provides: nodepool-container-image
vars: &nodepool_image_vars
docker_images:
@ -183,8 +183,8 @@
parent: opendev-upload-docker-image
description: Build Docker images and upload to Docker Hub.
requires:
- python-builder-3.7-container-image
- python-base-3.7-container-image
- python-builder-3.8-container-image
- python-base-3.8-container-image
provides: nodepool-container-image
vars: *nodepool_image_vars
secrets:
@ -214,8 +214,8 @@
- openstack/diskimage-builder
- openstack/openstacksdk
requires:
- python-builder-3.7-container-image
- python-base-3.7-container-image
- python-builder-3.8-container-image
- python-base-3.8-container-image
provides: nodepool-siblings-container-image
vars:
zuul_work_dir: "{{ zuul.projects['opendev.org/zuul/nodepool'].src_dir }}"

View File

@ -13,14 +13,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM docker.io/opendevorg/python-builder:3.7 as builder
FROM docker.io/opendevorg/python-builder:3.8 as builder
# ============================================================================
ARG ZUUL_SIBLINGS=""
COPY . /tmp/src
RUN assemble
FROM docker.io/opendevorg/python-base:3.7 as nodepool-base
FROM docker.io/opendevorg/python-base:3.8 as nodepool-base
# ============================================================================
COPY --from=builder /output/ /output