Closed PiyushRaj927 closed 8 months ago
Fixes #119
Can you detail this more, add examples?
Instead of making it dev-pg15, how about we have something like last commit id because the image will get lost out on a new commit?
Also, can we create a doc which explains how the workflow works in detail so that a someone exploring repository for first time also have a clear understanding how images get built.
- Automatically sets PRE_RELEASE based on the current tag at the HEADof the git tree.
Can you detail this more, add examples?
I have updated the description to be more clear and added an example
- If no tag is present, it's set as dev-pg15.
Instead of making it dev-pg15, how about we have something like last commit id because the image will get lost out on a new commit?
sure, Makefile are updated to tag the images as per the format dev-<HEAD SHA>-pg<version>
- Documentations on Workflows
Also, can we create a doc which explains how the workflow works in detail so that a someone exploring repository for first time also have a clear understanding how images get built.
I don't believe it's necessary to detail the specifics of the workflow since they're quite straightforward, and the image building and publishing logic is abstracted in Makefiles. Can you point out what parts of our current workflow setup that might pose challenges or appear opaque to newcomers? I'll try to make them clearer in the document.
Changes
Pinned TimescaleDB version to
2.13.0
.Introduced
PRE_RELEASE
:PRE_RELEASE
is determined based on the current tag at theHEAD
of the git tree. For instance, if the tag atHEAD
is2.0-alpha
, thelatest-pg15
image tag won't be pushed to the image registry.Updated Docker tag format:
2.0.0
is present atHEAD
, the format is2.0.0-pg15
.dev-pg15
.Changelog Management:
CHANGELOG.md
to track major changes.Updated release workflow:
ts_version
is empty.Test
Tested workflow on my fork: https://github.com/PiyushRaj927/WarpSQL/actions/runs/7450274263 Docker images at https://hub.docker.com/u/d3bug77.