Skip to content

Commit 02b848e

Browse files
committed
Add prow job to generate CR documentation in BMO; and revert 'Install podman in basic-checks container'
Signed-off-by: Mahnoor Asghar <[email protected]>
1 parent 7d628df commit 02b848e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

prow/config/jobs/metal3-io/baremetal-operator.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,19 @@ presubmits:
8686
- make
8787
image: quay.io/metal3-io/basic-checks:golang-1.24
8888
imagePullPolicy: Always
89+
- name: generate-api-docs
90+
branches:
91+
- main
92+
run_if_changed: '(config/base/crds/bases/.*|^Makefile)$*'
93+
decorate: true
94+
spec:
95+
containers:
96+
- args:
97+
- ./hack/gen-api-docs.sh
98+
command:
99+
- sh
100+
image: ghcr.io/fybrik/crdoc:0.6.2@sha256:355ef777a45021ee864e613b2234b4f2c6193762e3e0de94a26b66d06cec81c3
101+
imagePullPolicy: Always
89102
- name: manifestlint
90103
branches:
91104
- main

prow/container-images/basic-checks/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ FROM docker.io/golang:${GO_VERSION}
44
# Install additional packages not present in regular golang image
55
RUN apt-get update \
66
&& apt-get -y upgrade \
7-
&& apt-get install -y libvirt-dev podman \
7+
&& apt-get install -y libvirt-dev \
88
&& apt-get clean

0 commit comments

Comments
 (0)