Revert "Move system-config irc bots into quay.io"
This reverts commit 5842ce3ea6
.
OpenDev is moving back to docker.io in order to keep functional
speculative container image testing.
Change-Id: I748772eb92ddb608df8e10b84ce814ae17af9e18
This commit is contained in:
parent
b9ab9ba76b
commit
8ccab5e967
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM quay.io/opendevorg/python-base:3.11-bullseye
|
FROM docker.io/opendevorg/python-base:3.11-bullseye
|
||||||
|
|
||||||
RUN pip install pyyaml irc
|
RUN pip install pyyaml irc
|
||||||
COPY accessbot.py /usr/local/bin/accessbot.py
|
COPY accessbot.py /usr/local/bin/accessbot.py
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM quay.io/opendevorg/python-builder:3.9-bullseye as builder
|
FROM docker.io/opendevorg/python-builder:3.9-bullseye as builder
|
||||||
ARG ZUUL_SIBLINGS=""
|
ARG ZUUL_SIBLINGS=""
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
@ -25,7 +25,7 @@ COPY . /tmp/src
|
|||||||
|
|
||||||
RUN assemble
|
RUN assemble
|
||||||
|
|
||||||
FROM quay.io/opendevorg/python-base:3.9-bullseye as ircbot
|
FROM docker.io/opendevorg/python-base:3.9-bullseye as ircbot
|
||||||
|
|
||||||
COPY --from=builder /output /output
|
COPY --from=builder /output /output
|
||||||
|
|
||||||
|
@ -13,12 +13,12 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM quay.io/opendevorg/python-builder:3.9-bullseye as builder
|
FROM docker.io/opendevorg/python-builder:3.9-bullseye as builder
|
||||||
|
|
||||||
COPY src /tmp/src
|
COPY src /tmp/src
|
||||||
RUN assemble
|
RUN assemble
|
||||||
|
|
||||||
FROM quay.io/opendevorg/python-base:3.9-bullseye as eavesdrop
|
FROM docker.io/opendevorg/python-base:3.9-bullseye as eavesdrop
|
||||||
|
|
||||||
COPY --from=builder /output/ /output
|
COPY --from=builder /output/ /output
|
||||||
RUN /output/install-from-bindep \
|
RUN /output/install-from-bindep \
|
||||||
|
@ -17,4 +17,4 @@
|
|||||||
exec docker run --rm --net=host \
|
exec docker run --rm --net=host \
|
||||||
-v/etc/accessbot:/etc/accessbot \
|
-v/etc/accessbot:/etc/accessbot \
|
||||||
-v/var/log/accessbot:/var/log/accessbot \
|
-v/var/log/accessbot:/var/log/accessbot \
|
||||||
quay.io/opendevorg/accessbot
|
docker.io/opendevorg/accessbot
|
||||||
|
@ -33,4 +33,4 @@
|
|||||||
logrotate_file_name: /var/log/accessbot/accessbot.log
|
logrotate_file_name: /var/log/accessbot/accessbot.log
|
||||||
|
|
||||||
- name: Pull latest image
|
- name: Pull latest image
|
||||||
command: docker pull quay.io/opendevorg/accessbot
|
command: docker pull docker.io/opendevorg/accessbot
|
||||||
|
@ -4,7 +4,7 @@ version: '2'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
ircbot:
|
ircbot:
|
||||||
image: quay.io/opendevorg/ircbot:latest
|
image: docker.io/opendevorg/ircbot:latest
|
||||||
network_mode: host
|
network_mode: host
|
||||||
restart: always
|
restart: always
|
||||||
logging:
|
logging:
|
||||||
|
@ -4,7 +4,7 @@ version: '2'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
eavesdrop:
|
eavesdrop:
|
||||||
image: quay.io/opendevorg/matrix-eavesdrop:latest
|
image: docker.io/opendevorg/matrix-eavesdrop:latest
|
||||||
network_mode: host
|
network_mode: host
|
||||||
restart: always
|
restart: always
|
||||||
logging:
|
logging:
|
||||||
|
@ -2,18 +2,13 @@
|
|||||||
- job:
|
- job:
|
||||||
name: system-config-build-image-accessbot
|
name: system-config-build-image-accessbot
|
||||||
description: Build a accessbot image.
|
description: Build a accessbot image.
|
||||||
parent: system-config-build-container-image
|
parent: system-config-build-image
|
||||||
requires: python-base-3.11-bullseye-container-image
|
requires: python-base-3.11-bullseye-container-image
|
||||||
provides: accessbot-container-image
|
provides: accessbot-container-image
|
||||||
vars: &accessbot_vars
|
vars: &accessbot_vars
|
||||||
promote_container_image_job: system-config-upload-image-accessbot
|
docker_images:
|
||||||
container_images:
|
|
||||||
- context: docker/accessbot
|
- context: docker/accessbot
|
||||||
registry: quay.io
|
repository: opendevorg/accessbot
|
||||||
repository: quay.io/opendevorg/accessbot
|
|
||||||
namespace: opendevorg
|
|
||||||
repo_shortname: accessbot
|
|
||||||
repo_description: IRC acl management bot
|
|
||||||
files: &accessbot_files
|
files: &accessbot_files
|
||||||
- docker/accessbot/
|
- docker/accessbot/
|
||||||
- docker/python-base/
|
- docker/python-base/
|
||||||
@ -21,7 +16,7 @@
|
|||||||
- job:
|
- job:
|
||||||
name: system-config-upload-image-accessbot
|
name: system-config-upload-image-accessbot
|
||||||
description: Build and upload a accessbot image.
|
description: Build and upload a accessbot image.
|
||||||
parent: system-config-upload-container-image
|
parent: system-config-upload-image
|
||||||
requires: python-base-3.11-bullseye-container-image
|
requires: python-base-3.11-bullseye-container-image
|
||||||
provides: accessbot-container-image
|
provides: accessbot-container-image
|
||||||
vars: *accessbot_vars
|
vars: *accessbot_vars
|
||||||
@ -30,6 +25,6 @@
|
|||||||
- job:
|
- job:
|
||||||
name: system-config-promote-image-accessbot
|
name: system-config-promote-image-accessbot
|
||||||
description: Promote a previously published accessbot image to latest.
|
description: Promote a previously published accessbot image to latest.
|
||||||
parent: system-config-promote-container-image
|
parent: system-config-promote-image
|
||||||
vars: *accessbot_vars
|
vars: *accessbot_vars
|
||||||
files: *accessbot_files
|
files: *accessbot_files
|
||||||
|
@ -2,27 +2,22 @@
|
|||||||
- job:
|
- job:
|
||||||
name: system-config-build-image-matrix-eavesdrop
|
name: system-config-build-image-matrix-eavesdrop
|
||||||
description: Build a matrix-eavesdrop image.
|
description: Build a matrix-eavesdrop image.
|
||||||
parent: system-config-build-container-image
|
parent: system-config-build-image
|
||||||
requires: &matrix-eavesdrop_requires
|
requires: &matrix-eavesdrop_requires
|
||||||
- python-base-3.9-bullseye-container-image
|
- python-base-3.9-bullseye-container-image
|
||||||
- python-builder-3.9-bullseye-container-image
|
- python-builder-3.9-bullseye-container-image
|
||||||
provides: matrix-eavesdrop-container-image
|
provides: matrix-eavesdrop-container-image
|
||||||
vars: &matrix-eavesdrop_vars
|
vars: &matrix-eavesdrop_vars
|
||||||
promote_container_image_job: system-config-upload-image-matrix-eavesdrop
|
docker_images:
|
||||||
container_images:
|
|
||||||
- context: docker/matrix-eavesdrop
|
- context: docker/matrix-eavesdrop
|
||||||
registry: quay.io
|
repository: opendevorg/matrix-eavesdrop
|
||||||
repository: quay.io/opendevorg/matrix-eavesdrop
|
|
||||||
namespace: opendevorg
|
|
||||||
repo_shortname: matrix-eavesdrop
|
|
||||||
repo_description: A matrix log collection bot.
|
|
||||||
files: &matrix-eavesdrop_files
|
files: &matrix-eavesdrop_files
|
||||||
- docker/matrix-eavesdrop/.*
|
- docker/matrix-eavesdrop/.*
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: system-config-upload-image-matrix-eavesdrop
|
name: system-config-upload-image-matrix-eavesdrop
|
||||||
description: Build and upload a matrix-eavesdrop image.
|
description: Build and upload a matrix-eavesdrop image.
|
||||||
parent: system-config-upload-container-image
|
parent: system-config-upload-image
|
||||||
requires: *matrix-eavesdrop_requires
|
requires: *matrix-eavesdrop_requires
|
||||||
provides: matrix-eavesdrop-container-image
|
provides: matrix-eavesdrop-container-image
|
||||||
vars: *matrix-eavesdrop_vars
|
vars: *matrix-eavesdrop_vars
|
||||||
@ -31,6 +26,6 @@
|
|||||||
- job:
|
- job:
|
||||||
name: system-config-promote-image-matrix-eavesdrop
|
name: system-config-promote-image-matrix-eavesdrop
|
||||||
description: Promote a previously published matrix-eavesdrop image to latest.
|
description: Promote a previously published matrix-eavesdrop image to latest.
|
||||||
parent: system-config-promote-container-image
|
parent: system-config-promote-image
|
||||||
vars: *matrix-eavesdrop_vars
|
vars: *matrix-eavesdrop_vars
|
||||||
files: *matrix-eavesdrop_files
|
files: *matrix-eavesdrop_files
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
- job:
|
- job:
|
||||||
name: system-config-build-image-ircbot
|
name: system-config-build-image-ircbot
|
||||||
description: Build a ircbot image.
|
description: Build a ircbot image.
|
||||||
parent: system-config-build-container-image
|
parent: system-config-build-image
|
||||||
requires: &ircbot_requires
|
requires: &ircbot_requires
|
||||||
- python-base-3.9-bullseye-container-image
|
- python-base-3.9-bullseye-container-image
|
||||||
- python-builder-3.9-bullseye-container-image
|
- python-builder-3.9-bullseye-container-image
|
||||||
@ -10,15 +10,10 @@
|
|||||||
required-projects: &ircbot_required_projects
|
required-projects: &ircbot_required_projects
|
||||||
- opendev/meetbot
|
- opendev/meetbot
|
||||||
vars: &ircbot_vars
|
vars: &ircbot_vars
|
||||||
promote_container_image_job: system-config-upload-image-ircbot
|
docker_images:
|
||||||
container_images:
|
|
||||||
- context: docker/ircbot
|
- context: docker/ircbot
|
||||||
target: ircbot
|
target: ircbot
|
||||||
registry: quay.io
|
repository: opendevorg/ircbot
|
||||||
repository: quay.io/opendevorg/ircbot
|
|
||||||
namespace: opendevorg
|
|
||||||
repo_shortname: ircbot
|
|
||||||
repo_description: A limnoria + meetbot IRC bot
|
|
||||||
siblings:
|
siblings:
|
||||||
- opendev.org/opendev/meetbot
|
- opendev.org/opendev/meetbot
|
||||||
files: &ircbot_files
|
files: &ircbot_files
|
||||||
@ -26,7 +21,7 @@
|
|||||||
- job:
|
- job:
|
||||||
name: system-config-upload-image-ircbot
|
name: system-config-upload-image-ircbot
|
||||||
description: Build and upload a ircbot image.
|
description: Build and upload a ircbot image.
|
||||||
parent: system-config-upload-container-image
|
parent: system-config-upload-image
|
||||||
requires: *ircbot_requires
|
requires: *ircbot_requires
|
||||||
provides: ircbot-container-image
|
provides: ircbot-container-image
|
||||||
required-projects: *ircbot_required_projects
|
required-projects: *ircbot_required_projects
|
||||||
@ -36,6 +31,6 @@
|
|||||||
- job:
|
- job:
|
||||||
name: system-config-promote-image-ircbot
|
name: system-config-promote-image-ircbot
|
||||||
description: Promote a previously published ircbot image to latest.
|
description: Promote a previously published ircbot image to latest.
|
||||||
parent: system-config-promote-container-image
|
parent: system-config-promote-image
|
||||||
vars: *ircbot_vars
|
vars: *ircbot_vars
|
||||||
files: *ircbot_files
|
files: *ircbot_files
|
||||||
|
Loading…
Reference in New Issue
Block a user