Switch to zuul-jobs docker build jobs

There are upstream jobs in zuul-jobs with the docker build playbooks,
so use them.  The system-config jobs are kept so that we don't have
to duplicate the secret stanza.

Change-Id: Iceee55a3d0e8b243549fa988f134b1ea9bb6dac5
This commit is contained in:
James E. Blair 2019-01-23 13:44:04 -08:00
parent 08a4a0c22a
commit d145e86f71
5 changed files with 5 additions and 40 deletions

View File

@ -41,49 +41,26 @@
- job:
name: system-config-build-image
description: |
Build a docker image.
See the `role documentation
<https://zuul-ci.org/docs/zuul-jobs/roles.html#role-build-docker-image>`_
for details.
parent: build-docker-image
abstract: true
allowed-projects: openstack-infra/system-config
pre-run: playbooks/zuul/build-image/pre.yaml
run: playbooks/zuul/build-image/run.yaml
- job:
name: system-config-upload-image
parent: system-config-build-image
description: |
Build and upload a docker image.
See the `role documentation
<https://zuul-ci.org/docs/zuul-jobs/roles.html#role-upload-docker-image>`_
for details.
parent: upload-docker-image
abstract: true
allowed-projects: openstack-infra/system-config
post-run: playbooks/zuul/build-image/upload.yaml
secrets:
name: docker_credentials
secret: system-config-dockerhub
pass-to-parent: true
- job:
name: system-config-promote-image
description: |
Retag a previously-uploaded docker image.
See the `role documentation
<https://zuul-ci.org/docs/zuul-jobs/roles.html#role-promote-docker-image>`_
for details.
parent: promote-docker-image
abstract: true
allowed-projects: openstack-infra/system-config
run: playbooks/zuul/build-image/promote.yaml
secrets:
name: docker_credentials
secret: system-config-dockerhub
nodeset:
nodes: []
pass-to-parent: true
# Jinja-init jobs
- job:

View File

@ -1,3 +0,0 @@
- hosts: all
roles:
- install-docker

View File

@ -1,3 +0,0 @@
- hosts: localhost
roles:
- promote-docker-image

View File

@ -1,3 +0,0 @@
- hosts: all
roles:
- build-docker-image

View File

@ -1,3 +0,0 @@
- hosts: all
roles:
- upload-docker-image