Giter Club home page Giter Club logo

ci-status's People

Contributors

david972 avatar dependabot[bot] avatar

Watchers

 avatar  avatar

ci-status's Issues

issue : unmarshal wrong payload

when you do

curl -d '{"payload": {"object":{"kind":"pipelinerun","namespaced_name":{"Namespace":"p6e-cx-1905000759","Name":"pipeline-run-1905000759-1"}},"project_id":1905000759,"pipeline_id":1,"repo_url":"https://github.com/w6d-test-play/test-codecov-sonarqube-js-ok","ref":{"sha":"7753f62d333ee7a0f8322e3751e4736c2a45784b","ref":"main","message":"JCR - Test Ante MEP"},"stack":{"language":"nodejs","package":"npm"},"status":"Creating"}}' -X POST http://localhost:7000/watch/play
Handling connection for 7000
{"message":"scan launched","status":"ok"}

you get this in the log for the payload

2021-08-09T18:17:47.387Z	DEBUG	watch.Play	/workspace/vendor/github.com/gin-gonic/gin/context.go:165	received	{"payload": {"object":{"kind":"pipelinerun","namespaced_name":{"Namespace":"p6e-cx-1334159966","Name":"pipeline-run-1334159966-1"}},"project_id":1334159966,"pipeline_id":1,"repo_url":"https://github.com/w6d-test-play/test-codecov-sonarqube-python-ok","ref":{"sha":"c772b7cc38a2b9319b94ca62f4429394528bc049","ref":"main","message":"JCR - Test Ante MEP"},"stack":{"language":"python","package":"pip"},"status":"Creating"}}

add human step name

Some embedded step generate kubernetes name approche
In this feature the gaol is to let the real name in the payload and add a new field more human readable

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.