Skip to content

way to integrate runtime validation with travis.ci #527

@liangchenye

Description

@liangchenye

Once #439 been merged, we will have a very flexible way to verify/certify a runtime. I wrote a demo to explain how we can integrate it with travis.ci.
The approach is similar with code coverage which does these:

  1. using prove validate/*.t > output.txt to get a testing report
  2. send the testing report to a server
  3. add the icon to 'README.md' to show the certification result

I wrote a demo project to show how to achieve this:

  1. a ok demo and a fail demo. In the travis, I generate a 'ok.txt' and 'fail.txt'.
  2. In the travis, I upload them to a server -- 'ocihub.org' which I applied.
  3. In README.md, I added two icons, one is 'ok', one is 'fail'.

In the future, 'runc', 'rkt', runv' and other runtime projects could apply this approach. So both the maintainer/user could be easily know a runtime is conformed with oci spec.

The server code is very simple, I reuse isula/ihub framework.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions