Skip to content

Commit a2a787d

Browse files
committed
Add Zuul CI for container builds and functional tests
Replace the stale stf-crc-jobs template with a content-provider job that builds the sg-core container image and runs it through the telemetry functional test pipeline. Add a Makefile with docker-build and docker-push targets matching the operator convention. Generated-By: Claude-Code claude-opus-4-6
1 parent 8394860 commit a2a787d

2 files changed

Lines changed: 31 additions & 2 deletions

File tree

.zuul.yaml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
---
2+
- job:
3+
name: sg-core-content-provider
4+
parent: telemetry-container-image-content-provider
5+
description: |
6+
Build sg-core container image from the current change.
7+
required-projects:
8+
- name: openstack-k8s-operators/sg-core
9+
vars:
10+
container_build_src: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/sg-core"
11+
container_build_image_name: sg-core
12+
container_update_var_name: cifmw_update_containers_ceilometersgcoreImage
13+
214
- project:
315
name: openstack-k8s-operators/sg-core
4-
templates:
5-
- stf-crc-jobs
16+
github-check:
17+
jobs:
18+
- sg-core-content-provider
19+
- telemetry-openstack-meta-content-provider-master:
20+
override-checkout: main
21+
- functional-tests-osp18:
22+
override-checkout: master
23+
dependencies:
24+
- telemetry-openstack-meta-content-provider-master
25+
- sg-core-content-provider

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
IMG ?= quay.io/openstack-k8s-operators/sg-core:latest
2+
3+
.PHONY: docker-build
4+
docker-build: ## Build container image
5+
podman build -t ${IMG} -f build/Dockerfile .
6+
7+
.PHONY: docker-push
8+
docker-push: ## Push container image
9+
podman push ${IMG}

0 commit comments

Comments
 (0)