Skip to content

Commit 53612a3

Browse files
1 parent e0f99b8 commit 53612a3

File tree

1 file changed

+23
-12
lines changed

1 file changed

+23
-12
lines changed

release_playbook.html

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ <h2 id="prior-to-release">Prior to release</h2>
177177
<li>Create a local Drake branch named <code class="language-plaintext highlighter-rouge">release_notes-v1.N.0</code> (so that others
178178
can easily find and push to it after the PR is opened).</li>
179179
<li>As the first commit on the branch, mimic the commit
180-
<a href="https://github.com/RobotLocomotion/drake/commit/65adb4dd1f89835ad482d6a9a437cb899c05b779"><code class="language-plaintext highlighter-rouge">drake@65adb4dd</code></a>
180+
<a href="https://github.com/RobotLocomotion/drake/commit/cb6f616ced5496ea7863db46d86551930c9d61f7"><code class="language-plaintext highlighter-rouge">drake@cb6f616ced</code></a>
181181
in order to disable CI. A quick way to do this might be:
182-
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git fetch upstream 65adb4dd1f89835ad482d6a9a437cb899c05b779
182+
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git fetch upstream cb6f616ced5496ea7863db46d86551930c9d61f7
183183
git cherry-pick FETCH_HEAD
184184
</code></pre></div> </div>
185185
</li>
@@ -321,7 +321,7 @@ <h2 id="cutting-the-release">Cutting the release</h2>
321321
<li>In the upper right, click “log in” (unless you’re already logged in). This
322322
will use your GitHub credentials.</li>
323323
<li>Click “Build with Parameters”.</li>
324-
<li>Change “sha1” (not “ci_sha1”) to the full <strong>git sha</strong> corresponding to
324+
<li>Change “sha1” (not “ci_sha1”) to the full <strong>git sha</strong> corresponding to
325325
<code class="language-plaintext highlighter-rouge">v1.N.0</code> and “release_version” to <code class="language-plaintext highlighter-rouge">1.N.0</code> (no “v”).
326326
<ul>
327327
<li>If you mistakenly provide the “v” in “release_version”, your build will
@@ -461,7 +461,7 @@ <h2 id="post-release-tutorials-updates">Post-release tutorials updates</h2>
461461
disruptive changes).</li>
462462
<li>Open the tutorials <a href="https://deepnote.com/workspace/Drake-0b3b2c53-a7ad-441b-80f8-bf8350752305/project/Tutorials-2b4fc509-aef2-417d-a40d-6071dfed9199/Dockerfile">Dockerfile</a>:
463463
<ol>
464-
<li>Edit the first line to refer to the YYYYMMDD for this release (login
464+
<li>Edit the first line to refer to the YYYYMMDD for this release (login
465465
with your github account; otherwise, the file is read-only).
466466
<ol>
467467
<li>For reference, the typical content is thus:
@@ -495,19 +495,30 @@ <h2 id="post-release-tutorials-updates">Post-release tutorials updates</h2>
495495
# We need to repeat drake's wheel dependencies here so that they end up in
496496
# Deepnote's venv. Deepnote no longer sees the Ubuntu packages in /usr/lib.
497497
matplotlib==3.5.1
498-
numpy==1.21.5
498+
numpy==1.23
499499
pydot==1.4.2
500500
PyYAML==5.3.1
501501
</code></pre></div> </div>
502502
</li>
503-
<li>For reference (no action required), the initialization notebook at
504-
<a href="https://deepnote.com/workspace/Drake-0b3b2c53-a7ad-441b-80f8-bf8350752305/project/Tutorials-2b4fc509-aef2-417d-a40d-6071dfed9199/notebook/Init%20notebook-5fcfe3fc0bd0403899baab3b6cf37a18">init.ipynb</a>
505-
has this cell added the bottom, as a Drake-specific customization:
506-
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>%%bash
503+
<li>Check the initialization notebook at
504+
<a href="https://deepnote.com/workspace/Drake-0b3b2c53-a7ad-441b-80f8-bf8350752305/project/Tutorials-2b4fc509-aef2-417d-a40d-6071dfed9199/notebook/Init%20notebook-5fcfe3fc0bd0403899baab3b6cf37a18">init.ipynb</a>.
505+
<ol>
506+
<li>It has these cells added at the bottom, as a Drake-specific customization:
507+
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>import subprocess
508+
import sys
509+
subprocess.check_call([sys.executable, "-m", "pip", "check"], cwd="/work")
510+
</code></pre></div> </div>
511+
512+
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>%%bash
507513
/opt/drake/share/drake/setup/deepnote/install_nginx
508-
</code></pre></div> </div>
509-
<p>For Jammy we also needed to add <code class="language-plaintext highlighter-rouge">cd /work</code> atop the stanza that checks for
510-
<code class="language-plaintext highlighter-rouge">requirements.txt</code> to get it working again.</p>
514+
</code></pre></div> </div>
515+
<p>For Jammy we also needed to add <code class="language-plaintext highlighter-rouge">cd /work</code> atop the stanza that checks
516+
for <code class="language-plaintext highlighter-rouge">requirements.txt</code> to get it working again.</p>
517+
</li>
518+
<li>Confirm that all cells executed successfully. If the “pip check” cell
519+
reports dependency errors, then ask for help on slack in the
520+
<code class="language-plaintext highlighter-rouge">#releases</code> channel.</li>
521+
</ol>
511522
</li>
512523
<li>Copy the updated tutorials from the pinned Dockerfile release
513524
(in <code class="language-plaintext highlighter-rouge">/opt/drake/share/drake/tutorials/...</code>) into the Deepnote project

0 commit comments

Comments
 (0)