lizheming / drone-coveralls

Drone plugin for pushing test coverage to coveralls
MIT License
3 stars 1 forks source link

How to specify Coveralls endpoint? #1

Closed muttleyxd closed 5 years ago

muttleyxd commented 5 years ago

Is there an option to specify Coveralls endpoint? It would be useful, since I'm using self-hosted alternative which is compatible with Coveralls.

lizheming commented 5 years ago

We used node-coveralls before, and it written entrypoint in the code we can't config it. I find goveralls support it, we'll change to it as soon as possible. please wait a second.

lizheming commented 5 years ago

Oops, I misunderstand node-coveralls, It has been supported endpoint configure. Just set environment variable COVERALLS_ENDPOINT with your self hosted address.

- name: coveralls
  image: lizheming/drone-coveralls
  environment:
    COVERALLS_ENDPOINT: http://self-hosted.coveralls.io
    COVERALLS_REPO_TOKEN:
      from_secret: coveralls_token
lizheming commented 5 years ago

ping @muttleyxd

muttleyxd commented 5 years ago

Oops, sorry for late response. This is what I was looking for, thank you! 😀