Revert "Migrate statsd sidecar container images to quay.io"

This reverts commit 4a762a6a8a.
A partial revert of 13cfceaea4 is also
performed to swap out zookeeper-statsd without affecting other images.

We perform this revert because Docker cannot do speculative gating of
images hosted anywhere but on docker.io. Speculative testing of
container images is an important feature that we wish to keep so revert
until we can stop relying on Docker.

Change-Id: I7ceafdb7cf1dfd4812ea8f12f273f01045ca89a2
This commit is contained in:
Clark Boylan 2023-05-24 11:32:14 -07:00
parent b9ab9ba76b
commit d24f648db8
6 changed files with 17 additions and 25 deletions

View File

@ -13,7 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM quay.io/opendevorg/python-base:3.11-bullseye
# Wed May 24 18:38:17 UTC 2023 - trigger rebuild
FROM docker.io/opendevorg/python-base:3.11-bullseye
COPY haproxy-statsd.py /usr/local/bin
RUN pip install statsd

View File

@ -14,9 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Mon May 1 19:42:37 UTC 2023 - trigger rebuild
# Wed May 24 18:38:17 UTC 2023 - trigger rebuild
FROM quay.io/opendevorg/python-base:3.9-bullseye
FROM docker.io/opendevorg/python-base:3.9-bullseye
COPY zookeeper-statsd.py /usr/local/bin
RUN pip install statsd

View File

@ -46,7 +46,7 @@ services:
{% if haproxy_run_statsd %}
haproxy-statsd:
restart: always
image: quay.io/opendevorg/haproxy-statsd:latest
image: docker.io/opendevorg/haproxy-statsd:latest
network_mode: host
user: "1000:1000"
volumes:

View File

@ -16,7 +16,7 @@ services:
- "/var/zookeeper/tls:/tls"
zookeeper-statsd:
restart: always
image: quay.io/opendevorg/zookeeper-statsd:latest
image: docker.io/opendevorg/zookeeper-statsd:latest
network_mode: host
user: "10001:10001"
environment:

View File

@ -2,18 +2,13 @@
- job:
name: system-config-build-image-haproxy-statsd
description: Build a haproxy-statsd image.
parent: system-config-build-container-image
parent: system-config-build-image
requires: python-base-3.11-bullseye-container-image
provides: haproxy-statsd-container-image
vars: &haproxy-statsd_vars
promote_container_image_job: system-config-upload-image-haproxy-statsd
container_images:
docker_images:
- context: docker/haproxy-statsd
registry: quay.io
repository: quay.io/opendevorg/haproxy-statsd
namespace: opendevorg
repo_shortname: haproxy-statsd
repo_description: Tool to report HaProxy stats to statsd
repository: opendevorg/haproxy-statsd
# Duplicate in the run-gitea job
files: &haproxy-statsd_files
- docker/haproxy-statsd/
@ -22,7 +17,7 @@
- job:
name: system-config-upload-image-haproxy-statsd
description: Build and upload a haproxy-statsd image.
parent: system-config-upload-container-image
parent: system-config-upload-image
requires: python-base-3.11-bullseye-container-image
provides: haproxy-statsd-container-image
vars: *haproxy-statsd_vars
@ -31,6 +26,6 @@
- job:
name: system-config-promote-image-haproxy-statsd
description: Promote a previously published haproxy-statsd image to latest.
parent: system-config-promote-container-image
parent: system-config-promote-image
vars: *haproxy-statsd_vars
files: *haproxy-statsd_files

View File

@ -2,17 +2,12 @@
- job:
name: system-config-build-image-zookeeper-statsd
description: Build a zookeeper-statsd image.
parent: system-config-build-container-image
parent: system-config-build-image
requires: python-base-3.9-bullseye-container-image
vars: &zookeeper-statsd_vars
promote_container_image_job: system-config-upload-image-zookeeper-statsd
container_images:
docker_images:
- context: docker/zookeeper-statsd
registry: quay.io
repository: quay.io/opendevorg/zookeeper-statsd
namespace: opendevorg
repo_shortname: zookeeper-statsd
repo_description: Tool to report ZooKeeper stats to statsd
repository: opendevorg/zookeeper-statsd
files: &zookeeper-statsd_files
- docker/zookeeper-statsd/
- docker/python-base/
@ -20,7 +15,7 @@
- job:
name: system-config-upload-image-zookeeper-statsd
description: Build and upload a zookeeper-statsd image.
parent: system-config-upload-container-image
parent: system-config-upload-image
requires: python-base-3.9-bullseye-container-image
vars: *zookeeper-statsd_vars
files: *zookeeper-statsd_files
@ -28,6 +23,6 @@
- job:
name: system-config-promote-image-zookeeper-statsd
description: Promote a previously published zookeeper-statsd image to latest.
parent: system-config-promote-container-image
parent: system-config-promote-image
vars: *zookeeper-statsd_vars
files: *zookeeper-statsd_files