This repository includes an automated release workflow that builds and publishes BOSH releases when tags are pushed.
The workflow (release.yml) triggers when a tag matching v* is pushed to the repository. It will:
- Extract the version from the git tag (e.g.,
v212.0.0becomes212.0.0) - Set up the BOSH CLI environment
- Create a final BOSH release with the specified version
- Generate a release tarball and SHA256 checksum
- Commit the release files back to the repository
- Create a GitHub release with release notes and artifacts
Configure these repository secrets in GitHub Settings → Secrets and variables → Actions:
AWS_ACCESS_KEY_ID- AWS access key for the S3 blobstoreAWS_SECRET_ACCESS_KEY- AWS secret key for the S3 blobstoreGITHUB_TOKEN- Automatically provided by GitHub Actions
- Update
ci/release_notes.mdwith your release notes - Create and push a version tag:
git tag v212.0.0 git push origin v212.0.0
- The workflow will automatically:
- Build the BOSH release
- Generate the tarball and checksum
- Commit release files to the repository
- Create a GitHub release with proper notes
Each release includes:
logsearch-X.Y.Z.tgz- The BOSH release tarballlogsearch-X.Y.Z.tgz.sha256- SHA256 checksum file- Release notes with YAML deployment stanza
The workflow automatically appends a deployment section to release notes with the proper YAML stanza:
releases:
- name: logsearch
version: X.Y.Z
url: https://github.com/cloudfoundry-community/logsearch-boshrelease/releases/download/vX.Y.Z/logsearch-X.Y.Z.tgz
sha1: sha256:abcd1234...