Revert "Move statusbot to quay.io"
This reverts commit d5b2eb868f72b9d1b42b4742c62e4743eeb0a973. OpenDev is moving back to docker.io to preserve speculative container image testing. Change-Id: Ic1be6566d1c4c2ae78662c1a3b8cdd7620ec77c5
This commit is contained in:
parent
d5b2eb868f
commit
1885469fb0
51
.zuul.yaml
51
.zuul.yaml
@ -1,24 +1,22 @@
|
|||||||
- secret:
|
- secret:
|
||||||
name: statusbot-opendev-quayio
|
name: statusbot-opendev-dockerhub
|
||||||
data:
|
data:
|
||||||
quay.io:
|
username: opendevzuul
|
||||||
username: opendevorg+opendevrobot
|
|
||||||
password: !encrypted/pkcs1-oaep
|
password: !encrypted/pkcs1-oaep
|
||||||
- j//Ad32wTEjWWhbh6R1NEfE0oebM/WfsNNFeSeenOpiGDNY20f8wamOp0eyxKHZ0fZ5rv
|
- iNW5LmF+l127d5Tsbku/SoFSHv4+f5Y6GBKHRbdODzR2hNt+ZhEOGvJxRIg+majHdX+Qs
|
||||||
Njqg65I4VTBTuU7gHilAPT5Wf0CzK8kE5neEZp7ZB2fUWP4c5/RaEGCGz6cI65xIhUGPE
|
2ds7KISBocOYc1W20ro5w2R6leNMlSaS8N/9zsA0vhEVXoc3vaCe3EC1/fdmcQZYPkjnY
|
||||||
eoqN/OkmO09l6MMiBi1zZ3HCcWWjHMAijcP79jQL4cODIyVMTv7wLeUxE5qQgyyVs1Lkq
|
HNwh+5WqYC5zwAiimyNwp6f3amHYs/TyrgRagzbCJe1cSIkuXbW9U4gT1tOBDxOFh9GzN
|
||||||
RE9HE4pltBA+Om/dgieXtinODhb06BATOcrogJ4CAAmqlk1MKlv9qzcNUbfucz3t0j7Z5
|
PnnaiXmEhuN3X3a39dn1+HhDdNcY0xGNkzXDkemqQznlV/zx1AssEhjBfzFGZll55J/jW
|
||||||
wv4ill2REHnUPCu4rn5UiupNG/g8s1qa06NUP6Vw3EI7Y32PN1IgLTFddz5Cj1QgJhiKn
|
REdURvim8/8F16sK5XMFRBuIw3a9PARt70pIlrwMAwPwpzrFCHOVCyyw0+Zlm0DzppcXc
|
||||||
W5dgZ9zwBHGKGeAy1TnCR8peQw5RZ/vmZHRRQMeyQVXNX0RMMYSUNqkPfMINwjq7X5h76
|
dxlX0ZBPdQLPaWw3qN5Hz1mxH6fr2o4muMFASuFXGXpbdiGKBbHOOKX7V7tfr62JXVcKG
|
||||||
NhRCYHloR+J770fIPmGp66S/pG1lpCewWecOspVZOugOLdZ4elmaWmbzwCxNInE/GO7wK
|
bglaRXrl3nMiMsroEuqIOXYxfpvDbuWlX8vbkdI6bhunkA81tdjytSTOCU7fXeucAeVtp
|
||||||
0wCD9xc2f5eID2FhbQC9O4R3nzS7YKB7uexPHBe3pyconfRunnYgGJWgXWr6XWzYvyNF/
|
MpqPwuSGvUcU+DIbOTSP+EVHq7/096ERzEuGx1h3SI05HojDaYRop7GYuCoFO7KkxNt+5
|
||||||
Prr6kuyBUI1FBoXfItxhWAC4EhjRFH1ZVueRXj13srPxDGfWbiKXm/PgTNo3WYH5CrPEy
|
X4zziFreoJn5ixwr+/8rqlpXmylbKknKBolZAiBVGsGF5cKW3LGoMr9NPIc2MjEqnJzz2
|
||||||
pJP9aiQx9wM9VY1CTH1hYBG5aMazekxeGPvqv2WZgWZKa5QD16IgyT9aRh6w1I=
|
Y9BD/RSAX1HMiPdzSEKefNUYqG8lEsWGQoSisyAw357laBYYJ1q/m0nxAFqqWU=
|
||||||
# No api token because we won't need to create new statusbot repos
|
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: statusbot-build-opendev-image
|
name: statusbot-build-opendev-image
|
||||||
parent: opendev-build-container-image
|
parent: opendev-build-docker-image
|
||||||
description: Build OpenDev Docker images for statusbot
|
description: Build OpenDev Docker images for statusbot
|
||||||
provides: statusbot-container-image
|
provides: statusbot-container-image
|
||||||
requires:
|
requires:
|
||||||
@ -26,21 +24,14 @@
|
|||||||
- python-base-3.10-bullseye-container-image
|
- python-base-3.10-bullseye-container-image
|
||||||
vars: &statusbot_opendev_image_vars
|
vars: &statusbot_opendev_image_vars
|
||||||
zuul_work_dir: src/opendev.org/opendev/statusbot
|
zuul_work_dir: src/opendev.org/opendev/statusbot
|
||||||
promote_container_image_method: intermediate-registry
|
docker_images:
|
||||||
promote_container_image_job: statusbot-upload-opendev-image
|
|
||||||
container_command: docker
|
|
||||||
container_images:
|
|
||||||
- context: .
|
- context: .
|
||||||
registry: quay.io
|
repository: opendevorg/statusbot
|
||||||
repository: quay.io/opendevorg/statusbot
|
|
||||||
namespace: opendevorg
|
|
||||||
repo_shortname: statusbot
|
|
||||||
repo_description: An IRC (and more) operational status update bot
|
|
||||||
target: statusbot
|
target: statusbot
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: statusbot-upload-opendev-image
|
name: statusbot-upload-opendev-image
|
||||||
parent: opendev-upload-container-image
|
parent: opendev-upload-docker-image
|
||||||
description: Build OpenDev statusbot Docker images and upload to Docker Hub.
|
description: Build OpenDev statusbot Docker images and upload to Docker Hub.
|
||||||
provides: statusbot-container-image
|
provides: statusbot-container-image
|
||||||
requires:
|
requires:
|
||||||
@ -48,18 +39,18 @@
|
|||||||
- python-base-3.10-bullseye-container-image
|
- python-base-3.10-bullseye-container-image
|
||||||
vars: *statusbot_opendev_image_vars
|
vars: *statusbot_opendev_image_vars
|
||||||
secrets:
|
secrets:
|
||||||
- name: container_registry_credentials
|
- name: docker_credentials
|
||||||
secret: statusbot-opendev-quayio
|
secret: statusbot-opendev-dockerhub
|
||||||
pass-to-parent: true
|
pass-to-parent: true
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: statusbot-promote-opendev-image
|
name: statusbot-promote-opendev-image
|
||||||
parent: opendev-promote-container-image
|
parent: opendev-promote-docker-image
|
||||||
description: Promote previously uploaded statusbot Docker images.
|
description: Promote previously uploaded statusbot Docker images.
|
||||||
vars: *statusbot_opendev_image_vars
|
vars: *statusbot_opendev_image_vars
|
||||||
secrets:
|
secrets:
|
||||||
- name: container_registry_credentials
|
- name: docker_credentials
|
||||||
secret: statusbot-opendev-quayio
|
secret: statusbot-opendev-dockerhub
|
||||||
pass-to-parent: true
|
pass-to-parent: true
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
|
@ -13,12 +13,12 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this software. If not, see <http://www.gnu.org/licenses/>.
|
# along with this software. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
FROM quay.io/opendevorg/python-builder:3.10-bullseye as builder
|
FROM docker.io/opendevorg/python-builder:3.10-bullseye as builder
|
||||||
|
|
||||||
COPY . /tmp/src
|
COPY . /tmp/src
|
||||||
RUN assemble
|
RUN assemble
|
||||||
|
|
||||||
FROM quay.io/opendevorg/python-base:3.10-bullseye as statusbot
|
FROM docker.io/opendevorg/python-base:3.10-bullseye as statusbot
|
||||||
|
|
||||||
COPY --from=builder /output/ /output
|
COPY --from=builder /output/ /output
|
||||||
RUN /output/install-from-bindep
|
RUN /output/install-from-bindep
|
||||||
|
Loading…
x
Reference in New Issue
Block a user