ging / fiware-draco

The Draco Generic Enabler is an alternative data persistence mechanism for managing the history of context. It is based on Apache NiFi and is a dataflow system based on the concepts of flow-based programming. It supports powerful and scalable directed graphs of data routing, transformation, and system mediation logic and also offers an intuitive graphical interface
https://fiware-draco.readthedocs.io/en/latest/
Apache License 2.0
20 stars 14 forks source link

Add GitHub Actions, tidy markdown #34

Closed jason-fox closed 3 years ago

jason-fox commented 4 years ago

As I'm sure you are aware from the TSC minutes, it appears that Travis is transitioning towards a paid pricing model. It would be opportune for active FOSS Projects to migrate to use the integrated GitHub Actions. It looks like each GitHub account is safe until January, but then travis-ci.org goes read-only then the 100000 credits start counting down. There is no clarity over if/how to obtain more credits, and indeed if they can be obtained in a timely manner.

Background links

https://www.jeffgeerling.com/blog/2020/travis-cis-new-pricing-plan-threw-wrench-my-open-source-works https://www.reddit.com/r/programming/comments/jou1k9/travis_cis_new_pricing_plan_threw_a_wrench_in_my/ https://www.reddit.com/r/haskell/comments/jvbs49/psa_maintainers_should_think_about_migrating_off/ https://www.reddit.com/r/programming/comments/jmwj9m/the_travis_ci_blog_the_new_pricing_model_for/

This PR sets up the equivalent GitHub Action CI to the old Travis . Markdown linting are also working, there is a commented out task to lint the Dockerfile as well.

jason-fox commented 4 years ago

Test run can be seen here: https://github.com/jason-fox/fiware-draco/actions/runs/391648409

I have set up a secret called COVERALLS_TOKEN within my repo.

anmunoz commented 3 years ago

Thanks a lot for your contribution!!!

jason-fox commented 3 years ago

The reason for failure:

Failed to execute goal org.eluder.coveralls:coveralls-maven-plugin:4.3.0:report (default-cli) on project nifi-ngsi-processors: Build error: Either repository token or service with job id must be defined -> [Help 1]

Can be fixed by adding the COVERALLS_TOKEN as a secret within this repo: https://github.com/ging/fiware-draco/settings/secrets/actions

Screenshot 2020-12-04 at 10 15 02

The token can be found on https://coveralls.io/github/ging/fiware-draco next to the badge:

Screenshot 2020-12-04 at 10 17 56