Add target to docker_images var
The target parameter should be included into the image definition. Change-Id: I5c18fb46b725f76f12ef415dce0b7f442e067a83
This commit is contained in:
13
.zuul.yaml
13
.zuul.yaml
@@ -44,10 +44,12 @@
|
|||||||
docker_images:
|
docker_images:
|
||||||
- context: .
|
- context: .
|
||||||
repository: cilogprocessing/logscraper
|
repository: cilogprocessing/logscraper
|
||||||
|
target: logscraper
|
||||||
tags:
|
tags:
|
||||||
&imagetag "{{ zuul.tag is defined | ternary([zuul.get('tag', '').split('.')[0], '.'.join(zuul.get('tag', '').split('.')[:2]), zuul.get('tag', '')], ['latest']) }}"
|
&imagetag "{{ zuul.tag is defined | ternary([zuul.get('tag', '').split('.')[0], '.'.join(zuul.get('tag', '').split('.')[:2]), zuul.get('tag', '')], ['latest']) }}"
|
||||||
- context: loggearman/
|
- context: loggearman/
|
||||||
repository: cilogprocessing/loggearman
|
repository: cilogprocessing/loggearman
|
||||||
|
target: loggearman
|
||||||
tags:
|
tags:
|
||||||
*imagetag
|
*imagetag
|
||||||
|
|
||||||
@@ -60,16 +62,7 @@
|
|||||||
name: docker_credentials
|
name: docker_credentials
|
||||||
secret: cilogprocessing-docker
|
secret: cilogprocessing-docker
|
||||||
pass-to-parent: true
|
pass-to-parent: true
|
||||||
vars:
|
vars: *cilogprocessing_image_vars
|
||||||
docker_images:
|
|
||||||
- context: .
|
|
||||||
repository: cilogprocessing/logscraper
|
|
||||||
tags:
|
|
||||||
*imagetag
|
|
||||||
- context: loggearman/
|
|
||||||
repository: cilogprocessing/loggearman
|
|
||||||
tags:
|
|
||||||
*imagetag
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: openstack-tox-pep8
|
- name: openstack-tox-pep8
|
||||||
soft: true
|
soft: true
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
FROM quay.io/centos/centos:stream8
|
FROM quay.io/centos/centos:stream8 as logscraper
|
||||||
|
|
||||||
ENV PATH=/workspace/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
ENV PATH=/workspace/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
ENV LANG=en_US.UTF-8
|
ENV LANG=en_US.UTF-8
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
FROM quay.io/centos/centos:stream8
|
FROM quay.io/centos/centos:stream8 as loggearman
|
||||||
|
|
||||||
ENV OSLO_PACKAGE_VERSION='0.0.1'
|
ENV OSLO_PACKAGE_VERSION='0.0.1'
|
||||||
ENV PATH=~/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
ENV PATH=~/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
|
|||||||
Reference in New Issue
Block a user