Skip to content

Commit

Permalink
add reef/ubi9
Browse files Browse the repository at this point in the history
This adds the reef / el9 combination to the current matrix

Signed-off-by: Guillaume Abrioux <[email protected]>
  • Loading branch information
guits committed Jul 17, 2023
1 parent 4945092 commit caaa2ee
Show file tree
Hide file tree
Showing 18 changed files with 61 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ceph-releases/reef/ubi9-redhat/__DOCKERFILE_CLEAN_COMMON__
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# We don't clean RHEL
find /var/log/ -type f -exec truncate -s 0 {} \;
1 change: 1 addition & 0 deletions ceph-releases/reef/ubi9-redhat/__DOCKERFILE_MAINTAINER__
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Guillaume Abrioux <[email protected]>
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
microdnf update -y --setopt=install_weak_deps=0 --nodocs && \
microdnf install -y --setopt=install_weak_deps=0 --nodocs util-linux python3-saml python3-setuptools udev device-mapper __CEPH_BASE_PACKAGES__
10 changes: 10 additions & 0 deletions ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_LABELS__
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Atomic specific labels
LABEL version="7"

# Build specific labels
LABEL com.redhat.component="rhceph-container"
LABEL name="rhceph"
LABEL description="Red Hat Ceph Storage 7"
LABEL summary="Provides the latest Red Hat Ceph Storage 7 on RHEL 9 in a fully featured and supported base image."
LABEL io.k8s.display-name="Red Hat Ceph Storage 7 on RHEL 9"
LABEL io.openshift.tags="rhceph ceph"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
echo 'Postinstall cleanup' && \
( microdnf clean all && \
rpm -q __CEPH_BASE_PACKAGES__ && \
rm -f /etc/profile.d/lang.sh )
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RUN rm -f /etc/yum.repos.d/ubi.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm -q __CEPH_BASE_PACKAGES__
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Editing /etc/redhat-storage-server release file
RUN echo "Red Hat Ceph Storage Server 7 (Container)" > /etc/redhat-storage-release
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ceph-radosgw__ENV_[CEPH_POINT_RELEASE]__ libradosstriper1__ENV_[CEPH_POINT_RELEASE]__
Empty file.
7 changes: 7 additions & 0 deletions ceph-releases/reef/ubi9-redhat/daemon-base/container.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# https://osbs.readthedocs.io/en/latest/users.html#compose
---

compose:
packages: []
pulp_repos: true
ignore_absent_pulp_repos: true
22 changes: 22 additions & 0 deletions ceph-releases/reef/ubi9-redhat/daemon-base/content_sets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file defines which Pulp content sets (yum repositories) OSBS needs in
# order to build this image. This also helps determine which images are
# vulnerable to specific CVEs. Generally you should only need to update this
# file when:
# 1. You start depending on a new product
# 2. You are preparing new product release and your content sets will change
#
# See https://osbs.readthedocs.io/en/latest/users.html#content-sets for more
# information on maintaining this file.
---
x86_64:
- rhel-9-for-x86_64-baseos-rpms
- rhel-9-for-x86_64-appstream-rpms
- rhceph-7-tools-for-rhel-9-x86_64-rpms
ppc64le:
- rhel-9-for-ppc64le-baseos-rpms
- rhel-9-for-ppc64le-appstream-rpms
- rhceph-7-tools-for-rhel-9-ppc64le-rpms
s390x:
- rhel-9-for-s390x-baseos-rpms
- rhel-9-for-s390x-appstream-rpms
- rhceph-7-tools-for-rhel-9-s390x-rpms
7 changes: 7 additions & 0 deletions ceph-releases/reef/ubi9-redhat/daemon-base/gating.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
--- !Policy
id: "cvp-external"
product_versions:
- cvp
decision_context: cvp_default
rules:
- !PassingTestCaseRule {test_case_name: rhceph-cvp-test.default.external1}
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm -q __DAEMON_PACKAGES__

0 comments on commit caaa2ee

Please sign in to comment.