|
| 1 | +# Publish a stemcell |
| 2 | + |
| 3 | +## Verify stemcell builds |
| 4 | + |
| 5 | +Whenever a USN (Ubuntu Security Notice) is published, a ticket is automatically |
| 6 | +created in the community-stemcell board |
| 7 | +(https://github.com/orgs/cloudfoundry/projects/4). |
| 8 | +There would also be a notification in the #bosh-private channel of the |
| 9 | +Cloud Foundry slack. |
| 10 | + |
| 11 | +A USN triggers the stemcell build pipeline, when everything is successfully |
| 12 | +built, we can publish the new candidate stemcell version. |
| 13 | +Please check the latest build of the aggregate-candidate-stemcells job of the |
| 14 | +stemcell line you need to release (aggregate-candidate-stemcells), |
| 15 | +you should see a successful build which was triggered by the USN notice. |
| 16 | +Then, in the stemcells-publisher pipeline, check if google and aws light |
| 17 | +stemcells were successfully built as a result of the USN. |
| 18 | + |
| 19 | +## Publish stemcells |
| 20 | + |
| 21 | +In order to publish new stemcells, trigger a build of the |
| 22 | +`publish-ubuntu-${short_name}-1` job: |
| 23 | +- https://bosh.ci.cloudfoundry.org/teams/stemcell/pipelines/ubuntu-jammy-publisher/jobs/publish-ubuntu-jammy-1 |
| 24 | +- https://bosh.ci.cloudfoundry.org/teams/stemcell/pipelines/ubuntu-noble-publisher/jobs/publish-ubuntu-noble-1 |
| 25 | + |
| 26 | +This job will take around 1h to run. When this job is finished, new stemcell |
| 27 | +versions will be available on bosh.io and a GitHub draft release will have been |
| 28 | +created at |
| 29 | +- https://github.com/cloudfoundry/bosh-linux-stemcell-builder/releases. |
| 30 | + |
| 31 | +Check to see if the draft release has the correct USNs and CVEs, add any extra |
| 32 | +information (see below) to the release notes, and publish the GitHub release. |
| 33 | + |
| 34 | +Then [Finalize the draft release on GitHub](https://github.com/cloudfoundry/bosh-linux-stemcell-builder/releases) |
| 35 | +- Select the appropriate `Previous Tag` and click "Generate release notes" - |
| 36 | + - Do NOT leave it set to `Auto` as that will result in incorrect release notes. |
| 37 | +- Scroll to the bottom; cut-and-paste the "What's Changed" section and paste it |
| 38 | + at the top |
| 39 | +- Check the items for correctness; they may have already been published in a |
| 40 | + previous release. Branch merges can confuse GitHub's auto-generated notes. |
| 41 | +- Reword the bullet items to convey what was fixed: |
| 42 | + |
| 43 | +| old (bad) | new (good) | |
| 44 | +|----------------------------------------------|-----------------------------------------------------------------------------------------------------------------------| |
| 45 | +| 🐞 Fix “Cannot connect to the monit daemon.” | Fixed issue with BOSH service-broker tasks failing under heavy usage with error "Cannot connect to the monit daemon." | |
| 46 | +| Installing ethtool in Jammy by @<someone> in | Stemcells now include the networking utility, ethtool, useful for troubleshooting & resolving networking issues. | |
0 commit comments