This Bump API is aimed at making stateless version numbering available via API endpoint.
794
This Bump API is aimed at making stateless version numbering available via API endpoint.
Bump API is build on top of treeder/bump
Software versioning is the process of assigning either unique version names or unique version numbers to unique states of computer software. Within a given version number category (major, minor and patch), these numbers are generally assigned in increasing order and correspond to new developments in the software.
Semantic versioning (aka SemVer), currently the best known and most widely adopted version scheme in this category, uses a sequence of three digits (Major.Minor.Patch), an optional prerelease tag and optional build meta tag. In this scheme, risk and functionality are the measures of significance.
For further information
As a container:
docker run -d -p 7070:7070 saidsef/bump-api:latest
As a Python application:
pip install -r requirements.txt
PORT=7070 bump-api.py
The quest must be POST method:
curl -XPOST http://localhost:7070/api/v1/version -H 'Content-Type: application/json' @test/bump-api.json
And the response will look like:
{
"new_version": "2.3.1",
}
kubectl apply -k ./deployment
Content type
Image
Digest
sha256:f2a2fcd88…
Size
25.3 MB
Last updated
over 1 year ago
Requires Docker Desktop 4.37.1 or later.