Skip to content

Commit 91d4fba

Browse files
committed
test docker images after the release
1 parent 1f32ad1 commit 91d4fba

1 file changed

Lines changed: 21 additions & 17 deletions

File tree

doc/sphinx-guides/source/developers/making-releases.rst

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -320,23 +320,6 @@ At this point you can send around the draft release for any final feedback. Link
320320

321321
Make corrections to the draft, if necessary. It will be out of sync with the .md file, but that's ok (`#7988 <https://github.com/IQSS/dataverse/issues/7988>`_ is tracking this).
322322

323-
Test Docker Images
324-
------------------
325-
326-
Go to https://hub.docker.com/u/gdcc and navigate to "gdcc/dataverse". Click on "tags" and check if the "latest" tag has been updated. If not, give the GitHub Actions workflow more time to complete. It should have been trigged above when we merged "develop" into "master".
327-
328-
After the "latest" tag has been updated. Spin up the "latest" tag locally:
329-
330-
.. code-block:: bash
331-
332-
docker rmi gdcc/dataverse:latest
333-
docker rmi gdcc/configbaker:latest
334-
cd docker/compose/demo
335-
rm -rf data
336-
docker compose up
337-
338-
Wait for the bootstrapping process to complete. Then, make sure the version returned by http://localhost:8080/api/info/version matches the version you are releasing.
339-
340323
Publish the Release
341324
-------------------
342325

@@ -356,6 +339,27 @@ ssh into the guides server and update the symlink to point to the latest release
356339
357340
This step could be done before publishing the release if you'd like to double check that links in the release notes work.
358341

342+
Test Docker Images
343+
------------------
344+
345+
Publishing the release should have trigged the "Container Images Scheduled Maintenance" GitHub Action. Allow it to finish and then go to https://hub.docker.com/u/gdcc and navigate to "gdcc/dataverse".
346+
347+
Click on "tags", make sure the "latest" tag has been updated.
348+
349+
If the "latest" tag wasn't updated, you might need to manually run the GitHub Action again.
350+
351+
Delete old images and spin up the "latest" tag.
352+
353+
.. code-block:: bash
354+
355+
docker rmi gdcc/dataverse:latest
356+
docker rmi gdcc/configbaker:latest
357+
cd docker/compose/demo
358+
rm -rf data
359+
docker compose up
360+
361+
Wait for the bootstrapping process to complete. Then, make sure the version returned by http://localhost:8080/api/info/version matches the version you are releasing.
362+
359363
Close Milestone on GitHub and Create a New One
360364
----------------------------------------------
361365

0 commit comments

Comments
 (0)