]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-tag: Write a sha1 file for later consumption
authorDavid Galloway <david.galloway@ibm.com>
Wed, 20 Aug 2025 21:22:21 +0000 (17:22 -0400)
committerDavid Galloway <david.galloway@ibm.com>
Thu, 21 Aug 2025 20:02:06 +0000 (16:02 -0400)
commitdfc9a721b52f60e1628b118f43386a64979ffbd7
treef3961f629c39d86f71de8d4b495e01625030c52c
parent5ec71ff14e29adbe996e96cffd1d03e2c3bf0579
ceph-tag: Write a sha1 file for later consumption

In a regular build, ceph-dev-pipeline just takes a branch name and makes a source tarball in ceph-source-dist.  ceph-dev-pipeline takes that tarball from the ceph-source-dist job and builds from it so it's able to just get the SHA1 from it.

In a /release/ build, a release branch (e.g., reef-release) is specified and we add an additional version commit on top of it.  So we don't know the SHA1 just based on the branch name.  My solution was to write the version commit's SHA1 to a file and consume it later.

Signed-off-by: David Galloway <david.galloway@ibm.com>
ansible/roles/ceph-release/tasks/create.yml
ansible/roles/ceph-release/tasks/main.yml
ansible/roles/ceph-release/tasks/push.yml
ansible/roles/ceph-release/tasks/write_sha1_file.yml [new file with mode: 0644]
ceph-tag/config/definitions/ceph-tag.yml