@@ -96,9 +96,9 @@ We'll use a stable/regular 15.2.17 release of Octopus as an example throughout t
96962. Log in with GitHub OAuth
97973. Set the parameters as necessary::
9898
99- BRANCH=octopus
99+ BRANCH=squid
100100 TAG=checked
101- VERSION=15 .2.17
101+ VERSION=19 .2.2
102102 RELEASE_TYPE=STABLE
103103 ARCHS=x86_64 arm64
104104
@@ -147,42 +147,44 @@ See `the Ceph Tracker wiki page that explains how to write the release notes <ht
147147
148148 Example::
149149
150- $ sync-pull ceph octopus 8a82819d84cf884bd39c17e3236e0632ac146dc4
151- sync for: ceph octopus
150+ $ sync-pull ceph squid 0eceb0defba60152a8182f7bd87d164b639885b8
151+ sync for: ceph squid
152152 ********************************************
153- Found the most packages (332) in ubuntu/bionic.
154- No JSON object could be decoded
155- No JSON object could be decoded
156- [email protected] :/opt/repos/ceph/octopus/8a82819d84cf884bd39c17e3236e0632ac146dc4/ubuntu/bionic/flavors/default/* /opt/repos/ceph/octopus-15.2.17/debian/jessie/ 157- --------------------------------------------
158- receiving incremental file list
159- db/
160- db/checksums.db
161- 180.22K 100% 2.23MB/s 0:00:00 (xfr#1, to-chk=463/467)
162- db/contents.cache.db
163- 507.90K 100% 1.95MB/s 0:00:00 (xfr#2, to-chk=462/467)
164- db/packages.db
153+ + : 0eceb0defba60152a8182f7bd87d164b639885b8
154+ + project=ceph
155+ + release=squid
156+ + sha1=0eceb0defba60152a8182f7bd87d164b639885b8
157+ + echo 'sync for: ceph squid'
158+ sync for: ceph squid
159+ + echo '********************************************'
160+ ********************************************
161+ + [[ ceph == \c\e\p\h ]]
162+ + current_highest_count=0
163+ + for combo in debian/bookworm debian/bullseye ubuntu/bionic ubuntu/focal ubuntu/jammy
164+ ++ wc -l
165+ ++ curl -fs https://chacra.ceph.com/r/ceph/squid/0eceb0defba60152a8182f7bd87d164b639885b8/debian/bookworm/flavors/default/pool/main/c/ceph/
166+ + combo_count=161
167+ + [[ 0 -eq 22 ]]
168+ + '[' 161 -gt 0 ']'
169+ + current_highest_count=161
170+ + highest_combo=debian/bookworm
165171
166172 etc...
167173
168174#. Sign the DEBs:
169175
170176 .. prompt :: bash
171177
172- merfi gpg /opt/repos/ceph/octopus-15 .2.17 /debian
178+ merfi gpg /opt/repos/ceph/squid-19 .2.2 /debian/
173179
174180 Example::
175181
176- $ merfi gpg /opt/repos/ceph/octopus-15.2.17/debian
177182 --> Starting path collection, looking for files to sign
178- --> 18 matching paths found
179- --> will sign with the following commands:
180- --> gpg --batch --yes --armor --detach-sig --output Release.gpg Release
181- --> gpg --batch --yes --clearsign --output InRelease Release
182- --> signing: /opt/repos/ceph/octopus-15.2.17/debian/jessie/dists/bionic/Release
183+ --> 1 repos found
184+ --> signing: /opt/repos/ceph/squid-19.2.2/debian/jessie/dists/bookworm/Release
183185 --> Running command: gpg --batch --yes --armor --detach-sig --output Release.gpg Release
184186 --> Running command: gpg --batch --yes --clearsign --output InRelease Release
185- --> signing: /opt/repos/ceph/octopus-15 .2.17 /debian/jessie/dists/focal /Release
187+ --> signing: /opt/repos/ceph/squid-19 .2.2 /debian/jessie/dists/jammy /Release
186188 --> Running command: gpg --batch --yes --armor --detach-sig --output Release.gpg Release
187189 --> Running command: gpg --batch --yes --clearsign --output InRelease Release
188190
@@ -192,25 +194,43 @@ See `the Ceph Tracker wiki page that explains how to write the release notes <ht
192194
193195 .. prompt :: bash
194196
195- sign-rpms ceph octopus
197+ sign-rpms ceph squid
196198
197199 Example::
198200
199- $ sign-rpms ceph octopus
200- Checking packages in: /opt/repos/ceph/octopus-15.2.17/centos/7
201- signing: /opt/repos/ceph/octopus-15.2.17/centos/7/SRPMS/ceph-release-1-1.el7.src.rpm
202- /opt/repos/ceph/octopus-15.2.17/centos/7/SRPMS/ceph-release-1-1.el7.src.rpm:
203- signing: /opt/repos/ceph/octopus-15.2.17/centos/7/SRPMS/ceph-15.2.17-0.el7.src.rpm
204- /opt/repos/ceph/octopus-15.2.17/centos/7/SRPMS/ceph-15.2.17-0.el7.src.rpm:
205- signing: /opt/repos/ceph/octopus-15.2.17/centos/7/noarch/ceph-mgr-modules-core-15.2.17-0.el7.noarch.rpm
201+ $ sign-rpms ceph squid
202+
203+ + [[ 2 -lt 1 ]]
204+ + project=ceph
205+ + shift
206+ + '[' 1 -eq 0 ']'
207+ + releases=("$@")
208+ + distros=(centos rhel)
209+ + distro_versions=(7 8 9)
210+ + read -s -p 'Key Passphrase: ' GPG_PASSPHRASE
211+ Key Passphrase: + echo
212+
213+ + for release in "${releases[@]}"
214+ + for distro in "${distros[@]}"
215+ + for distro_version in "${distro_versions[@]}"
216+ + for path in /opt/repos/$project/$release*
217+ + '[' -d /opt/repos/ceph/squid-19.1.0/centos/7 ']'
218+ ...
219+ + echo 'Checking packages in: /opt/repos/ceph/squid-19.1.0/centos/9'
220+ Checking packages in: /opt/repos/ceph/squid-19.1.0/centos/9
221+ + update_repo=0
222+ + cd /opt/repos/ceph/squid-19.1.0/centos/9
223+ ++ find -name '*.rpm'
224+ + for rpm in `find -name "*.rpm"`
225+ ++ grep '^Signature'
206226
207227 etc...
208228
209229#. Publish the packages to download.ceph.com:
210230
211231 .. prompt :: bash $
212232
213- sync-push ceph octopus
233+ sync-push ceph squid-19.2.2 2
214234
215235This leaves the packages, and the tarball, in a password-protected
216236prerelease area at https://download.ceph.com/prerelease/ceph. Verify them
@@ -230,8 +250,9 @@ This must be done after :ref:`Signing and Publishing the Build`.
230250
231251A Jenkins job named ``ceph-release-containers `` exists so that we can test the
232252images before release. The job exists both for convenience and because it
233- requires access to both x86_64 and arm64 builders. Start the job manually on
234- the Jenkins server. This job:
253+ requires access to both x86_64 and arm64 builders. Start the job as Build with Parameters on
254+ the Jenkins server, set ``BRANCH ``, ``SHA1 `` and ``VERSION `` fields and leave other fields as defaults.
255+ This job:
235256
236257* builds the architecture-specific container imagess and pushes them to
237258 ``quay.ceph.io/ceph/prerelease-amd64 `` and
@@ -244,7 +265,7 @@ Finally, when all appropriate testing and verification is done on the
244265container images, run ``make-manifest-list.py --promote `` from the Ceph
245266source tree (at ``container/make-manifest-list.py ``) to promote them to
246267their final release location on ``quay.io/ceph/ceph `` (you must ensure
247- that you're logged into ``quay.io/ceph `` with appropriate permissions):
268+ that you're logged into ``quay.io/ceph `` and `` quay.ceph.io/ceph `` with appropriate permissions):
248269
249270 .. prompt :: bash
250271
0 commit comments