You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document that container images are not built by the ceph-build job,
but must be done manually after the package signing and upload
to download.ceph.com.
Signed-off-by: Dan Mick <[email protected]>
Signed-off-by: Zac Dover <[email protected]>
Copy file name to clipboardExpand all lines: doc/dev/release-process.rst
+72-32Lines changed: 72 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,14 +131,14 @@ Packages take hours to build. Use those hours to create the Release Notes and An
131
131
132
132
See `the Ceph Tracker wiki page that explains how to write the release notes <https://tracker.ceph.com/projects/ceph-releases/wiki/HOWTO_write_the_release_notes>`_.
133
133
134
+
.. _Signing and Publishing the Build:
135
+
134
136
4. Signing and Publishing the Build
135
137
===================================
136
138
137
139
#. Obtain the sha1 of the version commit from the `build job <https://jenkins.ceph.com/view/all/job/ceph>`_ or the ``sha1`` file created by the `ceph-setup <https://jenkins.ceph.com/job/ceph-setup/>`_ job.
138
140
139
-
#. Download the packages from chacra.ceph.com to the signing virtual machine. These packages get downloaded to ``/opt/repos`` where the `Sepia Lab Long Running (Ceph) Cluster <https://wiki.sepia.ceph.com/doku.php?id=services:longrunningcluster>`_ is mounted. Note: this step will also run a command to transfer the
140
-
source tarballs from chacra.ceph.com to download.ceph.com directly, by
141
-
ssh'ing to download.ceph.com and running /home/signer/bin/get-tarballs.sh.
141
+
#. Download the packages from chacra.ceph.com to the signing virtual machine. These packages get downloaded to ``/opt/repos`` where the `Sepia Lab Long Running (Ceph) Cluster <https://wiki.sepia.ceph.com/doku.php?id=services:longrunningcluster>`_ is mounted. Note: this step will also run a command to transfer the source tarballs from chacra.ceph.com to download.ceph.com directly, by ssh'ing to download.ceph.com and running /home/signer/bin/get-tarballs.sh.
142
142
143
143
.. prompt:: bash $
144
144
@@ -206,7 +206,7 @@ ssh'ing to download.ceph.com and running /home/signer/bin/get-tarballs.sh.
206
206
207
207
etc...
208
208
209
-
5. Publish the packages to download.ceph.com:
209
+
#. Publish the packages to download.ceph.com:
210
210
211
211
.. prompt:: bash $
212
212
@@ -223,51 +223,91 @@ mv the directories and the tarballs from the prerelease home
223
223
5. Build Containers
224
224
===================
225
225
226
-
Architecture-specific containers are built during the ceph build and
227
-
pushed to quay.ceph.io/ceph/prerelease-{amd64,arm64}, containing the
228
-
packages built in that ceph build. The prerelease 'fat' container,
229
-
or manifest-list container, that refers to both arch-specific containers,
230
-
is built by hand using the command "make-manifest-list.py" in
231
-
ceph.git:src/container/make-manifest-list.py. Note that you must
232
-
be logged into the appropriate container repos for any of these
233
-
manipulations: quay.ceph.io for fetching prerelease arch-specific
234
-
containers and pushing the prerelease manifest-list container, and
235
-
quay.io for promoting the prerelease containers to released containers.
226
+
Unlike CI builds, which have access to packages in the correct form for
227
+
the container, release builds do not, because the build does not
228
+
sign the packages. Thus, release builds do not build the containers.
229
+
This must be done after :ref:`Signing and Publishing the Build`.
230
+
231
+
Architecture-specific containers are built first, and pushed to
232
+
quay.ceph.io/ceph/prerelease-{amd64,arm64}. Note: this must be done on
233
+
both architectures.
234
+
235
+
#. Use a host with a relatively-recent version of podman and skopeo available.
236
+
CentOS/RHEL/Fedora usually have later versions than Ubuntu, but Ubuntu 22.04
237
+
or later are probably ok.
238
+
239
+
#. Copy and run this shell wrapper for building a container (in container/ is
240
+
assumed below, to invoke ``./build.sh``), replacing the values in ``<>`` as
0 commit comments