Migrate statsd sidecar container images to quay.io
The migration of the zookeeper-statsd image itself already happened as it was our test case. That said I found a small typo that needs fixing (and will clean up the extra image that was created later). We also update zookeeper-statsd to pull the base python image from quay.io The real fun happens with haproxy-statsd. We update the image to pull the python base image from quay.io and set it up to publish to quay.io itself. Change-Id: Ie0c119ac309837baef850236f7d5ba6b9da97ce0
This commit is contained in:
parent
7f88fc7d4a
commit
4a762a6a8a
@ -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 docker.io/opendevorg/python-base:3.11-bullseye
|
FROM quay.io/opendevorg/python-base:3.11-bullseye
|
||||||
|
|
||||||
COPY haproxy-statsd.py /usr/local/bin
|
COPY haproxy-statsd.py /usr/local/bin
|
||||||
RUN pip install statsd
|
RUN pip install statsd
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
# Mon May 1 19:42:37 UTC 2023 - trigger rebuild
|
# Mon May 1 19:42:37 UTC 2023 - trigger rebuild
|
||||||
|
|
||||||
FROM docker.io/opendevorg/python-base:3.9-bullseye
|
FROM quay.io/opendevorg/python-base:3.9-bullseye
|
||||||
|
|
||||||
COPY zookeeper-statsd.py /usr/local/bin
|
COPY zookeeper-statsd.py /usr/local/bin
|
||||||
RUN pip install statsd
|
RUN pip install statsd
|
||||||
|
@ -46,7 +46,7 @@ services:
|
|||||||
{% if haproxy_run_statsd %}
|
{% if haproxy_run_statsd %}
|
||||||
haproxy-statsd:
|
haproxy-statsd:
|
||||||
restart: always
|
restart: always
|
||||||
image: docker.io/opendevorg/haproxy-statsd:latest
|
image: quay.io/opendevorg/haproxy-statsd:latest
|
||||||
network_mode: host
|
network_mode: host
|
||||||
user: "1000:1000"
|
user: "1000:1000"
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -2,13 +2,18 @@
|
|||||||
- job:
|
- job:
|
||||||
name: system-config-build-image-haproxy-statsd
|
name: system-config-build-image-haproxy-statsd
|
||||||
description: Build a haproxy-statsd image.
|
description: Build a haproxy-statsd image.
|
||||||
parent: system-config-build-image
|
parent: system-config-build-container-image
|
||||||
requires: python-base-3.11-bullseye-container-image
|
requires: python-base-3.11-bullseye-container-image
|
||||||
provides: haproxy-statsd-container-image
|
provides: haproxy-statsd-container-image
|
||||||
vars: &haproxy-statsd_vars
|
vars: &haproxy-statsd_vars
|
||||||
docker_images:
|
promote_container_image_job: system-config-upload-image-haproxy-statsd
|
||||||
|
container_images:
|
||||||
- context: docker/haproxy-statsd
|
- context: docker/haproxy-statsd
|
||||||
repository: opendevorg/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
|
||||||
# Duplicate in the run-gitea job
|
# Duplicate in the run-gitea job
|
||||||
files: &haproxy-statsd_files
|
files: &haproxy-statsd_files
|
||||||
- docker/haproxy-statsd/
|
- docker/haproxy-statsd/
|
||||||
@ -17,7 +22,7 @@
|
|||||||
- job:
|
- job:
|
||||||
name: system-config-upload-image-haproxy-statsd
|
name: system-config-upload-image-haproxy-statsd
|
||||||
description: Build and upload a haproxy-statsd image.
|
description: Build and upload a haproxy-statsd image.
|
||||||
parent: system-config-upload-image
|
parent: system-config-upload-container-image
|
||||||
requires: python-base-3.11-bullseye-container-image
|
requires: python-base-3.11-bullseye-container-image
|
||||||
provides: haproxy-statsd-container-image
|
provides: haproxy-statsd-container-image
|
||||||
vars: *haproxy-statsd_vars
|
vars: *haproxy-statsd_vars
|
||||||
@ -26,6 +31,6 @@
|
|||||||
- job:
|
- job:
|
||||||
name: system-config-promote-image-haproxy-statsd
|
name: system-config-promote-image-haproxy-statsd
|
||||||
description: Promote a previously published haproxy-statsd image to latest.
|
description: Promote a previously published haproxy-statsd image to latest.
|
||||||
parent: system-config-promote-image
|
parent: system-config-promote-container-image
|
||||||
vars: *haproxy-statsd_vars
|
vars: *haproxy-statsd_vars
|
||||||
files: *haproxy-statsd_files
|
files: *haproxy-statsd_files
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
registry: quay.io
|
registry: quay.io
|
||||||
repository: quay.io/opendevorg/zookeeper-statsd
|
repository: quay.io/opendevorg/zookeeper-statsd
|
||||||
namespace: opendevorg
|
namespace: opendevorg
|
||||||
repo_shortname: zookeeker-statsd
|
repo_shortname: zookeeper-statsd
|
||||||
repo_description: Tool to report ZooKeeper stats to statsd
|
repo_description: Tool to report ZooKeeper stats to statsd
|
||||||
files: &zookeeper-statsd_files
|
files: &zookeeper-statsd_files
|
||||||
- docker/zookeeper-statsd/
|
- docker/zookeeper-statsd/
|
||||||
|
Loading…
Reference in New Issue
Block a user