Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ccmenu/fakeserver

A fake CI server for testing
https://github.com/ccmenu/fakeserver

Last synced: about 2 months ago
JSON representation

A fake CI server for testing

Awesome Lists containing this project

README

        

# fakeserver

A fake CI server for testing CCMenu.

The server is written in Ruby and uses the Sinatra web framework. You can start it with this command

`./fakeserver.sh`

If you want to test https then you can start the server as follows. A self-signed certificate is checked into this repository.

`./fakeserver.sh -- --ssl`

The server provides a CCTray feed at `/cctray.xml` where CCMenu should disover it when you only enter the hostname without a path. The server provides feeds at various other paths to allow manual testing of some special cases. Credentials for HTTP Basic Auth are hard-coded in the `authorized?` method.

The server offers a web-based interface to start and stop builds for the connectfour test project. This interface is served on `/control` but there's a redirect from `/`, too.

By default the feed and the web interface are served at `http://localhost:4567`.