Revert "Migrate statsd sidecar container images to quay.io"
This reverts commit4a762a6a8a
. A partial revert of13cfceaea4
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:
parent
b9ab9ba76b
commit
d24f648db8
@ -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
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user