diff --git a/ceph-releases/reef/ubi9-redhat/__DOCKERFILE_CLEAN_COMMON__ b/ceph-releases/reef/ubi9-redhat/__DOCKERFILE_CLEAN_COMMON__ new file mode 100644 index 000000000..62368f2cf --- /dev/null +++ b/ceph-releases/reef/ubi9-redhat/__DOCKERFILE_CLEAN_COMMON__ @@ -0,0 +1,2 @@ +# We don't clean RHEL +find /var/log/ -type f -exec truncate -s 0 {} \; diff --git a/ceph-releases/reef/ubi9-redhat/__DOCKERFILE_MAINTAINER__ b/ceph-releases/reef/ubi9-redhat/__DOCKERFILE_MAINTAINER__ new file mode 100644 index 000000000..d534abd16 --- /dev/null +++ b/ceph-releases/reef/ubi9-redhat/__DOCKERFILE_MAINTAINER__ @@ -0,0 +1 @@ +Guillaume Abrioux diff --git a/ceph-releases/reef/ubi9-redhat/daemon-base/__CRIMSON_PACKAGES__ b/ceph-releases/reef/ubi9-redhat/daemon-base/__CRIMSON_PACKAGES__ new file mode 100644 index 000000000..e69de29bb diff --git a/ceph-releases/reef/ubi9-redhat/daemon-base/__CSI_PACKAGES__ b/ceph-releases/reef/ubi9-redhat/daemon-base/__CSI_PACKAGES__ new file mode 100644 index 000000000..e69de29bb diff --git a/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_INSTALL__ b/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_INSTALL__ new file mode 100644 index 000000000..c03bf5d25 --- /dev/null +++ b/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_INSTALL__ @@ -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__ \ No newline at end of file diff --git a/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_LABELS__ b/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_LABELS__ new file mode 100644 index 000000000..dfa45118f --- /dev/null +++ b/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_LABELS__ @@ -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" diff --git a/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_POSTINSTALL_CLEANUP__ b/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_POSTINSTALL_CLEANUP__ new file mode 100644 index 000000000..b8b5033b9 --- /dev/null +++ b/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_POSTINSTALL_CLEANUP__ @@ -0,0 +1,4 @@ +echo 'Postinstall cleanup' && \ + ( microdnf clean all && \ + rpm -q __CEPH_BASE_PACKAGES__ && \ + rm -f /etc/profile.d/lang.sh ) diff --git a/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_PREINSTALL__ b/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_PREINSTALL__ new file mode 100644 index 000000000..31f615464 --- /dev/null +++ b/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_PREINSTALL__ @@ -0,0 +1 @@ +RUN rm -f /etc/yum.repos.d/ubi.repo diff --git a/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_VERIFY_PACKAGES__ b/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_VERIFY_PACKAGES__ new file mode 100644 index 000000000..0fea829cc --- /dev/null +++ b/ceph-releases/reef/ubi9-redhat/daemon-base/__DOCKERFILE_VERIFY_PACKAGES__ @@ -0,0 +1 @@ +rpm -q __CEPH_BASE_PACKAGES__ diff --git a/ceph-releases/reef/ubi9-redhat/daemon-base/__ETC_REDHAT_STORAGE_RELEASE__ b/ceph-releases/reef/ubi9-redhat/daemon-base/__ETC_REDHAT_STORAGE_RELEASE__ new file mode 100644 index 000000000..bf3fe6ff7 --- /dev/null +++ b/ceph-releases/reef/ubi9-redhat/daemon-base/__ETC_REDHAT_STORAGE_RELEASE__ @@ -0,0 +1,2 @@ +# Editing /etc/redhat-storage-server release file +RUN echo "Red Hat Ceph Storage Server 7 (Container)" > /etc/redhat-storage-release diff --git a/ceph-releases/reef/ubi9-redhat/daemon-base/__RADOSGW_PACKAGES__ b/ceph-releases/reef/ubi9-redhat/daemon-base/__RADOSGW_PACKAGES__ new file mode 100644 index 000000000..4879dadf9 --- /dev/null +++ b/ceph-releases/reef/ubi9-redhat/daemon-base/__RADOSGW_PACKAGES__ @@ -0,0 +1 @@ +ceph-radosgw__ENV_[CEPH_POINT_RELEASE]__ libradosstriper1__ENV_[CEPH_POINT_RELEASE]__ diff --git a/ceph-releases/reef/ubi9-redhat/daemon-base/__SCIKIT_LEARN__ b/ceph-releases/reef/ubi9-redhat/daemon-base/__SCIKIT_LEARN__ new file mode 100644 index 000000000..e69de29bb diff --git a/ceph-releases/reef/ubi9-redhat/daemon-base/container.yaml b/ceph-releases/reef/ubi9-redhat/daemon-base/container.yaml new file mode 100644 index 000000000..5c7a547df --- /dev/null +++ b/ceph-releases/reef/ubi9-redhat/daemon-base/container.yaml @@ -0,0 +1,7 @@ +# https://osbs.readthedocs.io/en/latest/users.html#compose +--- + +compose: + packages: [] + pulp_repos: true + ignore_absent_pulp_repos: true diff --git a/ceph-releases/reef/ubi9-redhat/daemon-base/content_sets.yml b/ceph-releases/reef/ubi9-redhat/daemon-base/content_sets.yml new file mode 100644 index 000000000..07db8b015 --- /dev/null +++ b/ceph-releases/reef/ubi9-redhat/daemon-base/content_sets.yml @@ -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 diff --git a/ceph-releases/reef/ubi9-redhat/daemon-base/gating.yaml b/ceph-releases/reef/ubi9-redhat/daemon-base/gating.yaml new file mode 100644 index 000000000..10cb4b342 --- /dev/null +++ b/ceph-releases/reef/ubi9-redhat/daemon-base/gating.yaml @@ -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} diff --git a/ceph-releases/reef/ubi9-redhat/daemon/__DOCKERFILE_INSTALL__ b/ceph-releases/reef/ubi9-redhat/daemon/__DOCKERFILE_INSTALL__ new file mode 100644 index 000000000..e69de29bb diff --git a/ceph-releases/reef/ubi9-redhat/daemon/__DOCKERFILE_PREINSTALL__ b/ceph-releases/reef/ubi9-redhat/daemon/__DOCKERFILE_PREINSTALL__ new file mode 100644 index 000000000..e69de29bb diff --git a/ceph-releases/reef/ubi9-redhat/daemon/__DOCKERFILE_VERIFY_PACKAGES__ b/ceph-releases/reef/ubi9-redhat/daemon/__DOCKERFILE_VERIFY_PACKAGES__ new file mode 100644 index 000000000..d35355ee0 --- /dev/null +++ b/ceph-releases/reef/ubi9-redhat/daemon/__DOCKERFILE_VERIFY_PACKAGES__ @@ -0,0 +1 @@ +rpm -q __DAEMON_PACKAGES__