Publish hound container images to quay

Now that codesearch is deployed on Noble with podman as the container
runtime we can push our hound container to quay and still have
speculative container images. Do this to reduce our reliance on docker
hub as their rate limits are very aggressive now.

Change-Id: I364da9ebe10e681de024b50cbdccdb5b3fce3617
This commit is contained in:
Clark Boylan
2025-04-11 08:06:28 -07:00
parent 7df77b359f
commit b3bd66c1dd
3 changed files with 13 additions and 6 deletions

View File

@@ -13,6 +13,8 @@
# 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.
# Trigger rebuild - Fri Apr 11 03:16:46 PM UTC 2025
FROM docker.io/library/golang:1.19-bookworm AS builder FROM docker.io/library/golang:1.19-bookworm AS builder
WORKDIR /tmp WORKDIR /tmp

View File

@@ -1,7 +1,7 @@
services: services:
hound: hound:
restart: always restart: always
image: docker.io/opendevorg/hound image: quay.io/opendevorg/hound
network_mode: host network_mode: host
environment: environment:
- 'USE_HOUND_TEST_CONFIG={{ "1" if codesearch_use_test_config else "0" }}' - 'USE_HOUND_TEST_CONFIG={{ "1" if codesearch_use_test_config else "0" }}'

View File

@@ -4,11 +4,16 @@
description: Build a hound image. description: Build a hound image.
requires: python-base-3.12-bookworm-container-image requires: python-base-3.12-bookworm-container-image
provides: hound-container-image provides: hound-container-image
parent: system-config-build-image parent: system-config-build-container-image
vars: &hound_vars vars: &hound_vars
docker_images: promote_container_image_job: system-config-upload-image-hound
container_images:
- context: docker/hound - context: docker/hound
repository: opendevorg/hound registry: quay.io
repository: quay.io/opendevorg/hound
namespace: opendevorg
repo_shortname: hound
repo_description: Hound Codesearch Tool
files: &hound_files files: &hound_files
- docker/hound/ - docker/hound/
@@ -17,13 +22,13 @@
description: Build and upload a hound image. description: Build and upload a hound image.
requires: python-base-3.12-bookworm-container-image requires: python-base-3.12-bookworm-container-image
provides: hound-container-image provides: hound-container-image
parent: system-config-upload-image parent: system-config-upload-container-image
vars: *hound_vars vars: *hound_vars
files: *hound_files files: *hound_files
- job: - job:
name: system-config-promote-image-hound name: system-config-promote-image-hound
description: Promote a previously published hound image to latest. description: Promote a previously published hound image to latest.
parent: system-config-promote-image parent: system-config-promote-container-image
vars: *hound_vars vars: *hound_vars
files: *hound_files files: *hound_files