Spoiler
This talk
- Uses fancy words
- Is opinionated
- Includes a live demo
You need a basic understanding of
- Git
- Containers
- Build pipelines
- (my) Humour
Versioning
MAJOR.MINOR.PATCH
- Describes public API
- Incremented manually
- Relatively static
BUILD METADATA
- Links artifacts to commits
- Determined by the system
- Changes all the time
Semantic Versioning 2.0.0 - https://semver.org
Why link artifacts to commits?
commit ⇄ artifacts
For traceability
- commit ⇇ artifacts
- 💤 Boring 💤
Keep track of all moving parts
- commit ⇉ artifacts
- Only build what changed
- 🎈 Fun! 🎈
Multiple moving parts
Git history
Git history
Git history
Let’s do IT!
- Where to store it
- How to manipulate it
1. Where?
- In Git
- …but not in commits
- Git tags?
- Git notes!
Git notes
Supplement a commit message without changing the commit itself
git notes add|remove|show|list
- Stored as commits in refs/notes/
2. How?
Gino Keva - A simple Git Notes Key Value store https://github.com/philips-software/gino-keva
- Store key/values in a note
- List key/values for a commit
Demo