stellar / stellar-etl

Stellar ETL will enable real-time analytics on the Stellar network
Apache License 2.0
31 stars 12 forks source link

Use a fix length of sha for docker tags #277

Closed amishas157 closed 1 month ago

amishas157 commented 1 month ago
PR Checklist ### PR Structure - [ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs). - [ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs otherwise). - [ ] This PR's title starts with the jira ticket associated with the PR. ### Thoroughness - [ ] This PR adds tests for the most critical parts of the new functionality or fixes. - [ ] I've updated the README with the added features, breaking changes, new instructions on how to use the repository. I updated the description of the fuction with the changes that were made. ### Release planning - [ ] I've decided if this PR requires a new major/minor/patch version accordingly to [semver](https://semver.org/), and I've changed the name of the BRANCH to release/_ , feature/_ or patch/\* .

What

Use a fix length of sha to be used as docker image tag

Why

git rev-parse --short HEAD can give arbitrary length of sha depending on uniqueness of commits in repo. To keep a consistent tagging pattern, we are defaulting to 9

Known limitations

NA