Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saidsef/bump-api
This Bump API is aimed at making stateless version numbering available via API endpoint
https://github.com/saidsef/bump-api
docker-container docker-image hacktoberfest version-control-system version-tracker versioning versioning-api
Last synced: 3 months ago
JSON representation
This Bump API is aimed at making stateless version numbering available via API endpoint
- Host: GitHub
- URL: https://github.com/saidsef/bump-api
- Owner: saidsef
- License: mit
- Created: 2018-09-29T20:09:50.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-06-19T15:08:23.000Z (8 months ago)
- Last Synced: 2024-06-20T02:22:37.950Z (8 months ago)
- Topics: docker-container, docker-image, hacktoberfest, version-control-system, version-tracker, versioning, versioning-api
- Language: Python
- Homepage:
- Size: 106 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Bump API
This Bump API is aimed at making stateless version numbering available via API endpoint.
Bump API is build on top of [treeder/bump](https://hub.docker.com/r/treeder/bump/)
## Documentation
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](https://en.wikipedia.org/wiki/Software_versioning)
## Deployment
As a container:
```shell
docker run -d -p 7070:7070 docker.io/saidsef/bump-api:latest
```As a Python application:
```shell
pip install -r requirements.txtPORT=7070 bump-api.py
```## The Request
The quest must be POST method:
```shell
curl -XPOST http://localhost:7070/api/v1/version -H 'Content-Type: application/json' @test/bump-api.json
```And the response will look like:
```shell
{
"new_version": "2.3.1",
}
```## Kubernetes Deployment
```shell
kubectl apply -k ./deployment
```## Source
Our latest and greatest source of Jenkins can be found on [GitHub](#deployment). Fork us!
## Contributing
We would :heart: you to contribute by making a [pull request](https://github.com/saidsef/bump-api/pulls).
Please read the official [Contribution Guide](./CONTRIBUTING.md) for more information on how you can contribute.