Sign inSign up

minzhang/luca

By minzhang

Updated over 8 years ago

a simple web api for version tracking

Image
0

122

minzhang/luca repository overview

Luca version tracker

A simple version tracker tool which uses Python Falcon and Redis to save the version metadata

How to use it
  • run docker-compose up -d
  • issue a POST request to localhost:5000 with the payload
    {
      "project_name": "kafka",
      "project_url": "www.kafka.com",
      "project_env": "stg",
      "version": "0.5",
      "branch": "release",
      "git_hash": "3143214324RDASFEW",
      "user": "minzhang"
    }
    
  • open browser and go to localhost:38080
It's flexible

You can post any JSON to luca-api server, it will automatically render the table on HTML page. In case if you need to sort your columns in the order you want, just add the following section in to the index.html file under /usr/share/nginx/html in the minzhang/luca-web docker, or fork the project form https://github.com/minzhang28/luca-web.


                data:json,
                schema: [
                  {"header":"Project Name", "key":"project_name"},
                  {"header":"Environment", "key":"project_env"},
                  {"header":"Build Branch", "key":"branch"},
                  {"header":"Version", "key":"version"},
                  {"header":"Commit Hash", "key":"git_hash"},
                  {"header":"Commit User", "key":"user"}
                ]

Tag summary

Content type

Image

Digest

Size

67.7 MB

Last updated

over 8 years ago

docker pull minzhang/luca