Start building py3 docker images

Change-Id: Id6f1075b2774536bb095de0904a1cdcf2b34b0fd
This commit is contained in:
Thiago da Silva 2019-10-03 17:05:23 +02:00
parent 8a4becb12f
commit 3f7ffbc2cc

View File

@ -424,6 +424,41 @@
pass-to-parent: true
vars: *swift_image_vars
- job:
name: swift-build-image-py3
parent: opendev-build-docker-image
voting: false
description: Build py3 SAIO docker images.
vars: &swift_image_vars_py3
docker_images:
- context: .
dockerfile: Dockerfile-py3
repository: openstackswift/saio
tags:
- py3
- job:
name: swift-upload-image-py3
parent: opendev-upload-docker-image
voting: false
description: Build py3 SAIO docker images and upload to Docker Hub.
secrets:
name: docker_credentials
secret: swift-dockerhub
pass-to-parent: true
vars: *swift_image_vars_py3
- job:
name: swift-promote-image-py3
parent: opendev-promote-docker-image
voting: false
description: Promote previously uploaded Docker images.
secrets:
name: docker_credentials
secret: swift-dockerhub
pass-to-parent: true
vars: *swift_image_vars_py3
- project:
templates:
- publish-openstack-docs-pti
@ -437,6 +472,10 @@
irrelevant-files:
- ^(api-ref|doc|releasenotes)/.*$
- ^test/(functional|probe)/.*$
- swift-build-image-py3:
irrelevant-files:
- ^(api-ref|doc|releasenotes)/.*$
- ^test/(functional|probe)/.*$
# Unit tests
- swift-tox-py27:
@ -573,6 +612,7 @@
# long-running jobs, like probetests or (once they move to
# in-tree definitions) dsvm jobs.
- swift-upload-image
- swift-upload-image-py3
- swift-tox-py27
- swift-tox-py36
- swift-tox-py37
@ -648,3 +688,4 @@
promote:
jobs:
- swift-promote-image
- swift-promote-image-py3