From 8eb4d51088a722f0132e1b209b6025a26b813bc3 Mon Sep 17 00:00:00 2001 From: Luke Repko Date: Tue, 6 Aug 2024 12:01:33 -0500 Subject: [PATCH] fix: need the gnocchi user to exist --- .github/workflows/release-gnocchi.yaml | 3 +++ Containerfiles/GnocchiRXT-Containerfile | 1 + base-helm-configs/gnocchi/gnocchi-helm-overrides.yaml | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-gnocchi.yaml b/.github/workflows/release-gnocchi.yaml index 57d2c656..c3553f5e 100644 --- a/.github/workflows/release-gnocchi.yaml +++ b/.github/workflows/release-gnocchi.yaml @@ -2,6 +2,9 @@ name: Create and publish a Gnocchi image on: + push: + branches: + - development workflow_dispatch: inputs: imageTag: diff --git a/Containerfiles/GnocchiRXT-Containerfile b/Containerfiles/GnocchiRXT-Containerfile index 94e937a3..51b92919 100644 --- a/Containerfiles/GnocchiRXT-Containerfile +++ b/Containerfiles/GnocchiRXT-Containerfile @@ -11,3 +11,4 @@ RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 RUN pip install git+https://github.com/gnocchixyz/gnocchi.git@${GNOCCHI_VERSION} RUN mkdir /var/run/apache2 RUN apt install -y libapache2-mod-wsgi-py3 +RUN adduser gnocchi --disabled-password diff --git a/base-helm-configs/gnocchi/gnocchi-helm-overrides.yaml b/base-helm-configs/gnocchi/gnocchi-helm-overrides.yaml index b238c827..4e21a1e4 100644 --- a/base-helm-configs/gnocchi/gnocchi-helm-overrides.yaml +++ b/base-helm-configs/gnocchi/gnocchi-helm-overrides.yaml @@ -46,7 +46,7 @@ images: ks_user: docker.io/openstackhelm/heat:wallaby-ubuntu_focal ks_service: docker.io/openstackhelm/heat:wallaby-ubuntu_focal ks_endpoints: docker.io/openstackhelm/heat:wallaby-ubuntu_focal - gnocchi_api: ghcr.io/lukerepko/genestack/gnocchi:4.6.2-1722962258 + gnocchi_api: ghcr.io/lukerepko/genestack/gnocchi:4.6.2 gnocchi_statsd: quay.io/openstack.kolla/ubuntu-source-gnocchi-statsd:yoga gnocchi_metricd: quay.io/openstack.kolla/ubuntu-source-gnocchi-metricd:yoga gnocchi_resources_cleaner: quay.io/openstack.kolla/ubuntu-source-gnocchi-base:yoga