statusbot/.zuul.yaml
Ian Wienand 6da21b9499 Add container image build
Change-Id: Ic3f685cce211cd10bb392c372da4c1517d036afa
2021-06-09 10:56:57 +10:00

60 lines
2.2 KiB
YAML

- secret:
name: statusbot-opendev-dockerhub
data:
username: opendevzuul
password: !encrypted/pkcs1-oaep
- iNW5LmF+l127d5Tsbku/SoFSHv4+f5Y6GBKHRbdODzR2hNt+ZhEOGvJxRIg+majHdX+Qs
2ds7KISBocOYc1W20ro5w2R6leNMlSaS8N/9zsA0vhEVXoc3vaCe3EC1/fdmcQZYPkjnY
HNwh+5WqYC5zwAiimyNwp6f3amHYs/TyrgRagzbCJe1cSIkuXbW9U4gT1tOBDxOFh9GzN
PnnaiXmEhuN3X3a39dn1+HhDdNcY0xGNkzXDkemqQznlV/zx1AssEhjBfzFGZll55J/jW
REdURvim8/8F16sK5XMFRBuIw3a9PARt70pIlrwMAwPwpzrFCHOVCyyw0+Zlm0DzppcXc
dxlX0ZBPdQLPaWw3qN5Hz1mxH6fr2o4muMFASuFXGXpbdiGKBbHOOKX7V7tfr62JXVcKG
bglaRXrl3nMiMsroEuqIOXYxfpvDbuWlX8vbkdI6bhunkA81tdjytSTOCU7fXeucAeVtp
MpqPwuSGvUcU+DIbOTSP+EVHq7/096ERzEuGx1h3SI05HojDaYRop7GYuCoFO7KkxNt+5
X4zziFreoJn5ixwr+/8rqlpXmylbKknKBolZAiBVGsGF5cKW3LGoMr9NPIc2MjEqnJzz2
Y9BD/RSAX1HMiPdzSEKefNUYqG8lEsWGQoSisyAw357laBYYJ1q/m0nxAFqqWU=
- job:
name: statusbot-build-opendev-image
parent: opendev-build-docker-image
description: Build OpenDev Docker images for statusbot
provides: statusbot-container-image
vars: &statusbot_opendev_image_vars
zuul_work_dir: src/opendev.org/opendev/statusbot
docker_images:
- context: .
repository: opendevorg/statusbot
target: statusbot
- job:
name: statusbot-upload-opendev-image
parent: opendev-upload-docker-image
description: Build OpenDev statusbot Docker images and upload to Docker Hub.
provides: statusbot-container-image
vars: *statusbot_opendev_image_vars
secrets:
- name: docker_credentials
secret: statusbot-opendev-dockerhub
pass-to-parent: true
- job:
name: statusbot-promote-opendev-image
parent: opendev-promote-docker-image
description: Promote previously uploaded statusbot Docker images.
vars: *statusbot_opendev_image_vars
secrets:
- name: docker_credentials
secret: statusbot-opendev-dockerhub
pass-to-parent: true
- project:
check:
jobs:
- statusbot-build-opendev-image
gate:
jobs:
- statusbot-upload-opendev-image
promote:
jobs:
- statusbot-promote-opendev-image